Thursday, 1 September 2011

Browse » Home » » » » JIRA Throws IllegalArgumentException when using Activity Stream Gadget

JIRA Throws IllegalArgumentException when using Activity Stream Gadget

Symptoms

When viewing the activity stream gadget in a source outside JIRA (such as FishEye), JIRA logs the following exception:
2010-03-22 11:27:56,345 http-8180-Processor21 ERROR whitmore 41276x216x1 ntz3oe /plugins/servlet/streams [atlassian.streams.servlet.StreamsActivityServlet] Error getting activity
java.lang.IllegalArgumentException: The Project argument and its backing generic value must not be null
at com.atlassian.jira.security.AbstractPermissionManager.hasPermission(AbstractPermissionManager.java:171)
at com.atlassian.jira.security.AbstractPermissionManager.hasPermission(AbstractPermissionManager.java:159)
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:70)
at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28)
at $Proxy40.hasPermission(Unknown Source)
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)

Cause

Apache Web Proxy is interfering with the project name when configured incorrectly.

Workaround

Remove the Apache Proxy between FishEye (or the product housing the JIRA activity stream) and JIRA.

Resolution

Atlassian is still investigating the exact configuration that's responsible for this problem. Please comment on this article if you discover any specifics.

Advertisement:

No comments:

Post a Comment

Note: only a member of this blog may post a comment.