[jboss-user] [EJB/JBoss] - 'java.lang.IllegalArgumentException: null object name' when

rixc do-not-reply at jboss.com
Tue Nov 21 09:12:19 EST 2006


Hi all,

Jboss version is 4.0.2. JDK is 1.4.2

I am getting this errror when a class in the Jboss container is trying to instantiate an EJB. The same code used to work on Jboss 3.2.x. I tried putting Jboss in Debug mode but I dont get any more information. 
Are there other traces I can enable to show me more information?

The concerned trace is below


  | 2006-11-21 14:54:50,362 ERROR [java.lang.String] com.odcgroup.mms.exceptions.osf.OsfGeneralException(7918822)(9573d78f0f71e750): OsfGeneralException while calling method [Error creating remote interface.]
  | 	PREVIOUS: java.lang.reflect.InvocationTargetException(14767255): null
  | 	SOURCE: java.lang.String#getRemote
  | 	CONTEXT[0]: java.lang.String: Error creating remote interface.
  | com.odcgroup.mms.exceptions.osf.OsfGeneralException(7918822)(9573d78f0f71e750): OsfGeneralException while calling method [Error creating remote interface.]
  | 	at com.odc.server.ejb.pool.SessionAdaptorPool.getRemote(SessionAdaptorPool.java:340)
  | 	at com.odc.server.ejb.pool.SessionAdaptorPool.invokeService(SessionAdaptorPool.java:133)
  | 	at com.odc.server.ejb.session.ServerObjectFactoryBean.getService(Unknown Source)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:324)
  | 	at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
  | 	at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:584)
  | 	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
  | 	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
  | 	at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:297)
  | 	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
  | 	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
  | 	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
  | 	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
  | 	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  | 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | 	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
  | 	at org.jboss.ejb.Container.invoke(Container.java:873)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:324)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | 	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
  | 	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:324)
  | 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  | 	at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | 	at java.lang.Thread.run(Thread.java:534)
  | Caused by: java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:324)
  | 	at com.odc.server.ejb.pool.SessionAdaptorPool.getRemote(SessionAdaptorPool.java:335)
  | 	... 41 more
  | Caused by: java.lang.IllegalArgumentException: null object name
  | 	at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:495)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
  | 	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
  | 	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
  | 	at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
  | 	at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
  | 	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  | 	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | 	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | 	at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
  | 	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | 	at $Proxy168.create(Unknown Source)
  | 	... 46 more

Ricardo

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987556#3987556

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987556



More information about the jboss-user mailing list