Confluence Sonar Plugin gives Internal Server Error when trying to add a gadget to a page

Priti January 29, 2013

While trying to configure a sonar gadget on a page with the following information

Sonar Server: http://sonar.qa.paypal.com/sonar/
Project Key: com.paypal.web:hawk

It fails with "An internal server error occurred when requesting resource https://confluence.paypal.com/cnfl/plugins/servlet/sonar/makeRequest.

An unknown error occured, please consult your administrator for assistance."
and the log has the following information

java.lang.NullPointerException
2013-01-30 16:14:24,231 ERROR [http-8090-57] [[Standalone].[localhost].[/cnfl].[servlet-module-container-servlet]] log Servlet.service() for servlet servlet-module-container-servlet threw exception
java.lang.NullPointerException
2013-01-30 16:14:24,237 INFO [http-8090-57] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : dbb52112-ba3c-45e5-85ec-c184ca7cf156
--------------------------
JVM Stats
--------------------------
allocatedHeap = 6012993536
availablePermGen = 777735712
usedMemory = 3819475176
totalMemory = 6012993536
freeMemory = 2193518360
maxPermGen = 1073741824
usedPermGen = 296006112
freeMemoryInMegabytes = 2091
freeAllocatedHeap = 2193518360
availableHeap = 2193518360
usedMemoryInMegabytes = 3642
maxHeap = 6012993536
usedHeap = 3819475176
totalMemoryInMegabytes = 5734
--------------------------
Request Information
--------------------------
URL: http://confluence.paypal.com/cnfl/500page.jsp
Scheme:
http
Server: confluence.paypal.com
Port: 80
URI: /cnfl/500page.jsp
Context Path: /cnfl
Servlet Path: /500page.jsp
Path Info: null
Query String: url=http%3A%2F%2Fsonar.qa.paypal.com%2Fapi%2Fresources%3Fformat%3Djson&type=json
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /cnfl/plugins/servlet/sonar/makeRequest
javax.servlet.forward.context_path: /cnfl
javax.servlet.forward.servlet_path: /plugins/servlet
javax.servlet.forward.path_info: /500page.jsp
javax.servlet.forward.query_string: url=http%3A%2F%2Fsonar.qa.paypal.com%2Fapi%2Fresources%3Fformat%3Djson&type=json
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.confluence.security.websudo.MessagesDecoratorFilter__already_filtered__: true
atlassian.core.seraph.original.url: /plugins/servlet/sonar/makeRequest?url=http%3A%2F%2Fsonar.qa.paypal.com%2Fapi%2Fresources%3Fformat%3Djson&type=json
javax.servlet.error.status_code: 500
javax.servlet.error.servlet_name: servlet-module-container-servlet
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
loginfilter.already.filtered: true
com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true
Confluence-Request-Time: 1359562464151
javax.servlet.error.message:
com.opensymphony.sitemesh.APPLIED_ONCE: true
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
__cleanup_recursion_counter: 0
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
javax.servlet.error.exception: java.lang.NullPointerException
javax.servlet.error.request_uri: /cnfl/plugins/servlet/sonar/makeRequest
--------------------------
Parameters
--------------------------
type : json
url : http://sonar.qa.paypal.com/api/resources?format=json
caused
by: java.lang.NullPointerException
at Unknown location

2 answers

0 votes
Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 17, 2013

Hi Priti,

I'l have the successor of this plugin ready in about 2 weeks. And will allow you to view any widget or dashboard in confluence next to a uber gadget that can display any widget.

Cheers, Mark
Founder @ Marvelution

Susanne Harelius [Riada]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2014

Mark, when will this be out do you know?

Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 12, 2014

Hi Susanne,

I got stuck a work and had to stop development for some time.
But time in on my side again and the successor should be out in the first weeks of februari.

Cheers, Mark

Susanne Harelius [Riada]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2014

Great news. Thanks! Will it be a paid plugin or for free? I have a customer that is wondering :)

Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 12, 2014

Hi Susanne,

The plugin will remain free. I just dont have the time toi support a pained version.

Cheers, Mark

0 votes
AhmadDanial
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 7, 2013

Hey there, Priti.

I noticed that it has been a while since you received any response here. Therefore, I would recommend you to contact the plugin vendor to get your query answered.

Hope this helps and good luck.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events