[
https://jira.jboss.org/jira/browse/JBPORTAL-2178?page=com.atlassian.jira....
]
Deepak Bhatia commented on JBPORTAL-2178:
-----------------------------------------
I get a 500 server error "No authenticated user", no exception even when I
access using url /portal/auth/dashboard -
this happens only for the dashboard. if I access the portal page using
/portal/portal/template, I can access the page and it has the credentials.
this is using JBoss Portal 2.6.7, JBoss AS 4.3 EAP
is this a new bug ?
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, 2.7.0 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