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

Video: cannot update duration value in metadata

    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: Video
    • Labels:
      None

      Description

      The error is very probably not visible to end user.

      2019-03-05 12:52:10,163 [ajp-nio2-8049-exec-15] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N49-E31 ^%^ org.olat.core.logging
      https://xyz.frentix.com/auth/RepositoryEntry/346259536/CourseNode/95238091635799
      Mozilla/5.0 (iPad; CPU OS 12_1_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
      
      **RedScreen** org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.video.model.VideoMetaImpl.videoResource
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>vc_video_run</compname>
      		<compclass>org.olat.core.gui.components.velocity.VelocityContainer</compclass>
      		<extendedinfo>page:org/olat/modules/video/ui/_content/video_run.html</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>pause</command>
      			<tostring>com:pause,org.olat.core.gui.control.Event@6582615</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.video.ui.VideoDisplayController</controllername>
      		<controllername>org.olat.course.nodes.video.VideoRunController</controllername>
      		<controllername>org.olat.course.run.RunMainController</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.video.model.VideoMetaImpl.videoResource
      -> 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::javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.video.model.VideoMetaImpl.videoResource
      -> at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
         at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
         at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
         at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:917)
         at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:891)
         at org.olat.modules.video.manager.VideoMetadataDAO.updateVideoMetadata(VideoMetadataDAO.java:72)
         at org.olat.modules.video.manager.VideoManagerImpl.updateVideoMetadata(VideoManagerImpl.java:738)
         at org.olat.modules.video.ui.VideoDisplayController.updateVideoDuration(VideoDisplayController.java:499)
         at org.olat.modules.video.ui.VideoDisplayController.processVideoEvents(VideoDisplayController.java:467)
         at org.olat.modules.video.ui.VideoDisplayController.event(VideoDisplayController.java:452)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
      >>> stack of 3.cause::org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.modules.video.model.VideoMetaImpl.videoResource
      -> at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:111)
         at org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:55)
         at org.hibernate.action.internal.AbstractEntityInsertAction.nullifyTransientReferencesIfNotAlready(AbstractEntityInsertAction.java:115)
         at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:69)
         at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:645)
         at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282)
         at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263)
         at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317)
         at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:332)
         at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:289)
         at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:196)
      

        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 - 35 minutes
                35m