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

Upgrader error by video metadata migration

    XMLWordPrintable

    Details

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

      Description

      Fix the code which check if the master container exists

      2017-06-12 23:02:51,990 [ActiveMQ Session Task-1] ERROR OLATUpgrade_11_3_0 
      OLAT::ERROR ^%^ N49-E4 ^%^ org.olat.upgrade ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a
      Update Metadata failed ^%^ >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.modules.video.manager.VideoManagerImpl.hasMasterContainer(VideoManagerImpl.java:582)
         at org.olat.upgrade.OLATUpgrade_11_3_0.processVideoResource(OLATUpgrade_11_3_0.java:117)
         at org.olat.upgrade.OLATUpgrade_11_3_0.upgradeVideoXml(OLATUpgrade_11_3_0.java:104)
         at org.olat.upgrade.OLATUpgrade_11_3_0.doPostSystemInitUpgrade(OLATUpgrade_11_3_0.java:84)
         at org.olat.upgrade.UpgradeManagerImpl.doPostSystemInitUpgrades(UpgradeManagerImpl.java:78)
         at org.olat.upgrade.UpgradeManager.event(UpgradeManager.java:204)
         at org.olat.core.util.event.AbstractEventBus$2.run(AbstractEventBus.java:171)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.util.event.AbstractEventBus.doFire(AbstractEventBus.java:168)
         at org.olat.core.util.event.AbstractEventBus.doFire(AbstractEventBus.java:141)
         at org.olat.commons.coordinate.cluster.jms.ClusterEventBus.serveMessage(ClusterEventBus.java:336)
      

      Remove the following error, it's produce by a check method:

      2017-06-12 23:02:57,188 [ActiveMQ Session Task-1] ERROR VideoManagerImpl  - OLAT::ERROR ^%^ N49-E27 ^%^ org.olat.modules.video.manager
      Error while parsing XStream file for videoResource:: OLATResource(316407885)[FileResource.VIDEO(95238092053221)], key:316407885=org.olat.resource.OLATResourceImpl@12dc004d
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.core.util.xml.XStreamHelper.readObject(XStreamHelper.java:313)
         at org.olat.modules.video.manager.VideoManagerImpl.isMetadataFileValid(VideoManagerImpl.java:388)
         at org.olat.upgrade.OLATUpgrade_11_3_0.processVideoResource(OLATUpgrade_11_3_0.java:124)
         at org.olat.upgrade.OLATUpgrade_11_3_0.upgradeVideoXml(OLATUpgrade_11_3_0.java:104)
         at org.olat.upgrade.OLATUpgrade_11_3_0.doPostSystemInitUpgrade(OLATUpgrade_11_3_0.java:84)
         at org.olat.upgrade.UpgradeManagerImpl.doPostSystemInitUpgrades(UpgradeManagerImpl.java:78)
         at org.olat.upgrade.UpgradeManager.event(UpgradeManager.java:204)
         at org.olat.core.util.event.AbstractEventBus$2.run(AbstractEventBus.java:171)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.util.event.AbstractEventBus.doFire(AbstractEventBus.java:168)
         at org.olat.core.util.event.AbstractEventBus.doFire(AbstractEventBus.java:141)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              srosse Stéphane Rossé
              Reporter:
              okant Oliver Kant
              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 - 30 minutes
                  30m