You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Tina Li (Created) (JIRA)" <ji...@apache.org> on 2012/02/17 14:20:05 UTC
[jira] [Created] (GERONIMO-6279) NPE related with GBeanInstance
happened when excuting karaf features uninstall command
NPE related with GBeanInstance happened when excuting karaf features uninstall command
--------------------------------------------------------------------------------------
Key: GERONIMO-6279
URL: https://issues.apache.org/jira/browse/GERONIMO-6279
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: commands
Affects Versions: 3.0-beta-1
Environment: IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr10-20111207_96808 (JIT enabled, AOT enabled)
Reporter: Tina Li
Priority: Minor
1.Start the server using command: ./geronimo run
2.Execute the command: geronimo> features:list
3.Execute the command: geronimo>features:install obr successfully after fixed by geronimo-6278
4.Excute the command: geronimo>features:uninstall,although command executed successfully but error appeared:
geronimo> features:uninstall obr
2012-02-17 21:06:44,088 ERROR [GBeanInstance] Problem in doStop of org.apache.geronimo.framework/j2ee-system/3.0-beta-2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/3.0-beta-2-SNAPSHOT/car,j2eeType=GBean,name=GeronimoOBR
java.lang.NullPointerException: A null service reference is not allowed.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:586)
at org.apache.geronimo.obr.GeronimoOBRGBean.unregisterRepositories(GeronimoOBRGBean.java:228)
at org.apache.geronimo.obr.GeronimoOBRGBean.doStop(GeronimoOBRGBean.java:245)
at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1191)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:346)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:191)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:577)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:430)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:183)
at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:577)
at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:430)
at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:381)
at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:671)
at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:648)
at org.apache.geronimo.system.osgi.BootActivator.stop(BootActivator.java:92)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:327)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:468)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:253)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:173)
at java.lang.Thread.run(Thread.java:736)
--
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
[jira] [Commented] (GERONIMO-6279) NPE related with GBeanInstance
happened when excuting karaf features uninstall command
Posted by "Forrest Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294061#comment-13294061 ]
Forrest Xia commented on GERONIMO-6279:
---------------------------------------
Is it reproducible on the latest 3.0-beta build?
> NPE related with GBeanInstance happened when excuting karaf features uninstall command
> --------------------------------------------------------------------------------------
>
> Key: GERONIMO-6279
> URL: https://issues.apache.org/jira/browse/GERONIMO-6279
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: commands
> Affects Versions: 3.0-beta-1
> Environment: IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr10-20111207_96808 (JIT enabled, AOT enabled)
> Reporter: Tina Li
> Priority: Minor
>
> 1.Start the server using command: ./geronimo run
> 2.Execute the command: geronimo> features:list
> 3.Execute the command: geronimo>features:install obr successfully after fixed by geronimo-6278
> 4.Excute the command: geronimo>features:uninstall,although command executed successfully but error appeared:
> geronimo> features:uninstall obr
> 2012-02-17 21:06:44,088 ERROR [GBeanInstance] Problem in doStop of org.apache.geronimo.framework/j2ee-system/3.0-beta-2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/3.0-beta-2-SNAPSHOT/car,j2eeType=GBean,name=GeronimoOBR
> java.lang.NullPointerException: A null service reference is not allowed.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:586)
> at org.apache.geronimo.obr.GeronimoOBRGBean.unregisterRepositories(GeronimoOBRGBean.java:228)
> at org.apache.geronimo.obr.GeronimoOBRGBean.doStop(GeronimoOBRGBean.java:245)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1191)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:346)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:191)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:577)
> at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:430)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:183)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:577)
> at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:430)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:381)
> at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:671)
> at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:648)
> at org.apache.geronimo.system.osgi.BootActivator.stop(BootActivator.java:92)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
> at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565)
> at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161)
> at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:327)
> at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:468)
> at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:253)
> at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:173)
> at java.lang.Thread.run(Thread.java:736)
--
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