[ 
https://issues.apache.org/jira/browse/SMX4-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685474#comment-13685474
 ] 

Walid Joseph Gedeon commented on SMX4-1198:
-------------------------------------------

Hello, I have a similar exception when installing ehcache on 4.4.2

smx@root> install -s 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache/2.6.6_1
ERROR: Bundle org.apache.activemq.activemq-core [49] EventDispatcher: Error 
during dispatch. (java.lang.NullPointerException)
java.lang.NullPointerException
        at 
org.apache.felix.framework.resolver.ResolverImpl.permutateIfNeeded(ResolverImpl.java:1156)
        at 
org.apache.felix.framework.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1085)
        at 
org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:171)
        at 
org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:4103)
        at 
org.apache.felix.framework.ModuleImpl.searchDynamicImports(ModuleImpl.java:1412)
        at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:734)
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at 
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1619)
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:900)
        at 
org.apache.activemq.util.osgi.Activator.isImportingClass(Activator.java:213)
        at 
org.apache.activemq.util.osgi.Activator.isImportingUs(Activator.java:205)
        at org.apache.activemq.util.osgi.Activator.register(Activator.java:105)
        at 
org.apache.activemq.util.osgi.Activator.bundleChanged(Activator.java:97)
        at 
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
        at 
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
        at 
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)
        at org.apache.felix.framework.Felix.access$600(Felix.java:80)
        at 
org.apache.felix.framework.Felix$FelixResolver.fireResolvedEvents(Felix.java:4299)
        at 
org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:4065)
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
        at 
org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:55)
        at 
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
        at 
org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at 
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
        at 
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        at 
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:218)
        at java.lang.Thread.run(Thread.java:679)
        at 
org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:142)
        at 
org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:133)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:357)
        at 
org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:131)

                
> An exception is thrown in the console
> -------------------------------------
>
>                 Key: SMX4-1198
>                 URL: https://issues.apache.org/jira/browse/SMX4-1198
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.4.0
>            Reporter: Rubin C Roy
>
> ERROR: Bundle org.apache.activemq.activemq-core [55] EventDispatcher: Error 
> during dispatch. (java.lang.NullPointerException)
> java.lang.NullPointerException
>         at 
> org.apache.felix.framework.resolver.ResolverImpl.toStringBlame(ResolverImpl.java:1583)
>         at 
> org.apache.felix.framework.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:924)
>         at 
> org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:171)
>         at 
> org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:4103)
>         at 
> org.apache.felix.framework.ModuleImpl.searchDynamicImports(ModuleImpl.java:1412)
>         at 
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:734)
>         at 
> org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
>         at 
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>         at 
> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)
>         at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1619)
>         at 
> org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:900)
>         at 
> org.apache.activemq.util.osgi.Activator.isImportingClass(Activator.java:213)
>         at 
> org.apache.activemq.util.osgi.Activator.isImportingUs(Activator.java:205)
>         at 
> org.apache.activemq.util.osgi.Activator.register(Activator.java:105)
>         at 
> org.apache.activemq.util.osgi.Activator.bundleChanged(Activator.java:97)
>         at 
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
>         at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
>         at 
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
>         at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)
>         at org.apache.felix.framework.Felix.access$600(Felix.java:80)
>         at 
> org.apache.felix.framework.Felix$FelixResolver.fireResolvedEvents(Felix.java:4299)
>         at 
> org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:4065)
>         at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
>         at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
>         at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>         at java.lang.Thread.run(Thread.java:662)
> registering compiler services
> registering api : 
> org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl@1fff962 : 
> interface org.drools.builder.KnowledgeBuilderFactoryService
> compiler services registered
> registering core  services
> registering api : org.drools.io.impl.ResourceFactoryServiceImpl@1faf9eb : 
> interface org.drools.io.ResourceFactoryService
> registering api : org.drools.impl.KnowledgeBaseFactoryServiceImpl@126557e : 
> interface org.drools.KnowledgeBaseFactoryService
> registering api : org.drools.marshalling.impl.MarshallerProviderImpl@45265a : 
> interface org.drools.marshalling.MarshallerProvider
> registering api : org.drools.marshalling.impl.MarshallerProviderImpl@45265a : 
> interface org.drools.marshalling.MarshallerProvider
> core services registered
> registering decision tables drools services
> registering compiler : 
> org.drools.decisiontable.DecisionTableProviderImpl@114db2a : interface 
> org.drools.compiler.DecisionTableProvider
> registering api : org.drools.decisiontable.DecisionTableProviderImpl@114db2a 
> : interface org.drools.compiler.DecisionTableProvider
> drools decision tables services registered

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to