0 Replies Latest reply on Sep 22, 2007 7:41 AM by kutti ma

    An error occured while rendering window 'myportal.home.HomeC

    kutti ma Newbie

      Hi,

      Im getting the error in CMS portlet as,
      "
      An error occured while rendering window 'myportal.home.HomeCMSWindow'

      java.lang.NullPointerException "

      Can anyone guide me.

      Here is my stack trace :

      Console Log trace:
      During Server Start:

      15:15:04,435 ERROR [HibernatePersistenceManager] failed to read node state: deadbeef-face-babe-cafe-babecafebabe
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      at java.lang.Integer.parseInt(Integer.java:468)
      at java.lang.Integer.parseInt(Integer.java:497)
      at org.apache.jackrabbit.core.nodetype.NodeDefId.valueOf(NodeDefId.java:99)
      at org.apache.jackrabbit.core.state.util.Serializer.deserialize(Serializer.java:133)
      at org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager.load(HibernatePersistenceManager.java:394)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:857)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:784)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:207)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:86)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:141)
      at org.apache.jackrabbit.core.version.VersionManagerImpl.(VersionManagerImpl.java:160)
      at org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:291)
      at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:234)
      at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:483)
      at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:102)
      at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:200)
      at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:167)
      at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.startSingleton(HAJCRCMS.java:98)
      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 $Proxy31.startSingleton(Unknown Source)
      at org.jboss.portal.jems.ha.HASingletonInvoker.startSingleton(HASingletonInvoker.java:208)
      at org.jboss.ha.singleton.HASingletonSupport.makeThisNodeMaster(HASingletonSupport.java:197)
      at org.jboss.ha.singleton.HASingletonSupport.partitionTopologyChanged(HASingletonSupport.java:133)
      at org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceMBeanSupport.java:247)
      at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.notifyKeyListeners(DistributedReplicantManagerImpl.java:845)
      at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.add(DistributedReplicantManagerImpl.java:408)
      at org.jboss.ha.jmx.HAServiceMBeanSupport.registerDRMListener(HAServiceMBeanSupport.java:255)
      at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:177)
      at org.jboss.portal.jems.ha.HASingletonInvoker.startService(HASingletonInvoker.java:187)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

      15:15:04,438 ERROR [STDERR] javax.jcr.RepositoryException: failed to read node state: deadbeef-face-babe-cafe-babecafebabe: failed to read node state: deadbeef-face-babe-cafe-babecafebabe
      15:15:04,438 ERROR [STDERR] at org.apache.jackrabbit.core.version.VersionManagerImpl.(VersionManagerImpl.java:167)
      15:15:04,439 ERROR [STDERR] at org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:291)
      15:15:04,439 ERROR [STDERR] at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:234)
      15:15:04,439 ERROR [STDERR] at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:483)
      15:15:04,439 ERROR [STDERR] at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:102)
      15:15:04,439 ERROR [STDERR] at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:200)
      15:15:04,439 ERROR [STDERR] at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:167)
      15:15:04,439 ERROR [STDERR] at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.startSingleton(HAJCRCMS.java:98)
      15:15:04,439 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:15:04,439 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:15:04,439 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:15:04,439 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:15:04,439 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      15:15:04,439 ERROR [STDERR] at $Proxy31.startSingleton(Unknown Source)


      During Portal Access:
      15:16:40,047 ERROR [CMSPortlet] The portlet threw an exception
      java.lang.RuntimeException: java.lang.NullPointerException
      at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:394)
      at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.execute(HAJCRCMS.java:51)
      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 $Proxy158.execute(Unknown Source)
      at com.reuters.aw.portal.core.portlet.cms.CMSPortlet.doView(CMSPortlet.java:195)
      at com.reuters.aw.portal.core.portlet.cms.CMSPortlet.doDispatch(CMSPortlet.java:317)
      at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
      at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
      at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
      at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)