Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » InvocationTargetException
InvocationTargetException [message #464936] Tue, 20 March 2007 20:46
Eclipse UserFriend
Originally posted by: talk2roon.yahoo.com

I am using Dynamic Proxy Classes. I have a method which does some function and I have it build in a jar file.
I add that jar file in the classpath of a RCP project. I am calling the method and the invoke method is called as such. I am getting a InvocationTargetException.
Here is my stack trace:
[java] log4j:WARN Please initialize the log4j system properly.
[java] Mar 19, 2007 2:00:19 PM edu.unl.firm.client.Container <clinit>
[java] INFO: Starting container with standard JNDI connection providers
[java] Mar 19, 2007 2:00:20 PM edu.unl.firm.client.Container <init>
[java] Container created for token: FIRM_BASE
[java] java.lang.reflect.InvocationTargetException: error updating stations list
[java] at edu.unl.farm.tools.drought.wizard.config.ConfigurationContro ller.updateStations(ConfigurationController.java:61)
[java] at edu.unl.farm.tools.drought.wizard.config.StationSelectionPag e$12.run(StationSelectionPage.java:371)
[java] at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
[java] Caused by: javax.ejb.EJBException: nested exception is: java.rmi.RemoteException: CORBA BAD_OPERATION 1398079720 No; nested exception is:
[java] org.omg.CORBA.BAD_OPERATION: ----------BEGIN server-side stack trace----------
[java] org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 232 completed: No
[java] at com.sun.corba.ee.impl.logging.ORBUtilSystemException.methodN otFoundInTie(Unknown Source)
[java] at com.sun.corba.ee.impl.logging.ORBUtilSystemException.methodN otFoundInTie(Unknown Source)
[java] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke (Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherI mpl.dispatchToServant(Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherI mpl.dispatch(Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.hand leRequestRequest(Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.hand leRequest(Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.hand leInput(Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage _1_2.callback(Unknown Source)
[java] at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.hand leRequest(Unknown Source)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImp l.dispatch(Unknown Source)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImp l.doWork(Unknown Source)
[java] at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$Work erThread.run(Unknown Source)
[java] ----------END server-side stack trace---------- vmcid: SUN minor code: 232 completed: No
[java] at edu.unl.firm.component.gis._SpatialQuery_Wrapper.getStations ForState(edu.unl.firm.component.gis._SpatialQuery_Wrapper.ja va)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at edu.unl.firm.client.ComponentInvocationHandler.invoke(Compon entInvocationHandler.java:73)
[java] at $Proxy2.getStationsForState(Unknown Source)
[java] at edu.unl.farm.tools.drought.wizard.config.ConfigurationContro ller.updateStations(ConfigurationController.java:43)
[java] ... 2 more

If i call the method from within the project where I have the dynamic proxy , then everything works fine.
I will highly appreciate any help or suggestions.
Thanks
Previous Topic:illegal state exception
Next Topic:How to see persistence.xml in RCP Plug-in using JPA
Goto Forum:
  


Current Time: Sun Oct 13 09:45:10 GMT 2024

Powered by FUDForum. Page generated in 0.03514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top