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
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:How to enable null annotations on types?
Next Topic:JDK8 patch requires uninstalling Groovy, Grails, Spring Roo, AJDT
Goto Forum:
  


Current Time: Sun Apr 23 20:18:04 GMT 2017

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

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