[jboss-jira] [JBoss JIRA] (DROOLS-56) Error with Bundle activator of org.kia-api - NPE when we stop it

Mario Fusco (JIRA) jira-events at lists.jboss.org
Wed Nov 13 04:35:06 EST 2013


     [ https://issues.jboss.org/browse/DROOLS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-56.
-------------------------------

    Fix Version/s: 6.0.0.Final
       Resolution: Done

    
> Error with Bundle activator of org.kia-api - NPE when we stop it
> ----------------------------------------------------------------
>
>                 Key: DROOLS-56
>                 URL: https://issues.jboss.org/browse/DROOLS-56
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.0.Alpha9
>            Reporter: Charles Moulliard
>            Assignee: Mario Fusco
>             Fix For: 6.0.0.Final
>
>
> When we try to stop or update this bundle 
> mvn:org.kie/kie-api/6.0.0-SNAPSHOT
> on Apache Karaf, the following error is generated :
> ERROR: Bundle org.kie.api [74] Error stopping bundle. (java.lang.NullPointerException)
> java.lang.NullPointerException
> 	at org.kie.osgi.api.Activator.stop(Activator.java:70)
> 	at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
> 	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2361)
> 	at org.apache.felix.framework.Felix.updateBundle(Felix.java:2095)
> 	at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:962)
> 	at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:949)
> 	at org.apache.karaf.shell.osgi.UpdateBundle.doExecute(UpdateBundle.java:37)
> 	at org.apache.karaf.shell.osgi.BundleCommand.doExecute(BundleCommand.java:42)
> 	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:175)
> 	at java.lang.Thread.run(Thread.java:680)
> REMARK : The package org.kie.cdi should be exported as it is used by drools-spring !!!

--
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


More information about the jboss-jira mailing list