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

RS duplicate reminder

    XMLWordPrintable

    Details

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

      Description

       **RedScreen** org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.reminder.model.ReminderImpl.creator
       
       <dispatchinfo>
       	<componentinfo>
       		<compname>duplicate</compname>
       		<compclass>org.olat.core.gui.components.link.Link</compclass>
       		<extendedinfo>n/a</extendedinfo>
       		<event>
       			<class&gt;org.olat.core.gui.control.Event</class&gt;
       			<command>duplicate</command>
       			<tostring>com:duplicate,org.olat.core.gui.control.Event@47a04d2a</tostring>
       		</event>
       	</componentinfo>
       	<controllerinfo>
       		<controllername>org.olat.course.reminder.ui.CourseReminderListController$ToolsController</controllername>
       		<controllername>org.olat.course.reminder.ui.CourseReminderListController</controllername>
       		<controllername>org.olat.course.reminder.ui.CourseRemindersController</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.PropertyValueException: not-null property references a null or transient value : org.olat.modules.reminder.model.ReminderImpl.creator
      -> 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:536)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:234)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:245)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:201)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:280)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:209)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      >>>stack of 2.cause::javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.reminder.model.ReminderImpl.creator
      -> 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.modules.reminder.manager.ReminderDAO.duplicate(ReminderDAO.java:104)
         at org.olat.modules.reminder.manager.ReminderServiceImpl.duplicate(ReminderServiceImpl.java:152)
         at org.olat.course.reminder.ui.CourseReminderListController.doDuplicate(CourseReminderListController.java:281)
         at org.olat.course.reminder.ui.CourseReminderListController.access$500(CourseReminderListController.java:75)
         at org.olat.course.reminder.ui.CourseReminderListController$ToolsController.event(CourseReminderListController.java:343)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      >>>stack of 3.cause::org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.reminder.model.ReminderImpl.creator
      -> at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:106)
         at org.hibernate.action.internal.AbstractEntityInsertAction.nullifyTransientReferencesIfNotAlready(AbstractEntityInsertAction.java:132)
         at org.hibernate.action.internal.AbstractEntityInsertAction.makeEntityManaged(AbstractEntityInsertAction.java:141)
         at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:203)
         at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:181)
         at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:168)
         at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:342)
         at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:289)
         at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195)
         at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:138)
         at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:84)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Dirk Furrer
            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 - 27 minutes
                27m