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

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

This widget could not be displayed.
Ahmad Danial Atlassian Team Oct 07, 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.

This widget could not be displayed.

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

Mark, when will this be out do you know?

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

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

Hi Susanne,

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

Cheers, Mark

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

536 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you