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

RS: create an hidden document

Details

    Description

      Try to create a document which starts with .

      2021-03-05 11:51:52.407 [ajp-nio2-192.168.57.202-8002-exec-9] ERROR  OLATRuntimeException ^%^ I126226-J19709 ^%^ org.olat.core.logging.OLATRuntimeException
      https://community.openolat.org/auth/RepositoryEntry/57344000/CourseNode/103240879588670/path%3D~~Participant%20Drop%20Box/0
      Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
      
      **RedScreen** org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.core.commons.services.doceditor.model.AccessImpl.metadata
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_create_document</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.core.commons.services.doceditor.ui.CreateDocumentController</controllername>
      		<controllername>org.olat.core.commons.modules.bc.FolderRunController</controllername>
      		<controllername>org.olat.course.nodes.pf.ui.PFParticipantController</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>
      
      org.olat.core.logging.OLATRuntimeException: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.core.commons.services.doceditor.model.AccessImpl.metadata 
      
      Caused by: javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.core.commons.services.doceditor.model.AccessImpl.metadata 
       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.firePersist(SessionImpl.java:726) 
       at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:706) 
       at org.olat.core.commons.services.doceditor.manager.AccessDAO.createAccess(AccessDAO.java:70) 
       at org.olat.core.commons.services.doceditor.manager.DocEditorServiceImpl.createAccess(DocEditorServiceImpl.java:198) 
       at org.olat.core.commons.services.doceditor.manager.DocEditorServiceImpl.prepareDocumentUrl(DocEditorServiceImpl.java:330) 
       at org.olat.core.commons.services.doceditor.ui.CreateDocumentController.doOpen(CreateDocumentController.java:224) 
       at org.olat.core.commons.services.doceditor.ui.CreateDocumentController.formOK(CreateDocumentController.java:192) 
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:390) 
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214) 
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240) 
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) 
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238) 
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:124) 
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:464) 
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451) 
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79) 
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568) 
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317) 
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105) 
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) 
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258) 
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:433) 	... 39 more Caused by: org.hibernate.PropertyValueException: not-null property references a null or transient value : org.olat.core.commons.services.doceditor.model.AccessImpl.metadata 
       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:116) 
       at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:72) 
       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:330) 
       at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:287) 
       at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:193) 
       at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:123) 
       at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:185) 
       at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:128) 
       at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:55) 
       at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:93) 
       at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:720)
       ... 60 more
      
      

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            stephan Stephan Clemenz
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: