java.lang.NullPointerException

Apereo Issues | Susan Bramhall | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When updating the user layout - such as adding a new tab - a null ptr exception occurs when mistenly looking for overriden parameters in a folder element not a channel. Example stack trace: ERROR [http-8080-Processor23] portal.RDBMChannelRegistryStore.[] (RDBMChannelRegistryStore.java:486) May/11 10:39:46 - Error caching channel definition null java.lang.NullPointerException at org.jasig.portal.concurrency.caching.ReferenceEntityCachingService.add(ReferenceEntityCachingService.java:68) at org.jasig.portal.services.EntityCachingService.add(EntityCachingService.java:73) at org.jasig.portal.RDBMChannelRegistryStore.getChannelDefinition(RDBMChannelRegistryStore.java:484) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:1886) at org.jasig.portal.layout.simple.RDBMUserLayoutStore.setUserLayout(RDBMUserLayoutStore.java:2726) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getCompositeLayout(RDBMDistributedLayoutStore.java:771) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore._getUserLayout(RDBMDistributedLayoutStore.java:594) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getUserLayout(RDBMDistributedLayoutStore.java:501) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.getUserPreferencesFromStore(CUserPreferences.java:216) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:184) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:199) at org.jasig.portal.ChannelManager.feedRuntimeDataToChannel(ChannelManager.java:927) at org.jasig.portal.ChannelManager.processRequestChannelParameters(ChannelManager.java:873) at org.jasig.portal.ChannelManager.startRenderingCycle(ChannelManager.java:1005) at org.jasig.portal.UserInstance.renderState(UserInstance.java:296) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:253) at org.jasig.portal.PortalSessionManager.doPost(PortalSessionManager.java:163)

    Apereo Issues | 1 decade ago | Susan Bramhall
    java.lang.NullPointerException
  2. 0

    When updating the user layout - such as adding a new tab - a null ptr exception occurs when mistenly looking for overriden parameters in a folder element not a channel. Example stack trace: ERROR [http-8080-Processor23] portal.RDBMChannelRegistryStore.[] (RDBMChannelRegistryStore.java:486) May/11 10:39:46 - Error caching channel definition null java.lang.NullPointerException at org.jasig.portal.concurrency.caching.ReferenceEntityCachingService.add(ReferenceEntityCachingService.java:68) at org.jasig.portal.services.EntityCachingService.add(EntityCachingService.java:73) at org.jasig.portal.RDBMChannelRegistryStore.getChannelDefinition(RDBMChannelRegistryStore.java:484) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:1886) at org.jasig.portal.layout.simple.RDBMUserLayoutStore.setUserLayout(RDBMUserLayoutStore.java:2726) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getCompositeLayout(RDBMDistributedLayoutStore.java:771) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore._getUserLayout(RDBMDistributedLayoutStore.java:594) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getUserLayout(RDBMDistributedLayoutStore.java:501) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.getUserPreferencesFromStore(CUserPreferences.java:216) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:184) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:199) at org.jasig.portal.ChannelManager.feedRuntimeDataToChannel(ChannelManager.java:927) at org.jasig.portal.ChannelManager.processRequestChannelParameters(ChannelManager.java:873) at org.jasig.portal.ChannelManager.startRenderingCycle(ChannelManager.java:1005) at org.jasig.portal.UserInstance.renderState(UserInstance.java:296) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:253) at org.jasig.portal.PortalSessionManager.doPost(PortalSessionManager.java:163)

    Apereo Issues | 1 decade ago | Susan Bramhall
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jasig.portal.concurrency.caching.ReferenceEntityCachingService.add()
    2. org.jasig.portal
      PortalSessionManager.doPost
      1. org.jasig.portal.concurrency.caching.ReferenceEntityCachingService.add(ReferenceEntityCachingService.java:68)
      2. org.jasig.portal.services.EntityCachingService.add(EntityCachingService.java:73)
      3. org.jasig.portal.RDBMChannelRegistryStore.getChannelDefinition(RDBMChannelRegistryStore.java:484)
      4. org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:1886)
      5. org.jasig.portal.layout.simple.RDBMUserLayoutStore.setUserLayout(RDBMUserLayoutStore.java:2726)
      6. org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getCompositeLayout(RDBMDistributedLayoutStore.java:771)
      7. org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore._getUserLayout(RDBMDistributedLayoutStore.java:594)
      8. org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getUserLayout(RDBMDistributedLayoutStore.java:501)
      9. org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.getUserPreferencesFromStore(CUserPreferences.java:216)
      10. org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:184)
      11. org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:199)
      12. org.jasig.portal.ChannelManager.feedRuntimeDataToChannel(ChannelManager.java:927)
      13. org.jasig.portal.ChannelManager.processRequestChannelParameters(ChannelManager.java:873)
      14. org.jasig.portal.ChannelManager.startRenderingCycle(ChannelManager.java:1005)
      15. org.jasig.portal.UserInstance.renderState(UserInstance.java:296)
      16. org.jasig.portal.UserInstance.writeContent(UserInstance.java:174)
      17. org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:253)
      18. org.jasig.portal.PortalSessionManager.doPost(PortalSessionManager.java:163)
      18 frames