Uploaded image for project: 'IRC Bot Application'
  1. IRC Bot Application
  2. IRCBOT-6

Failure to send events to the bot on Extension install

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Previous versions in xwiki-platform
    • None

    Description

      Got the following when installing the Nested Pages migrator extension with "install on farm":

      Starting job of type [install] with identifier [extension/action/org.xwiki.contrib:application-nestedpagesmigrator-ui]
      Starting job of type [installplan]
      Resolving extension [Nested Pages Migrator Application 0.4.1] on all namespaces
      Resolving extension dependency [application-nestedpagesmigrator-api 0.4.1] on all namespaces
      Resolving extension dependency [XWiki Commons - Legacy - Component - API 7.4.2] on all namespaces
      Resolving extension dependency [XWiki Platform - Legacy - Old Core 7.4.2] on all namespaces
      Resolving extension dependency [Model Bridge API 7.4.2] on all namespaces
      Resolving extension dependency [Query API 7.4.2] on all namespaces
      Resolving extension dependency [Refactoring API 7.4.2] on all namespaces
      Resolving extension dependency [Gson 2.2.4] on all namespaces
      Resolving extension dependency [knockout 3.4.0] on all namespaces
      Resolving extension dependency [Script Service for XWiki Security 7.4.2] on all namespaces
      Resolving extension dependency [Message Macros 7.4.2] on all namespaces
      Resolving extension dependency [HTML Macro 7.4.2] on all namespaces
      Resolving extension dependency [Velocity Macro 7.4.2] on all namespaces
      Finished job of type [installplan]
      Downloading extension [application-nestedpagesmigrator-api 0.4.1]
      Downloading extension [knockout 3.4.0]
      Downloading extension [Nested Pages Migrator Application 0.4.1]
      Applying [INSTALL] for extension [application-nestedpagesmigrator-api 0.4.1] on namespace [] from previous extension []
      Successfully applied [INSTALL] for extension [application-nestedpagesmigrator-api 0.4.1] on namespace [] from previous extension []
      Applying [INSTALL] for extension [knockout 3.4.0] on namespace [] from previous extension []
      Successfully applied [INSTALL] for extension [knockout 3.4.0] on namespace [] from previous extension []
      Applying [INSTALL] for extension [Nested Pages Migrator Application 0.4.1] on namespace [] from previous extension []
      Preparing XAR extension plan
      XAR extension plan ready
      Installing document [Platform » NestedPagesMigration » WebHome]
      Done installing document [Platform » NestedPagesMigration » WebHome]
      Installing document [Platform » NestedPagesMigration » Service]
      Done installing document [Platform » NestedPagesMigration » Service]
      Installing document [Playground » NestedPagesMigration » WebHome]
      Done installing document [Playground » NestedPagesMigration » WebHome]
      Installing document [Playground » NestedPagesMigration » Service]
      Done installing document [Playground » NestedPagesMigration » Service]
      Installing document [Playground Template » NestedPagesMigration » WebHome]
      Done installing document [Playground Template » NestedPagesMigration » WebHome]
      Installing document [Playground Template » NestedPagesMigration » Service]
      Done installing document [Playground Template » NestedPagesMigration » Service]
      Installing document [Manager » NestedPagesMigration » WebHome]
      Done installing document [Manager » NestedPagesMigration » WebHome]
      Installing document [Manager » NestedPagesMigration » Service]
      Done installing document [Manager » NestedPagesMigration » Service]
      Installing document [Test Reporting » NestedPagesMigration » WebHome]
      Done installing document [Test Reporting » NestedPagesMigration » WebHome]
      Installing document [Test Reporting » NestedPagesMigration » Service]
      Done installing document [Test Reporting » NestedPagesMigration » Service]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportedEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      class java.lang.NullPointerException: null
          at org.xwiki.ircbot.internal.XARImportEventListener.onEvent(XARImportEventListener.java:127)
          at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
          at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
          at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:183)
          at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:146)
          at org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:133)
          at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:203)
          at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:167)
          at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85)
          at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:255)
          at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:204)
          at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:151)
          at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:150)
          at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
          at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
          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:744)
      Failed to send event [com.xpn.xwiki.internal.event.XARImportingEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Installing document [Dev » NestedPagesMigration » WebHome]
      Done installing document [Dev » NestedPagesMigration » WebHome]
      Installing document [Dev » NestedPagesMigration » Service]
      Done installing document [Dev » NestedPagesMigration » Service]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportedEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportingEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Installing document [Curriki » NestedPagesMigration » WebHome]
      Done installing document [Curriki » NestedPagesMigration » WebHome]
      Installing document [Curriki » NestedPagesMigration » Service]
      Done installing document [Curriki » NestedPagesMigration » Service]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportedEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportingEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Installing document [Enterprise » NestedPagesMigration » WebHome]
      Done installing document [Enterprise » NestedPagesMigration » WebHome]
      Installing document [Enterprise » NestedPagesMigration » Service]
      Done installing document [Enterprise » NestedPagesMigration » Service]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportedEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Failed to send event [com.xpn.xwiki.internal.event.XARImportingEvent@177] to listener [org.xwiki.ircbot.internal.XARImportEventListener@4e2d3d7f]
      Installing document [Home » NestedPagesMigration » WebHome]
      Done installing document [Home » NestedPagesMigration » WebHome]
      Installing document [Home » NestedPagesMigration » Service]
      Done installing document [Home » NestedPagesMigration » Service]
      Installing document [Extensions » NestedPagesMigration » WebHome]
      Done installing document [Extensions » NestedPagesMigration » WebHome]
      Installing document [Extensions » NestedPagesMigration » Service]
      Done installing document [Extensions » NestedPagesMigration » Service]
      Installing document [XWiki Collaborative Learning Asset Management System » NestedPagesMigration » WebHome]
      Done installing document [XWiki Collaborative Learning Asset Management System » NestedPagesMigration » WebHome]
      Installing document [XWiki Collaborative Learning Asset Management System » NestedPagesMigration » Service]
      Done installing document [XWiki Collaborative Learning Asset Management System » NestedPagesMigration » Service]
      Installing document [Rendering » NestedPagesMigration » WebHome]
      Done installing document [Rendering » NestedPagesMigration » WebHome]
      Installing document [Rendering » NestedPagesMigration » Service]
      Done installing document [Rendering » NestedPagesMigration » Service]
      Installing document [Commons » NestedPagesMigration » WebHome]
      Done installing document [Commons » NestedPagesMigration » WebHome]
      Installing document [Commons » NestedPagesMigration » Service]
      Done installing document [Commons » NestedPagesMigration » Service]
      Installing document [Contrib » NestedPagesMigration » WebHome]
      Done installing document [Contrib » NestedPagesMigration » WebHome]
      Installing document [Contrib » NestedPagesMigration » Service]
      Done installing document [Contrib » NestedPagesMigration » Service]
      Installing document [Design » NestedPagesMigration » WebHome]
      Done installing document [Design » NestedPagesMigration » WebHome]
      Installing document [Design » NestedPagesMigration » Service]
      Done installing document [Design » NestedPagesMigration » Service]
      Successfully applied [INSTALL] for extension [Nested Pages Migrator Application 0.4.1] on namespace [] from previous extension []
      Finished job of type [install] with identifier [extension/action/org.xwiki.contrib:application-nestedpagesmigrator-ui]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: