[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2178) NPE when requesting dashboard as unauthenticated user

Martin Putz (JIRA) jira-events at lists.jboss.org
Tue Oct 7 06:20:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBPORTAL-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12432859#action_12432859 ] 

Martin Putz commented on JBPORTAL-2178:
---------------------------------------

Yes, the only way to force the NPE is by manipulating the URL. 

AFAIK, this issue has been discovered during some extensive Portal testing, but it could also happen incidentally.

> NPE when requesting dashboard as unauthenticated user
> -----------------------------------------------------
>
>                 Key: JBPORTAL-2178
>                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2178
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Core
>    Affects Versions: 2.6.6 Final
>            Reporter: Martin Putz
>            Assignee: Thomas Heute
>             Fix For: 2.6.7 Final
>
>
> As a user who is not logged when I type into my browser the url
> <host:port>/portal/dashboard
> or
> <host:port>/portal/dashboard/<something>
> I get a HTTP 500 and a stacktrace with a NullPointerException
> and in the server log the message
> 2008-09-25 17:36:17,048 ERROR [org.jboss.portal.server.servlet.PortalServlet] Unexpected exception
> java.lang.NullPointerException
> at org.jboss.portal.core.model.portal.command.view.ViewContextCommand.execute(ViewContextCommand.java:62)
> at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
> at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
> at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
> at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
> .....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list