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

RS adding a course to a group in batch mode

    XMLWordPrintable

    Details

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

      Description

      In the group list, add a resource with the configure wizard:

      2015-01-08 10:58:59,588 [ajp-bio-8006-exec-33] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E618 ^%^ org.olat.core.logging 
      Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0
      
      **RedScreen** org.hibernate.LazyInitializationException: could not initialize proxy - no Session
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_stepslayout</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 finish</command>
      			<tostring>com:validation finish,org.olat.core.gui.control.Event@2f96e239</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.group.ui.wizard.BGConfigResourcesStepController</controllername>
      		<controllername>org.olat.core.gui.control.generic.wizard.StepsMainRunController</controllername>
      		<controllername>org.olat.course.member.CourseBusinessGroupListController</controllername>
      		<controllername>org.olat.course.member.MembersManagementMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: org.hibernate.LazyInitializationException: 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::javax.persistence.PersistenceException: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
      -> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1187)
         at org.olat.repository.manager.RepositoryEntryRelationDAO.createRelation(RepositoryEntryRelationDAO.java:305)
         at org.olat.group.manager.BusinessGroupRelationDAO.addRelationToResource(BusinessGroupRelationDAO.java:70)
         at org.olat.group.manager.BusinessGroupServiceImpl.addResourceTo(BusinessGroupServiceImpl.java:1498)
         at org.olat.group.manager.BusinessGroupServiceImpl.addResourcesTo(BusinessGroupServiceImpl.java:1522)
         at org.olat.group.ui.main.AbstractBusinessGroupListController$2.execute(AbstractBusinessGroupListController.java:766)
         at org.olat.core.gui.control.generic.wizard.StepsMainRunController.finishWizard(StepsMainRunController.java:370)
         at org.olat.core.gui.control.generic.wizard.StepsMainRunController.event(StepsMainRunController.java:353)
      >>> stack of 3.cause::org.hibernate.LazyInitializationException: could not initialize proxy - no Session
      -> at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165)
         at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286)
         at org.hibernate.engine.internal.ForeignKeys$Nullifier.isNullifiable(ForeignKeys.java:158)
         at org.hibernate.engine.internal.ForeignKeys$Nullifier.access$000(ForeignKeys.java:51)
         at org.hibernate.engine.internal.ForeignKeys.collectNonNullableTransientEntities(ForeignKeys.java:361)
         at org.hibernate.engine.internal.ForeignKeys.findNonNullableTransientEntities(ForeignKeys.java:334)
         at org.hibernate.action.internal.AbstractEntityInsertAction.findNonNullableTransientEntities(AbstractEntityInsertAction.java:107)
         at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:176)
         at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:166)
         at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:332)
         at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:288)
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m