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

RS if crop of image is not successful

    XMLWordPrintable

    Details

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

      Description

      The java engine to crop and scale the image cannot recognise the image.

      ExceptionWindowController  - OLAT::WARN ^%^ N1-W6419 ^%^ org.olat.core.gui.exception
      
      https://xyz.de/auth/CatalogAdmin/0/CatalogEntry/232325122
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
      
      ExceptionWindowController: Throwable occurred, logging the full stacktrace:
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.core.commons.services.image.spi.ImageHelperImpl.cropImage(ImageHelperImpl.java:136)
         at org.olat.core.commons.services.image.ImageHelperBean.cropImage(ImageHelperBean.java:59)
         at org.olat.core.gui.components.form.flexible.impl.elements.FileElementImpl.moveUploadFileTo(FileElementImpl.java:564)
         at org.olat.repository.ui.catalog.CatalogEntryEditController.formOK(CatalogEntryEditController.java:212)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:380)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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:122)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:465)Date:
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Florian Gnägi
            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 - 35 minutes
                35m