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

Restarting the wiki generates an invalid extension exception after installing the IRCBot app in a subwiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3-milestone-1
    • 4.2
    • Extension
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The installation of IRCBOT app with EM works fine but when I restart the wiki I get:

      2012-10-18 11:07:05,884 [main] ERROR ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-ircbot-ui-4.3-SNAPSHOT] on namespace [], it will not be loaded 
      org.xwiki.extension.InvalidExtensionException: The dependency [org.xwiki.platform:xwiki-platform-sheet-ui-4.3-SNAPSHOT] of extension [org.xwiki.platform:xwiki-platform-ircbot-ui-4.3-SNAPSHOT] is invalid
      	at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.validateExtension(DefaultInstalledExtensionRepository.java:237) [xwiki-commons-extension-api-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.validateExtension(DefaultInstalledExtensionRepository.java:173) [xwiki-commons-extension-api-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.initialize(DefaultInstalledExtensionRepository.java:145) [xwiki-commons-extension-api-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:323) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:185) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:169) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:135) [xwiki-commons-observation-local-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:323) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:155) [xwiki-commons-component-default-4.3-SNAPSHOT.jar:na]
      	at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:99) [xwiki-platform-container-servlet-4.3-20121018.022250-127.jar:na]
      	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:640) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208) [jetty-webapp-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449) [jetty-webapp-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:482) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:135) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:601) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:531) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.Scanner.scan(Scanner.java:394) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:329) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:543) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:218) [jetty-deploy-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:41) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:50) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.Server.doStart(Server.java:258) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1197) [jetty-xml-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_35]
      	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1120) [jetty-xml-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_35]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_35]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_35]
      	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_35]
      	at org.eclipse.jetty.start.Main.invokeMain(Main.java:469) [start.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.start.Main.start(Main.java:612) [start.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265) [start.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.start.Main.main(Main.java:79) [start.jar:7.4.5.v20110725]
      2012-10-18 11:07:08,824 [main] INFO  istributionInitializerListener - Distribution partially up to date 
      2012-10-18 11:07:08.825:INFO::started o.e.j.w.WebAppContext{/xwiki,file:/Users/vmassol/dev/xwiki/git/xwiki-enterprise/xwiki-enterprise-distribution/xwiki-enterprise-jetty/xwiki-enterprise-jetty-hsqldb/target/xwiki-enterprise-jetty-hsqldb-4.3-SNAPSHOT/webapps/xwiki/},/Users/vmassol/dev/xwiki/git/xwiki-enterprise/xwiki-enterprise-distribution/xwiki-enterprise-jetty/xwiki-enterprise-jetty-hsqldb/target/xwiki-enterprise-jetty-hsqldb-4.3-SNAPSHOT/jetty/../webapps/xwiki
      2012-10-18 11:07:08.990:INFO::Started SelectChannelConnector@0.0.0.0:8080 STARTING
      2012-10-18 11:07:08.991:INFO::----------------------------------
      2012-10-18 11:07:08.999:INFO::Server started, you can now open http://192.168.0.17:8080/ in your browser to access your wiki.
      2012-10-18 11:07:08.999:INFO::----------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: