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

RS add user to a shared map

    XMLWordPrintable

    Details

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

      Description

      The error only appears if you reload the whole panel ( load the list of maps ) and add a user to the list.

      RedScreen on hfgs 10.1.0
      2015-01-04 17:12:56,579 [ajp-apr-8004-exec-36] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N4-E217  
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5
      **RedScreen** failed to lazily initialize a collection of role: org.olat.basesecurity.model.GroupImpl.members, could not initialize proxy - no Session
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_shareList</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.portfolio.ui.structel.EPShareListController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPMultipleMapController</controllername>
      		<controllername>org.olat.portfolio.ui.EPMapRunController</controllername>
      		<controllername>org.olat.portfolio.ui.EPOverviewController</controllername>
      		<controllername>org.olat.home.HomeMainController</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.basesecurity.model.GroupImpl.members, 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:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:212)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      >>> stack of 2.cause::org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.olat.basesecurity.model.GroupImpl.members, could not initialize proxy - no Session
      -> at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:575)
         at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:214)
         at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:554)
         at org.hibernate.collection.internal.PersistentSet.add(PersistentSet.java:202)
         at org.olat.basesecurity.manager.GroupDAO.addMembership(GroupDAO.java:97)
         at org.olat.portfolio.manager.EPPolicyManager.applyPolicyToUsers(EPPolicyManager.java:248)
         at org.olat.portfolio.manager.EPPolicyManager.applyPolicy(EPPolicyManager.java:191)
         at org.olat.portfolio.manager.EPPolicyManager.updateMapPolicies(EPPolicyManager.java:170)
         at org.olat.portfolio.manager.EPFrontendManager.updateMapPolicies(EPFrontendManager.java:1114)
         at org.olat.portfolio.ui.structel.EPShareListController.formOK(EPShareListController.java:241)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:369)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 30 minutes
                30m