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

Cannot upgrade calendar settings from very old GUI preferences

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 10.4.1
    • Component/s: Calendar tool
    • Labels:
      None

      Description

      This happens if some user have the very old preferences saved with the mapping to org.olat.preferences.DbPrefs.

      2016-01-05 15:13:27,039 [ActiveMQ Session Task-1] WARN  UpgradeManagerImpl  - OLAT::WARN ^%^ N1-W1 ^%^ org.olat.upgrade ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ Error upgrading PostSystemInitUpgrade::OLAT_10.4.0 ^%^
      >>>stack of 1.cause::com.thoughtworks.xstream.mapper.CannotResolveClassException: org.olat.preferences.DbPrefs
      -> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      2016-01-05 15:13:27,039 [ActiveMQ Session Task-1] ERROR ClusterEventBus  - OLAT::ERROR ^%^ N1-E2 ^%^ org.olat.commons.coordinate.cluster.jms ^%^ n/a ^%^ n/a ^%^ n/a ^%^ n/a ^%^ Error while sending generic event: org.olat.upgrade.UpgradeManagerImpl@7c021d16
      >>>stack of 1.cause::java.lang.RuntimeException: *** CRITICAL ERROR IN UPGRADE MANAGER. Loading aborted.
      -> at org.olat.upgrade.UpgradeManager.abort(UpgradeManager.java:199)
         at org.olat.upgrade.UpgradeManagerImpl.doPostSystemInitUpgrades(UpgradeManagerImpl.java:86)
         at org.olat.upgrade.UpgradeManager.event(UpgradeManager.java:205)
         at org.olat.core.util.event.AbstractEventBus$2.run(AbstractEventBus.java:163)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.util.event.AbstractEventBus.doFire(AbstractEventBus.java:161)
         at org.olat.commons.coordinate.cluster.jms.ClusterEventBus.serveMessage(ClusterEventBus.java:336)
         at org.olat.commons.coordinate.cluster.jms.ClusterEventBus.onMessage(ClusterEventBus.java:264)
         at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1394)
         at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
         at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
      >>>stack of 2.cause::com.thoughtworks.xstream.mapper.CannotResolveClassException: org.olat.preferences.DbPrefs
      -> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
         at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      

        Attachments

          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