Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Code Issue(SDOResolvable Class - ClassCastException)
Code Issue [message #1273672] Thu, 20 March 2014 06:55
Eclipse UserFriend
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: Sun Apr 27 00:36:57 EDT 2025

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

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

Back to the top