Hi all,
I am getting the following exception when at the code below.
AccountSessionHome home= PortableRemoteObject.narrow(ObjectRef ,
AccountSesssionHome.class);
where ObjectRef I got after looking up home object.
java.lang.ClassCastException: Unable to load class:
org.omg.stub.com.ge.pms.test1._AccountSessionHome_Stub
at
com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:269)
at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:136)
at
com.ge.pms.servicelocator.ServiceLocator.getHome(ServiceLocator.java:109)
at com.ge.pms.test1.Client.InvokeService(Client.java:30)
at com.ge.pms.test1.Client.main(Client.java:46)
java.lang.NullPointerException
Any body faced this problem before ?
Any hints will be helpfull to me
TIA
Ashwani
This e-Mail may contain proprietary and confidential information and is sent for the
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination,
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment
other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in