org.jasig.portal.PortalException: Unable to acquire channel definition.

Apereo Issues | Laura McCord | 5 years 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

    A missing channel that was deleted before it was removed from a fragment layout prevented me from removing it from the layout or adding additional channels to the layout. The missing channel causes an error similar to this one: WARN [ErrorRendering#124] Oct/10 22:32:39,737 error.CError.[] - ErrorDocument XML is <error code="6"> <message>You don't have authorization to render this channel.</message> <channel> <id>n116</id> <name>Missing channel</name> </channel> </error> When trying to remove the missing channel from the layout I received this error in the stack trace: ERROR [org.jasig.portal.ChannelManager#63] Oct/10 22:35:25,952 DLMUserPreferences.TabColumnPrefsState.[] - org.jasig.portal.PortalException: Unable to acquire channel definition. org.jasig.portal.PortalException: Unable to acquire channel definition. at org.jasig.portal.layout.dlm.DistributedLayoutManager.getPublishedChannelParametersMap(DistributedLayoutManager.java:1158) at org.jasig.portal.layout.dlm.DistributedLayoutManager.updateChannelNode(DistributedLayoutManager.java:1006) at org.jasig.portal.layout.dlm.DistributedLayoutManager.updateNode(DistributedLayoutManager.java:755) at org.jasig.portal.layout.TransientUserLayoutManagerWrapper.updateNode(TransientUserLayoutManagerWrapper.java:222) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.changeRestrictions(TabColumnPrefsState.java:346) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.access$600(TabColumnPrefsState.java:99) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState$DefaultState.setRuntimeData(TabColumnPrefsState.java:872) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:197) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:211) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:519) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy183.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.NullPointerException at org.jasig.portal.layout.dlm.DistributedLayoutManager.getPublishedChannelParametersMap(DistributedLayoutManager.java:1155) ... 26 more When trying to add a channel to the layout which contains a missing channel I received this error: INFO [org.jasig.portal.ChannelManager#91] Oct/10 22:36:10,196 properties.PropertiesManager.[] - Property [org.jasig.portal.layout.channels.CSkinSelector.skins_path] was requested but not found. INFO [org.jasig.portal.ChannelManager#91] Oct/10 22:36:10,317 portal.ChannelRegistryManager.[] - Caching channel registry. ERROR [org.jasig.portal.ChannelManager#93] Oct/10 22:36:20,727 DLMUserPreferences.TabColumnPrefsState.[] - Problem occurred adding Channel. org.jasig.portal.PortalException: Exception encountered while saving layout for userId=13, profileId=3 at org.jasig.portal.layout.dlm.DistributedLayoutManager.saveUserLayout(DistributedLayoutManager.java:520) at org.jasig.portal.layout.TransientUserLayoutManagerWrapper.saveUserLayout(TransientUserLayoutManagerWrapper.java:168) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.saveLayout(TabColumnPrefsState.java:792) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.addChannel(TabColumnPrefsState.java:574) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.addChannel(TabColumnPrefsState.java:587) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.addChannel(TabColumnPrefsState.java:601) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.access$2500(TabColumnPrefsState.java:99) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState$NewChannelState.setRuntimeData(TabColumnPrefsState.java:1401) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:197) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:211) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:519) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy183.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.NullPointerException at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2581) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2487) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2487) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2487) at org.jasig.portal.layout.simple.RDBMUserLayoutStore.setUserLayout(RDBMUserLayoutStore.java:2271) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.setUserLayout(RDBMDistributedLayoutStore.java:1408) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.setUserLayout(RDBMDistributedLayoutStore.java:1389) at org.jasig.portal.layout.dlm.DistributedLayoutManager.saveUserLayout(DistributedLayoutManager.java:518) ... 27 more

    Apereo Issues | 5 years ago | Laura McCord
    org.jasig.portal.PortalException: Unable to acquire channel definition.
  2. 0

    A missing channel that was deleted before it was removed from a fragment layout prevented me from removing it from the layout or adding additional channels to the layout. The missing channel causes an error similar to this one: WARN [ErrorRendering#124] Oct/10 22:32:39,737 error.CError.[] - ErrorDocument XML is <error code="6"> <message>You don't have authorization to render this channel.</message> <channel> <id>n116</id> <name>Missing channel</name> </channel> </error> When trying to remove the missing channel from the layout I received this error in the stack trace: ERROR [org.jasig.portal.ChannelManager#63] Oct/10 22:35:25,952 DLMUserPreferences.TabColumnPrefsState.[] - org.jasig.portal.PortalException: Unable to acquire channel definition. org.jasig.portal.PortalException: Unable to acquire channel definition. at org.jasig.portal.layout.dlm.DistributedLayoutManager.getPublishedChannelParametersMap(DistributedLayoutManager.java:1158) at org.jasig.portal.layout.dlm.DistributedLayoutManager.updateChannelNode(DistributedLayoutManager.java:1006) at org.jasig.portal.layout.dlm.DistributedLayoutManager.updateNode(DistributedLayoutManager.java:755) at org.jasig.portal.layout.TransientUserLayoutManagerWrapper.updateNode(TransientUserLayoutManagerWrapper.java:222) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.changeRestrictions(TabColumnPrefsState.java:346) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.access$600(TabColumnPrefsState.java:99) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState$DefaultState.setRuntimeData(TabColumnPrefsState.java:872) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:197) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:211) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:519) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy183.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.NullPointerException at org.jasig.portal.layout.dlm.DistributedLayoutManager.getPublishedChannelParametersMap(DistributedLayoutManager.java:1155) ... 26 more When trying to add a channel to the layout which contains a missing channel I received this error: INFO [org.jasig.portal.ChannelManager#91] Oct/10 22:36:10,196 properties.PropertiesManager.[] - Property [org.jasig.portal.layout.channels.CSkinSelector.skins_path] was requested but not found. INFO [org.jasig.portal.ChannelManager#91] Oct/10 22:36:10,317 portal.ChannelRegistryManager.[] - Caching channel registry. ERROR [org.jasig.portal.ChannelManager#93] Oct/10 22:36:20,727 DLMUserPreferences.TabColumnPrefsState.[] - Problem occurred adding Channel. org.jasig.portal.PortalException: Exception encountered while saving layout for userId=13, profileId=3 at org.jasig.portal.layout.dlm.DistributedLayoutManager.saveUserLayout(DistributedLayoutManager.java:520) at org.jasig.portal.layout.TransientUserLayoutManagerWrapper.saveUserLayout(TransientUserLayoutManagerWrapper.java:168) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.saveLayout(TabColumnPrefsState.java:792) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.addChannel(TabColumnPrefsState.java:574) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.addChannel(TabColumnPrefsState.java:587) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.addChannel(TabColumnPrefsState.java:601) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.access$2500(TabColumnPrefsState.java:99) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState$NewChannelState.setRuntimeData(TabColumnPrefsState.java:1401) at org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:197) at org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:211) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:519) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy183.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.NullPointerException at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2581) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2487) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2487) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2490) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.saveStructure(RDBMDistributedLayoutStore.java:2487) at org.jasig.portal.layout.simple.RDBMUserLayoutStore.setUserLayout(RDBMUserLayoutStore.java:2271) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.setUserLayout(RDBMDistributedLayoutStore.java:1408) at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.setUserLayout(RDBMDistributedLayoutStore.java:1389) at org.jasig.portal.layout.dlm.DistributedLayoutManager.saveUserLayout(DistributedLayoutManager.java:518) ... 27 more

    Apereo Issues | 5 years ago | Laura McCord
    org.jasig.portal.PortalException: Unable to acquire channel definition.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jasig.portal.layout.dlm.DistributedLayoutManager.getPublishedChannelParametersMap()
    2. org.jasig.portal
      BaseTask.run
      1. org.jasig.portal.layout.dlm.DistributedLayoutManager.getPublishedChannelParametersMap(DistributedLayoutManager.java:1155)
      2. org.jasig.portal.layout.dlm.DistributedLayoutManager.updateChannelNode(DistributedLayoutManager.java:1006)
      3. org.jasig.portal.layout.dlm.DistributedLayoutManager.updateNode(DistributedLayoutManager.java:755)
      4. org.jasig.portal.layout.TransientUserLayoutManagerWrapper.updateNode(TransientUserLayoutManagerWrapper.java:222)
      5. org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.changeRestrictions(TabColumnPrefsState.java:346)
      6. org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.access$600(TabColumnPrefsState.java:99)
      7. org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState$DefaultState.setRuntimeData(TabColumnPrefsState.java:872)
      8. org.jasig.portal.channels.DLMUserPreferences.TabColumnPrefsState.setRuntimeData(TabColumnPrefsState.java:197)
      9. org.jasig.portal.channels.DLMUserPreferences.CUserPreferences.setRuntimeData(CUserPreferences.java:211)
      10. org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:519)
      11. org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41)
      11 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:616)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring ORM
      JpaInterceptor.invoke
      1. org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. org.jasig.portal
      $Proxy183.run
      1. org.jasig.portal.$Proxy183.run(Unknown Source)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      6. java.lang.Thread.run(Thread.java:636)
      6 frames