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)

Apereo Issues | David Grimwood | 1 decade ago
  1. 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)
  2. 0

    I did a search for "what's" (with no double quotes) and got the following exception in the error channel: org.jasig.portal.PortalException: Expected ,, but found: s at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:299) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- Here is the exception that was logged to stdout: javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530) at org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435) at org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1334) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1267) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.PredicateExpr(XPathParser.java:1951) at org.apache.xpath.compiler.XPathParser.Predicate(XPathParser.java:1933) at org.apache.xpath.compiler.XPathParser.Step(XPathParser.java:1713) at org.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1613) at org.apache.xpath.compiler.XPathParser.LocationPath(XPathParser.java:1584) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1306) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:172) at org.apache.xpath.XPath.<init>(XPath.java:202) at org.apache.xpath.XPathAPI.eval(XPathAPI.java:279) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:211) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:191) at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:224) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- analyzeParameters() has a catch that prints the exception stack trace to stdout. This should be at least logged to the log and not stdout. Also, the catch should be changed to only catch and wrap only TransformerException. There is no point wraping runtime exceptions in a channel because the framework will wrap them for you.

    Apereo Issues | 1 decade ago | Brad Johnson
    org.jasig.portal.PortalException: Expected ,, but found: s at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:299) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I did a search for "what's" (with no double quotes) and got the following exception in the error channel: org.jasig.portal.PortalException: Expected ,, but found: s at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:299) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- Here is the exception that was logged to stdout: javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530) at org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435) at org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1334) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1267) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.PredicateExpr(XPathParser.java:1951) at org.apache.xpath.compiler.XPathParser.Predicate(XPathParser.java:1933) at org.apache.xpath.compiler.XPathParser.Step(XPathParser.java:1713) at org.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1613) at org.apache.xpath.compiler.XPathParser.LocationPath(XPathParser.java:1584) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1306) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:172) at org.apache.xpath.XPath.<init>(XPath.java:202) at org.apache.xpath.XPathAPI.eval(XPathAPI.java:279) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:211) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:191) at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:224) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- analyzeParameters() has a catch that prints the exception stack trace to stdout. This should be at least logged to the log and not stdout. Also, the catch should be changed to only catch and wrap only TransformerException. There is no point wraping runtime exceptions in a channel because the framework will wrap them for you.

    Apereo Issues | 1 decade ago | Brad Johnson
    org.jasig.portal.PortalException: Expected ,, but found: s at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:299) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345)
  5. 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)

    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 16 and LAYOUT_ID 1 at org.jasig.portal.layout.AggregatedUserLayoutStore.getAggregatedLayout (AggregatedUserLayoutStore.java:1881)

      at org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout()
    2. org.jasig.portal
      Worker.run
      1. org.jasig.portal.layout.AggregatedLayoutManager.loadUserLayout(AggregatedLayoutManager.java:1081)
      2. org.jasig.portal.layout.channels.CFragmentManager.analyzeParameters(CFragmentManager.java:242)
      3. org.jasig.portal.layout.channels.CFragmentManager.renderXML(CFragmentManager.java:276)
      4. org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528)
      5. org.jasig.portal.utils.threading.Worker.run(Worker.java:88)
      5 frames