dev@glassfish.java.net

Re: Felix 2.0.0 integrated

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Fri, 11 Sep 2009 16:44:16 -0700

How does this involve the ORB?


On Sep 11, 2009, at 4:38 PM, Ken Cavanaugh wrote:

> Lloyd Chambers wrote:
>> Is this an expected problem?
> It is possibe that the ORB is now getting the expected PackageAdmin
> interface, and that for some
> particular bundle, PackageAdmin.getExportedPackaged( Bundle ) is
> returning null (I thought it
> would return an empty array).
>
> I'll add another null check in the ORB code for the next ORB
> integration.
>
> Thanks,
>
> Ken.
>
>>
>> INFO: ERROR: EventDispatcher: Error during dispatch.
>> (java.lang.NullPointerException)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: java.lang.NullPointerException
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> com.sun.corba.ee.impl.osgi.loader.OSGIListener.insertClasses
>> (OSGIListener.java:259)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> com.sun.corba.ee.impl.osgi.loader.OSGIListener.bundleChanged
>> (OSGIListener.java:341)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback
>> (EventDispatcher.java:800)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately
>> (EventDispatcher.java:728)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent
>> (EventDispatcher.java:610)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.apache.felix.framework.Felix.fireBundleEvent
>> (Felix.java:3592)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.apache.felix.framework.Felix.startBundle
>> (Felix.java:1649)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.apache.felix.framework.BundleImpl.start
>> (BundleImpl.java:890)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start
>> (OSGiModuleImpl.java:145)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
>> $1$1$1.loadClass(OSGiModuleImpl.java:309)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.hk2.component.LazyInhabitant.fetch
>> (LazyInhabitant.java:91)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.hk2.component.LazyInhabitant.get
>> (LazyInhabitant.java:106)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.hk2.component.AbstractInhabitantImpl.get
>> (AbstractInhabitantImpl.java:60)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:
>> 275)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at java.util.AbstractList$Itr.next(AbstractList.java:345)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> org.glassfish.admin.amx.impl.AMXStartupService._loadAMXMBeans
>> (AMXStartupService.java:358)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> org.glassfish.admin.amx.impl.AMXStartupService.loadAMXMBeans
>> (AMXStartupService.java:226)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at java.lang.reflect.Method.invoke(Method.java:597)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2
>> (StandardMBeanIntrospector.java:93)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2
>> (StandardMBeanIntrospector.java:27)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM
>> (MBeanIntrospector.java:208)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.jmx.mbeanserver.PerInterface.invoke
>> (PerInterface.java:120)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.jmx.mbeanserver.MBeanSupport.invoke
>> (MBeanSupport.java:262)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at javax.management.StandardMBean.invoke
>> (StandardMBean.java:391)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
>> (DefaultMBeanServerInterceptor.java:836)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke
>> (JmxMBeanServer.java:761)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at org.glassfish.admin.mbeanserver.BootAMX.bootAMX
>> (BootAMX.java:145)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> org.glassfish.admin.mbeanserver.BootAMXListener.handleNotification
>> (BootAMXListener.java:74)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> javax.management.NotificationBroadcasterSupport.handleNotification
>> (NotificationBroadcasterSupport.java:257)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at javax.management.NotificationBroadcasterSupport
>> $SendNotifJob.run(NotificationBroadcasterSupport.java:322)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at javax.management.NotificationBroadcasterSupport
>> $1.execute(NotificationBroadcasterSupport.java:307)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> javax.management.NotificationBroadcasterSupport.sendNotification
>> (NotificationBroadcasterSupport.java:229)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> javax.management.remote.JMXConnectorServer.sendNotification
>> (JMXConnectorServer.java:305)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> javax.management.remote.JMXConnectorServer.connectionOpened
>> (JMXConnectorServer.java:222)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at
>> javax.management.remote.rmi.RMIConnectorServer.connectionOpened
>> (RMIConnectorServer.java:592)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at javax.management.remote.rmi.RMIServerImpl.doNewClient
>> (RMIServerImpl.java:233)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at javax.management.remote.rmi.RMIServerImpl.newClient
>> (RMIServerImpl.java:180)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at java.lang.reflect.Method.invoke(Method.java:597)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.rmi.server.UnicastServerRef.dispatch
>> (UnicastServerRef.java:305)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.rmi.transport.Transport$1.run(Transport.java:159)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at java.security.AccessController.doPrivileged(Native
>> Method)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.rmi.transport.Transport.serviceCall
>> (Transport.java:155)
>> Sep 11, 2009 4:14:12 PM
>> SEVERE: at sun.rmi.transport.tcp.TCPTransport.handleMessages
>> (TCPTransport.java:535)
>>
>>
>>
>>
>> On Sep 11, 2009, at 11:03 AM, Richard S. Hall wrote:
>>
>>> Hello,
>>>
>>> I just committed changes to integrate the new Felix framework
>>> 2.0.0. I ran trunk through QL and everything seemed fine to me,
>>> but definitely let me know if you run into any issues.
>>>
>>> I also updated the shell, shell TUI, and CM bundles. For those
>>> people using the shell, there is a convenient new "find" command
>>> to search for a bundle by [partial] name or symbolic name, which
>>> makes it a little easier to find what you are looking for rather
>>> than searching through 200 bundles using "ps".
>>>
>>> -> richard
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team