Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Code Issue(SDOResolvable Class - ClassCastException)
Code Issue [message #1273672] Thu, 20 March 2014 06:55
Manan Shah is currently offline Manan Shah
Messages: 1
Registered: March 2014
Junior Member
Hello,
I am using commonj.sdo-2.1.1.jar and easybeans-uberjar-eclipselink-1.2.1.jar and using JBoss Server.

When trying to communicate from two different EAR's it is trying to serialize DataObject while sending from one EAR to other EAR.
At that moment it is going through JBoss jar file to serialize and then accessing commonj.sdo-2.1.1.jar and from it, it is calling SDOResolvable class file from easybeans-uberjar-eclipselink-1.2.1.jar.
In SDOResolvable class file code present at line 229 - "((ObjectOutputStream)objectOutput).writeObject(this.theSDODataObject.getRootObject());".
It is trying to cast ObjectOutput to ObjectOutputStream where I am facing ClassCastException.
I have attached the full StackTrace.

Kindly help me.

Thanks,
Manan Shah
Previous Topic:.properties file in project
Next Topic:Java 8, Windows 8.1, and eclipse
Goto Forum:
  


Current Time: Wed Aug 27 21:12:33 EDT 2014

Powered by FUDForum. Page generated in 0.01569 seconds