my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes InvocationTargetExceptiom Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "InvocationTargetExceptiom " Watch "InvocationTargetExceptiom " New topic


anjali ray

Joined: Mar 12, 2005
Posts: 28
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 another 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] INFO: container using token: FIRM_BASE
[java] Container created for token: FIRM_BASE
[java] java.lang.reflect.InvocationTargetException: error updating stations list
[java] at
[java] at$
[java] at org.eclipse.jface.operation.ModalContext$
[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 Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at Source)
[java] at$ Source)
[java] ----------END server-side stack trace---------- vmcid: SUN minor code: 232 completed: No
[java] at edu.unl.firm.component.gis._SpatialQuery_Wrapper.getStationsForState(
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[java] at java.lang.reflect.Method.invoke(
[java] at edu.unl.firm.client.ComponentInvocationHandler.invoke(
[java] at $Proxy2.getStationsForState(Unknown Source)
[java] at
[java] ... 2 more

If i call the method from within the project , then everything works fine.
I will highly appreciate any help or suggestions.
I agree. Here's the link:
subject: InvocationTargetExceptiom
It's not a secret anymore!