GreenHopper Card Gadget in a Confluence Page Throws 'An internal server error occured when requesting resource'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When trying to add the GreenHopper Card Gadget to a Confluence page, the following error is thrown:

An internal server error occurred when requesting resource [https://localhost/jira/rest/greenhopper/1.0/versionBoard-list/generate?showUnscheduled=true|https://localhost/jira/rest/greenhopper/1.0/versionBoard-list/generate?showUnscheduled=true].

The exception thrown in the atlassian-confluence.log:


Sep 21, 2010 1:49:30 PM com.sun.jersey.server.impl.application.WebApplicationImpl onException
SEVERE: Internal server error
java.lang.NullPointerException
 at com.pyxis.greenhopper.gadget.VersionBoardResource.generate(VersionBoardResource.java:60)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175)
 at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
 at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163)
...

Cause

This is caused by a bug known in GreenHopper 5.2 and 5.2.2. It works fine with GreenHopper 5.0.

Resolution

Upgrade to Green Hopper 5.4, as per GreenHopper Card Gadget in a Confluence Page Throws 'An internal server error occured when requesting resource'.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.