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

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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 GHS-2492.






























Last modified on Jan 6, 2025

Was this helpful?

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