users@glassfish.java.net

Re: Weird exceptions while deploying a Remote EJB

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Fri, 18 Dec 2009 03:04:00 +0100

done, see: https://glassfish.dev.java.net/issues/show_bug.cgi?id=11334

It looks like, I can't reproduce this NPE again. I only could do it with
a fresh install, but after a server restart, it disappeared from there too..

Regards,
Peter

2009-12-18 02:07 keltezéssel, Marina Vatkina írta:
> NPE is always not normal :). Can you file a bug in orb subcategory?
>
> thanks,
> -marina
>
> Major Péter wrote:
>> Is this normal behaviour, or is something wrong with my remote interface?
>> Please help
>> Thanks
>>
>> Regards,
>> Peter
>>
>> 2009-12-11 03:48 keltezéssel, Major Péter írta:
>>> Hi,
>>>
>>> I have some weird exceptions during deployment (at GFv3), it's
>>> complaining something about my EJB Remote interface:
>>>
>>> [#|2009-12-11T03:18:07.074+0100|WARNING|glassfishv3.0|org.glassfish.admin.amx.core.AMXValidator|_ThreadID=34;_ThreadName=Thread-1;|Attribute
>>>
>>> 'ManagerId' failed for
>>> amx:pp=/mon/server-mon[server]/ORB-Root[S1AS-ORB]/oa.poa.POAFactory,type=oa.poa.POAImpl,name=RootPOA.#RFMBase#.82607966287495168_RBusiness_hu.sch.services._EntitlementManagerRemote_Remote-EJBHome
>>>
>>> java.lang.NullPointerException
>>> at com.sun.corba.ee.impl.oa.poa.POAImpl.getManagerId(POAImpl.java:1701)
>>> at sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.glassfish.gmbal.generic.FacetAccessorImpl.invoke(FacetAccessorImpl.java:126)
>>>
>>> at org.glassfish.gmbal.impl.MBeanImpl.invoke(MBeanImpl.java:440)
>>> at
>>> org.glassfish.gmbal.impl.AttributeDescriptor.get(AttributeDescriptor.java:144)
>>>
>>> at
>>> org.glassfish.gmbal.impl.MBeanSkeleton.getAttribute(MBeanSkeleton.java:569)
>>>
>>> at org.glassfish.gmbal.impl.MBeanImpl.getAttribute(MBeanImpl.java:378)
>>> at
>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
>>>
>>> at
>>> com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
>>>
>>> at
>>> org.glassfish.admin.amx.util.jmx.MBeanProxyHandler.getAttribute(MBeanProxyHandler.java:247)
>>>
>>> at
>>> org.glassfish.admin.amx.core.AMXValidator._validate(AMXValidator.java:587)
>>>
>>> at
>>> org.glassfish.admin.amx.core.AMXValidator.validate(AMXValidator.java:1298)
>>>
>>> at
>>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.doRun(ComplianceMonitor.java:256)
>>>
>>> at
>>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.run(ComplianceMonitor.java:227)
>>>
>>> |#]
>>>
>>> I have similar exceptions with 'servant', 'servantManager', 'State'
>>> attributes, and after them I have this:
>>>
>>> [#|2009-12-11T03:18:07.080+0100|INFO|glassfishv3.0|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=34;_ThreadName=Thread-1;|amx:pp=/mon/server-mon[server]/ORB-Root[S1AS-ORB]/oa.poa.POAFactory,type=oa.poa.POAImpl,name=RootPOA.#RFMBase#.82607966287495168_RBusiness_hu.sch.services._EntitlementManagerRemote_Remote-EJBHome
>>>
>>> General test failure:
>>> java.lang.NullPointerException: "null"
>>> com.sun.corba.ee.impl.oa.poa.POAImpl.getManagerId(POAImpl.java:1701)
>>> sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>> java.lang.reflect.Method.invoke(Method.java:597)
>>> org.glassfish.gmbal.generic.FacetAccessorImpl.invoke(FacetAccessorImpl.java:126)
>>>
>>> org.glassfish.gmbal.impl.MBeanImpl.invoke(MBeanImpl.java:440)
>>> org.glassfish.gmbal.impl.AttributeDescriptor.get(AttributeDescriptor.java:144)
>>>
>>> org.glassfish.gmbal.impl.MBeanSkeleton.getAttribute(MBeanSkeleton.java:569)
>>>
>>> org.glassfish.gmbal.impl.MBeanSkeleton.getAttributes(MBeanSkeleton.java:625)
>>>
>>> org.glassfish.gmbal.impl.MBeanImpl.getAttributes(MBeanImpl.java:389)
>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:726)
>>>
>>> com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:665)
>>>
>>> org.glassfish.admin.amx.util.jmx.MBeanProxyHandler.getAttributes(MBeanProxyHandler.java:273)
>>>
>>> org.glassfish.admin.amx.core.proxy.AMXProxyHandler.attributesMap(AMXProxyHandler.java:1193)
>>>
>>> org.glassfish.admin.amx.core.proxy.AMXProxyHandler.attributesMap(AMXProxyHandler.java:1203)
>>>
>>> org.glassfish.admin.amx.core.proxy.AMXProxyHandler.handleSpecialMethod(AMXProxyHandler.java:414)
>>>
>>> org.glassfish.admin.amx.core.proxy.AMXProxyHandler._invoke(AMXProxyHandler.java:792)
>>>
>>> org.glassfish.admin.amx.core.proxy.AMXProxyHandler.invoke(AMXProxyHandler.java:526)
>>>
>>> $Proxy105.attributesMap(Unknown Source)
>>> org.glassfish.admin.amx.core.AMXValidator._validate(AMXValidator.java:642)
>>>
>>> org.glassfish.admin.amx.core.AMXValidator.validate(AMXValidator.java:1298)
>>>
>>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.doRun(ComplianceMonitor.java:256)
>>>
>>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.run(ComplianceMonitor.java:227)
>>>
>>>
>>> The deploy itself finishes, and it looks like the interface is
>>> working too..
>>>
>>> Any thoughts?
>>>
>>> Best Regards,
>>> Peter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>