org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

Apereo Issues | Brad Johnson | 1 decade ago
  1. 0

    I was able to reproduce this exception reliably by doing the following on the 2.4.1 quickstart! ant hsql & cd uPortal_rel-2-4-1 modify properties/PersonDirs.xml: Set the uidquery to the following: -------------------- <uidquery>SELECT FIRST_NAME||' '||LAST_NAME AS FIRST_LAST, FIRST_NAME, LAST_NAME, EMAIL , 'test' as template FROM UP_PERSON_DIR WHERE USER_NAME=?</uidquery> --Add the following to map template to the template user name -------------------- <attribute><alias>uPortalTemplateUserName</alias> <name>template</name></attribute> -------------------- ant md5passwd -Dusername=test # enter password ant md5passwd -Dusername=test1 # enter password cd .. ant tomcatstart # browse to http://localhost:8080/uPortal # login as test and logout (do not do anything else such as modify the layout) # login as test1 # you will get Cannot Start uPortal along with the following exceptions in the log: ERROR [http-8080-Processor25] layout.AggregatedUserLayoutStore.[] Jan/18 08:44:58 - Error getting aggregated layout for user org.jasig.portal.security.provider.PersonImpl@145e460 org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) ERROR [http-8080-Processor25] portal.ExceptionHelper.[] Jan/18 08:44:58 - Programming error java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) Caused by: org.jasig.portal.PortalException: null [based on exception: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ ID 1] at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1101) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) ... 34 more

    Apereo Issues | 1 decade ago | Brad Johnson
    org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
  2. 0

    I was able to reproduce this exception reliably by doing the following on the 2.4.1 quickstart! ant hsql & cd uPortal_rel-2-4-1 modify properties/PersonDirs.xml: Set the uidquery to the following: -------------------- <uidquery>SELECT FIRST_NAME||' '||LAST_NAME AS FIRST_LAST, FIRST_NAME, LAST_NAME, EMAIL , 'test' as template FROM UP_PERSON_DIR WHERE USER_NAME=?</uidquery> --Add the following to map template to the template user name -------------------- <attribute><alias>uPortalTemplateUserName</alias> <name>template</name></attribute> -------------------- ant md5passwd -Dusername=test # enter password ant md5passwd -Dusername=test1 # enter password cd .. ant tomcatstart # browse to http://localhost:8080/uPortal # login as test and logout (do not do anything else such as modify the layout) # login as test1 # you will get Cannot Start uPortal along with the following exceptions in the log: ERROR [http-8080-Processor25] layout.AggregatedUserLayoutStore.[] Jan/18 08:44:58 - Error getting aggregated layout for user org.jasig.portal.security.provider.PersonImpl@145e460 org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) ERROR [http-8080-Processor25] portal.ExceptionHelper.[] Jan/18 08:44:58 - Programming error java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) Caused by: org.jasig.portal.PortalException: null [based on exception: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ ID 1] at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1101) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) ... 34 more

    Apereo Issues | 1 decade ago | Brad Johnson
    org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
  3. 0

    https://list.unm.edu/cgi-bin/wa?A2=ind0407&L=jasig-portal&P=R40312 This has been reported a couple of times on the mailing list but I can't find any existing bug report for it. Environment: uPortal-only 2.3.2 installation (also confirmed with 2.3.3) tomcat 5.0.19 MySQL (also confirmed with Postgres) Steps to reproduce problem: 1) configure build.properties and rdbm.properties. 2) ant initportal 3) ant md5passwd -Dusername=test1 4) start tomcat 5) log in to portal with user test1, then log out. Confirm that you can log in again with user test1. 6) modify portal.properties: org.jasig.portal.UserPreferencesManager.save_UserPreferences_at_logout=true 7) ant deploy 8) restart tomcat 9) log in to portal with user test1, then log out. Try to log in again - error "Cannot start uPortal" is displayed. Error in portal log is as follows: org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1 It would appear that the "Save UserPreferences at logout" setting causes a problem if the user hasn't changed the default layout. Users who change the default layout during their first login are not affected. Complete error log follows: ERROR [http8080-Processor23] jasig.portal.[] Jul/26 15:16:45 - EXCEPTION: org.jasig.portal.PortalException: null [based on exception: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1] org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout (AggregatedUserLayoutStore.java:1878) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout (AggregatedLayoutManager.java:1083) at org.jasig.portal.layout.AggregatedLayoutManager.<init> (AggregatedLayoutManager.java:118) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager (UserLayoutManagerFactory.java:82) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:228) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:169) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio n(Http11Protocol.java:732) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534)

    Apereo Issues | 1 decade ago | Robin John West
    org.jasig.portal.PortalException: null [based on exception: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1] org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout (AggregatedUserLayoutStore.java:1878) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout (AggregatedLayoutManager.java:1083) at org.jasig.portal.layout.AggregatedLayoutManager.<init> (AggregatedLayoutManager.java:118)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When logged in as a non template user, the user is not able to succussfully create a fragement. After creating a user in the db via Ant, logging in as the new user, adding content to a new fragment, saving the fragment, and clicking on the link to go back to the fragment manager, I receive and error report with the following error message: null [based on exception: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1] I also receive the following stack trace in catalina: org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout (AggregatedUserLayoutStore.java:1881) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout (AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.channels.CFragmentManager.analyzeParameters (CFragmentManager.java:242) at org.jasig.portal.layout.channels.CFragmentManager.renderXML (CFragmentManager.java:276) at org.jasig.portal.ChannelRenderer$Worker.run (ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) If I attempt to log back in as this user, I will receive an error stating "Cannot start uPortal". The error occurs in AggregatedUserLayoutStore:1874 when the following statement is ran against the database: SELECT INIT_NODE_ID FROM UP_USER_LAYOUT_AGGR WHERE USER_ID=" + userId + " AND LAYOUT_ID = " + layoutId The problem is that there is no row in UP_USER_LAYOUT_AGGR for the new userId. If I manually enter the row into the table for the new user, the problem is fixed and the user can create fragments. This error does not occur when using template user such as 'demo'. Please let me know if you have any questions. Thanks, Dave Grimwood

    Apereo Issues | 1 decade ago | David Grimwood
    org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 16 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout (AggregatedUserLayoutStore.java:1881)
  6. 0

    I was able to reproduce this exception reliably by doing the following on the 2.4.1 quickstart! ant hsql & cd uPortal_rel-2-4-1 modify properties/PersonDirs.xml: Set the uidquery to the following: -------------------- <uidquery>SELECT FIRST_NAME||' '||LAST_NAME AS FIRST_LAST, FIRST_NAME, LAST_NAME, EMAIL , 'test' as template FROM UP_PERSON_DIR WHERE USER_NAME=?</uidquery> --Add the following to map template to the template user name -------------------- <attribute><alias>uPortalTemplateUserName</alias> <name>template</name></attribute> -------------------- ant md5passwd -Dusername=test # enter password ant md5passwd -Dusername=test1 # enter password cd .. ant tomcatstart # browse to http://localhost:8080/uPortal # login as test and logout (do not do anything else such as modify the layout) # login as test1 # you will get Cannot Start uPortal along with the following exceptions in the log: ERROR [http-8080-Processor25] layout.AggregatedUserLayoutStore.[] Jan/18 08:44:58 - Error getting aggregated layout for user org.jasig.portal.security.provider.PersonImpl@145e460 org.jasig.portal.PortalException: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) ERROR [http-8080-Processor25] portal.ExceptionHelper.[] Jan/18 08:44:58 - Programming error java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) Caused by: org.jasig.portal.PortalException: null [based on exception: AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ ID 1] at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1101) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) ... 34 more

    Apereo Issues | 1 decade ago | Brad Johnson
    java.lang.reflect.InvocationTargetException

    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. org.jasig.portal.PortalException

      AggregatedUserLayoutStore::getAggregatedLayout(): No INIT_NODE_ID in UP_USER_LAYOUT_AGGR for 17 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout(AggregatedUserLayoutStore.java:1889) at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081) at org.jasig.portal.layout.AggregatedLayoutManager.<init>(AggregatedLayoutManager.java:120) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.jasig.portal.layout.UserLayoutManagerFactory.getUserLayoutManager(UserLayoutManagerFactory.java:85) at org.jasig.portal.UserPreferencesManager.<init>(UserPreferencesManager.java:233) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:174) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:276) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

      at org.apache.catalina.core.StandardContextValve.invoke()
    2. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      2. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      4. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      5. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      7. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      10. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      11. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      12. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      12 frames
    3. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      1 frame
    4. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      3 frames
    5. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame