Skip to main content

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 10:55
Manan Shah is currently offline Manan ShahFriend
Messages: 1
Registered: March 2014
Junior Member
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.

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

Current Time: Tue May 28 07:42:36 GMT 2024

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

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

Back to the top