[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-1350) NPE when adding a security constraint to a portal

Julien Viet (JIRA) jira-events at lists.jboss.org
Thu Apr 26 17:16:30 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBPORTAL-1350?page=all ]

Julien Viet resolved JBPORTAL-1350.
-----------------------------------

    Resolution: Cannot Reproduce Bug

> NPE when adding a security constraint to a portal
> -------------------------------------------------
>
>                 Key: JBPORTAL-1350
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1350
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Security
>    Affects Versions: 2.6.Beta1
>            Reporter: Adam Warski
>         Assigned To: Julien Viet
>             Fix For: 2.6.CR2
>
>
> Adding the following security constraint to portal-object.xml, in the "default" portal:
> <security-constraint>
>    <policy-permission>
>       <action-name>view</action-name>
>       <unchecked />
>    </policy-permission>
> </security-constraint>
> causes the following exception, when opening the main portal page:
> 01:14:43,019 ERROR [PortalServlet] Unexpected exception
> java.lang.NullPointerException: 
>         at org.jboss.portal.server.impl.ServerInvocationContextImpl$Buffer.toString(ServerInvocationContextImpl.java:256)
>         at org.jboss.portal.server.impl.ServerInvocationContextImpl.renderURL(ServerInvocationContextImpl.java:202)
>         at org.jboss.portal.server.ServerResponse.renderURL(ServerResponse.java:101)
>         at org.jboss.portal.core.controller.classic.ThrowableResponseHandler.processCommandResponse(ThrowableResponseHandler.java:66)
>         at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:96)
>         at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:70)
>         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:585)
>         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy133.processCommandResponse(Unknown Source)
>         at org.jboss.portal.core.controller.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:69)
>         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:585)
>         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

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

        



More information about the jboss-jira mailing list