2014-05-23 07:36:47,090 ERROR [main] [plugin.osgi.factory.OsgiPlugin] enableInternal Detected an error (BundleException) enabling the plugin 'de.scandio.confluence.plugins.pocketquery' : Unresolved constraint in bundle de.scandio.confluence.plugins.pocketquery [151]: Unable to resolve 151.0: missing requirement [151.0] package; (package=com.atlassian.confluence.plugins.index.api). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see http://confluence.atlassian.com/x/1xy6D<br< a="">>2014-05-23 07:36:47,094 WARN [main] [plugin.osgi.factory.OsgiPlugin] enable Unable to enable plugin 'de.scandio.confluence.plugins.pocketquery'com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: de.scandio.confluence.plugins.pocketquery at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:445) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237) at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:714) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:167) at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:192) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle de.scandio.confluence.plugins.pocketquery [151]: Unable to resolve 151.0: missing requirement [151.0] package; (package=com.atlassian.confluence.plugins.index.api) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409) at org.apache.felix.framework.Felix.startBundle(Felix.java:1709) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417) ... 22 more2014-05-23 07:36:47,095 ERROR [main] [atlassian.plugin.manager.PluginEnabler] actualEnable Unable to enable plugin de.scandio.confluence.plugins.pocketquerycom.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: de.scandio.confluence.plugins.pocketquery at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:445) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237) at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:714) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:167) at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:192) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle de.scandio.confluence.plugins.pocketquery [151]: Unable to resolve 151.0: missing requirement [151.0] package; (package=com.atlassian.confluence.plugins.index.api) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409) at org.apache.felix.framework.Felix.startBundle(Felix.java:1709) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417) ... 22 more
Hi Andrei,
We're facing some last problems making the plugin compatible with both Lucene versions in Confluence < 5.2 and >= 5.2. I'll check this in the next days and let you know when it's solved. Sorry for the inconvenience!
Regards, Felix
Hi again, I uploaded a new version onto the marketplace. Please check it out and let me know if it works for you. If so, it would be nice if you could accept this answer . Thanks for collaborating!
Hi Felix,
Updated Plugin and looks like it was enabled correctly.
Queries are working again.
Very cool! Then I'd be glad if you accepted my answer
Hi Felix, your customer got an error message like I get at the moment (although the context is different) and I wonder if you can help me. Do you have an idea how to solve https://answers.atlassian.com/questions/312201/missing-com.atlassian.confluence.plugins.index.api-on-atlas-integration-test-amps-5.0.3%2b-confluence-5.5? Thanks in advance! Kind regards Manuel
It looks like you're new here. Sign in or register to get started.