felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-3598) framework.resolver.ResolverImpl.toStringBlame throws NullPointerException on jBPM-bpmn2 5.3.0.Final activator
Date Sun, 15 Jul 2012 08:30:34 GMT
Hendy Irawan created FELIX-3598:
-----------------------------------

             Summary: framework.resolver.ResolverImpl.toStringBlame throws NullPointerException
on jBPM-bpmn2 5.3.0.Final activator
                 Key: FELIX-3598
                 URL: https://issues.apache.org/jira/browse/FELIX-3598
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-3.0.9
         Environment: Karaf 2.2.8
Ubuntu 11.10 64-bit
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) 
            Reporter: Hendy Irawan


Reference:
* https://issues.jboss.org/browse/JBPM-3715
* http://emfmodeling.blogspot.com/2012/07/jboss-jbpm-530final-problem-in-apache.html

This is probably partially an issue with jBPM-bpmn2 5.3.0.Final bundle activator, however
the error message given by Felix is also not very helpful.

{code}
registering core  services
core services registered
registering compiler services
compiler services registered
registering api services
registering api : org.drools.io.impl.ResourceFactoryServiceImpl@2484e723 : interface org.drools.io.ResourceFactoryService
registering api : org.drools.marshalling.impl.MarshallerProviderImpl@ea211cf : interface org.drools.marshalling.MarshallerProvider
registering api : org.drools.impl.KnowledgeBaseFactoryServiceImpl@37dc299 : interface org.drools.KnowledgeBaseFactoryService
registering api : org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl@1e5003f6 : interface
org.drools.builder.KnowledgeBuilderFactoryService
registering api : org.drools.marshalling.impl.MarshallerProviderImpl@ea211cf : interface org.drools.marshalling.MarshallerProvider
api drools services registered
registering api : org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl@4208719e : interface
org.drools.runtime.process.ProcessRuntimeFactoryService
registering compiler : org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl@4208719e
: interface org.drools.runtime.process.ProcessRuntimeFactoryService
registering api : org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl@725bcf3a :
interface org.drools.marshalling.impl.ProcessMarshallerFactoryService
registering api : org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl@4ca49360 : interface
org.drools.compiler.ProcessBuilderFactoryService
ERROR: Bundle org.jbpm.bpmn2 [293] Error starting mvn:org.jbpm/jbpm-bpmn2/5.3.0.Final (org.osgi.framework.BundleException:
Activator start error in bundle org.jbpm.bpmn2 [293].)
java.lang.NullPointerException
        at org.apache.felix.framework.resolver.ResolverImpl.toStringBlame(ResolverImpl.java:1583)
        at org.apache.felix.framework.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1007)
        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.jbpm.osgi.bpmn2.Activator.start(Activator.java:35)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)
        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:679)
{code}

In Karaf 2.2.8, dev:show-tree is also not working (but I'll file this bug separately on KARAF)
:

{code}
2012-07-15 14:10:48,870 | INFO  | l Console Thread | Console                          | 36
- org.apache.karaf.shell.console - 2.2.8 | Exception caught while executing command
java.lang.ArrayIndexOutOfBoundsException: 18
        at org.apache.karaf.shell.dev.util.Import.split(Import.java:144)[18:org.apache.karaf.shell.dev:2.2.8]
        at org.apache.karaf.shell.dev.util.Import.parse(Import.java:104)[18:org.apache.karaf.shell.dev:2.2.8]
        at org.apache.karaf.shell.dev.ShowBundleTree.createNodesForImports(ShowBundleTree.java:136)[18:org.apache.karaf.shell.dev:2.2.8]
        at org.apache.karaf.shell.dev.ShowBundleTree.createTree(ShowBundleTree.java:128)[18:org.apache.karaf.shell.dev:2.2.8]
        at org.apache.karaf.shell.dev.ShowBundleTree.doExecute(ShowBundleTree.java:58)[18:org.apache.karaf.shell.dev:2.2.8]
        at org.apache.karaf.shell.dev.AbstractBundleCommand.doExecute(AbstractBundleCommand.java:61)[18:org.apache.karaf.shell.dev:2.2.8]
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[36:org.apache.karaf.shell.console:2.2.8]
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:166)[36:org.apache.karaf.shell.console:2.2.8]
        at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message