Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3931

Curriculum: rs creating a new element

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.2
    • Fix Version/s: 13.2.1
    • Component/s: Curriculum
    • Labels:
      None

      Description

      2019-03-05 14:17:53,165 [ajp-nio2-8063-exec-2] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N63-E3 ^%^ org.olat.core.logging 
      
      https://xyz.openolat.com/auth/CurriculumAdmin/0/Curriculum/1
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15
      **RedScreen** failed to lazily initialize a collection of role: org.olat.modules.curriculum.model.CurriculumImpl.rootElements, could not initialize proxy - no Session
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.curriculum.ui.EditCurriculumElementController</controllername>
      		<controllername>org.olat.modules.curriculum.ui.CurriculumComposerController</controllername>
      		<controllername>org.olat.modules.curriculum.ui.CurriculumListManagerController</controllername>
      		<controllername>org.olat.modules.curriculum.ui.CurriculumManagerController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: failed to lazily initialize a collection of role: org.olat.modules.curriculum.model.CurriculumImpl.rootElements, could not initialize proxy - no Session
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.olat.modules.curriculum.model.CurriculumImpl.rootElements, could not initialize proxy - no Session
      -> at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:602)
         at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:217)
         at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:581)
         at org.hibernate.collection.internal.AbstractPersistentCollection.write(AbstractPersistentCollection.java:408)
         at org.hibernate.collection.internal.PersistentList.add(PersistentList.java:175)
         at org.olat.modules.curriculum.manager.CurriculumElementDAO.createCurriculumElement(CurriculumElementDAO.java:112)
         at org.olat.modules.curriculum.manager.CurriculumServiceImpl.createCurriculumElement(CurriculumServiceImpl.java:263)
         at org.olat.modules.curriculum.ui.EditCurriculumElementController.formOK(EditCurriculumElementController.java:391)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:384)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m