Uploaded image for project: 'Nested Pages Migrator Application'
  1. Nested Pages Migrator Application
  2. NPMIG-36

Failed to load job status exception after migrating a wiki to Nested Pages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.4.3
    • Fix Version/s: None
    • Component/s: API
    • Labels:
    • Similar issues:

      Description

      I migrated a wiki on XWiki version 7.4.2 with this application. Then I restarted the server and I noticed the following exception in the logs :

      2016-04-05 11:39:48,508 [localhost-startStop-1] WARN  o.x.j.i.DefaultJobStatusStore  - Failed to load job status in folder [/usr/local/xwiki-workdir/jobs/status/npmig/createmigrationplan/xwiki] 
      com.thoughtworks.xstream.mapper.CannotResolveClassException: org.xwiki.contrib.nestedpagesmigrator.internal.job.MigrationPlanCreatorJobStatus
      	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1206) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1190) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1154) ~[xstream-1.4.8.jar:1.4.8]
      	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1096) ~[xstream-1.4.8.jar:1.4.8]
      	at org.xwiki.job.internal.JobStatusSerializer.read(JobStatusSerializer.java:109) ~[xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.loadJobStatus(DefaultJobStatusStore.java:346) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.loadStatus(DefaultJobStatusStore.java:333) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.repairFolder(DefaultJobStatusStore.java:300) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.repairFolder(DefaultJobStatusStore.java:297) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.repairFolder(DefaultJobStatusStore.java:297) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.repairFolder(DefaultJobStatusStore.java:297) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.repair(DefaultJobStatusStore.java:286) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStore.initialize(DefaultJobStatusStore.java:235) [xwiki-commons-job-7.4.2.jar:na]
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198) [xwiki-commons-legacy-component-default-7.4.2.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164) [xwiki-commons-observation-local-7.4.2.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131) [xwiki-commons-observation-local-7.4.2.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267) [xwiki-commons-observation-local-7.4.2.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321) [xwiki-commons-observation-local-7.4.2.jar:na]
      	at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118) [xwiki-platform-container-servlet-7.4.2.jar:na]
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) [catalina.jar:7.0.52]
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) [catalina.jar:7.0.52]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.52]
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.52]
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.52]
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) [catalina.jar:7.0.52]
      	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229) [catalina.jar:7.0.52]
      	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) [catalina.jar:7.0.52]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
      	at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      

      To get rid of it, I uninstalled the extension.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                ralucamorosan Raluca Stavro
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: