Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11687

Exception in install log when installing Ratings application in the extension manager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 6.4
    • Extension
    • None
    • Unknown
    • N/A
    • N/A

    Description

      When installing the "Ratings Application", the install log issues an "error"

      Line before the error

      Applying [INSTALL] for extension [Ratings API 6.4] on namespace [Home] from previous extension []
      

      the comes error with full stack trace:

      org.xwiki.component.descriptor.DefaultComponentDescriptor cannot be cast to org.xwiki.component.manager.ComponentManager
      class java.lang.ClassCastException: org.xwiki.component.descriptor.DefaultComponentDescriptor cannot be cast to org.xwiki.component.manager.ComponentManager at com.xpn.xwiki.XWiki.onEvent(XWiki.java:6162) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) at org.xwiki.component.internal.StackingComponentEventManager.sendEvent(StackingComponentEventManager.java:142) at org.xwiki.component.internal.StackingComponentEventManager.flushEvents(StackingComponentEventManager.java:92) at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.loadComponents(JarExtensionHandler.java:157) at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.install(JarExtensionHandler.java:101) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:248) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:199) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:146) at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:148) at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
      org.xwiki.component.descriptor.DefaultComponentDescriptor cannot be cast to org.xwiki.component.manager.ComponentManager
      class java.lang.ClassCastException: org.xwiki.component.descriptor.DefaultComponentDescriptor cannot be cast to org.xwiki.component.manager.ComponentManager at com.xpn.xwiki.XWiki.onEvent(XWiki.java:6162) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) at org.xwiki.component.internal.StackingComponentEventManager.sendEvent(StackingComponentEventManager.java:142) at org.xwiki.component.internal.StackingComponentEventManager.flushEvents(StackingComponentEventManager.java:92) at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.loadComponents(JarExtensionHandler.java:157) at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.install(JarExtensionHandler.java:101) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:248) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:199) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:146) at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:148) at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
      

      next line in install log is:

      Successfully applied [INSTALL] for extension [Ratings API 6.4] on namespace [Home] from previous extension []
      

      Installation seems to succeed after that,

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: