I just encountered a quite weird issue:

I've built jboss portal 2.4 from source and deployed it on jboss as 4.0.3SP1 as 
the exploded sar version.

I used Mozilla Firefox to access the CMSAdminPortlet and created a simple html 
file (aFile.html) in the default directory.
When I try to access this file with Firefox via 
http://localhost:8080/portal/content/default/aFile.html the error trace posted 
below shows up.

But when I use Internet Explorer to access the same file, a portal page shows 
up with the contents of aFile.html displayed in a portlet window.

I can modify aFile.html from both IE and Firefox but I can read it only from 
IE. This is pretty surprising to me as I expected the client would have nothing 
to do with this issue.

Maybe Firefox can be configured in a different manner so that the problem does 
not show up an someone can give me a hint?

Here's the error trace when accessing 
http://localhost:8080/portal/content/default/aFile.html with Firefox:

2006-04-11 13:18:51,822 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]]
 Servlet.service() for servlet PortalServletWithPathMapping threw exception
java.lang.NullPointerException
        at 
org.jboss.portal.core.cms.CMSObjectCommandFactory.doMapping(CMSObjectCommandFactory.java:93)
        at 
org.jboss.portal.core.command.mapper.DelegatingCommandFactoryService.doMapping(DelegatingCommandFactoryService.java:138)
        at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
        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:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy47.doMapping(Unknown Source)
        at 
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:65)
        at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
        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:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy53.doMapping(Unknown Source)
        at org.jboss.portal.core.CoreController.handle(CoreController.java:149)
        at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
        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:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
        at $Proxy123.handle(Unknown Source)
        at 
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142)
        at 
org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:199)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.server.aspects.server.ParametersInterceptor.invoke(ParametersInterceptor.java:107)
        at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)
        at 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177)
        at 
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:231)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
        at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)


Kind regards
Andreas

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936558#3936558

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936558


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to