2 Replies Latest reply on Mar 20, 2006 12:35 AM by Pravin Surawar

    Error while accessing Jportal server page

    Pravin Surawar Newbie

      I have installed Jportal Server 2.2.0 on Jboss AS 4.0.3 . But while accesing page http://localhost:8080/portal I am getting following error( details given below). Can any body help me to slove this problem ?.

      ***************************************************
      HTTP Status 500 -
      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      java.lang.NullPointerException
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:129)
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:147)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
      org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
      org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
      org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
      $Proxy53.getContext(Unknown Source)
      org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      $Proxy57.doMapping(Unknown Source)
      org.jboss.portal.core.CoreController.handle(CoreController.java:176)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      $Proxy108.handle(Unknown Source)
      org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:74)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.


      ***************************************************

      Waiting for solution,
      Pravin..//

        • 1. Re: Error while accessing Jportal server page
          Pravin Surawar Newbie


          Forgot to mention:

          MySQL database server version: 4.0.21-debug
          Java version 1.5.0_06
          JBoss AS 4.0.3SP1
          JBoss Portal 2.2
          on WINDOWS 2003 Server

          Please help!


          Pravin..//

          • 2. Re: Error while accessing Jportal server page
            Pravin Surawar Newbie

            Dear Friends,
            The actual error log from server.log is as follows.

            ******************************************
            2006-03-20 10:25:27,531 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.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:129)
            at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:147)
            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.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
            at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
            at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
            at $Proxy53.getContext(Unknown Source)
            at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73)
            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: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 $Proxy57.doMapping(Unknown Source)
            at org.jboss.portal.core.CoreController.handle(CoreController.java:176)
            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: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 $Proxy108.handle(Unknown Source)
            at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
            at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:74)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
            at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
            at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
            at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
            at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
            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)
            ******************************************

            Please help me..

            Pravin..//