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

RS: upload image in forum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15.3.6
    • Component/s: Forum tool
    • Labels:
      None

      Description

      Cannot be reproduce:

      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
      Exception: ExceptionWindowController: Throwable occurred, logging the full stacktrace: java.lang.NullPointerException
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getRelativePath(VFSRepositoryServiceImpl.java:419)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:269)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.getMetadataFor(VFSRepositoryServiceImpl.java:285)
       at org.olat.core.util.vfs.lock.VFSLockManagerImpl.lambda$getLockInfo$0(VFSLockManagerImpl.java:266)
       at org.infinispan.cache.impl.FunctionMapper.apply(FunctionMapper.java:43)
       at org.infinispan.cache.impl.SimpleCacheImpl.lambda$computeIfAbsentInternal$11(SimpleCacheImpl.java:1335)
       at org.infinispan.container.impl.AbstractInternalDataContainer.lambda$compute$1(AbstractInternalDataContainer.java:230)
       at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$remap$16(BoundedLocalCache.java:2505)
       at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1947)
       at com.github.benmanes.caffeine.cache.BoundedLocalCache.remap(BoundedLocalCache.java:2500)
       at com.github.benmanes.caffeine.cache.BoundedLocalCache.compute(BoundedLocalCache.java:2452)
       at com.github.benmanes.caffeine.cache.LocalCache.compute(LocalCache.java:95)
       at org.infinispan.commons.util.AbstractDelegatingMap.compute(AbstractDelegatingMap.java:81)
       at org.infinispan.container.impl.AbstractInternalDataContainer.compute(AbstractInternalDataContainer.java:229)
       at org.infinispan.container.impl.AbstractInternalDataContainer.compute(AbstractInternalDataContainer.java:246)
       at org.infinispan.cache.impl.SimpleCacheImpl.computeIfAbsentInternal(SimpleCacheImpl.java:1332)
       at org.infinispan.cache.impl.SimpleCacheImpl.computeIfAbsent(SimpleCacheImpl.java:1302)
       at org.infinispan.cache.impl.AbstractDelegatingCache.computeIfAbsent(AbstractDelegatingCache.java:424)
       at org.infinispan.cache.impl.EncoderCache.computeIfAbsent(EncoderCache.java:672)
       at org.olat.core.util.cache.infinispan.InfinispanCacheWrapper.computeIfAbsent(InfinispanCacheWrapper.java:118)
       at org.olat.core.util.vfs.lock.VFSLockManagerImpl.getLockInfo(VFSLockManagerImpl.java:263)
       at org.olat.core.util.vfs.lock.VFSLockManagerImpl.isLockedForMe(VFSLockManagerImpl.java:124)
       at org.olat.core.util.vfs.lock.VFSLockManagerImpl.isLockedForMe(VFSLockManagerImpl.java:116)
       at org.olat.core.commons.modules.bc.FileUploadController.doUpload(FileUploadController.java:626)
       at org.olat.core.commons.modules.bc.FileUploadController.formOK(FileUploadController.java:355)
       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:1268)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:443)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:323)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:282)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:194)
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:297)
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:227)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:159)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:64)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      ...
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: