Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Incompatible Class Change Error

When I query class through IJSpace read(), it works, but querying class through GS UI gives following error. Restarting the space and application has no effect. Notice that in the error message below, the super-classes list in the first set is empty, and the second super-classes list has several classes.

SEVERE [ http://com.gigaspaces.core.engine ]: Incompatible Class Change Error - an incompatible class change has occurred. java.sql.SQLException: Select failed Incompatible Class Change Error. An incompatible class change has occurred for class [ http://com.myPkg.myClass ]. Either its field names, field types and/or super classes don't match the current version in space. To resolve this problem please clean the space server and restart your application. Class information held at server: super-classes: [], checksum: 1232660465 fields: [http://....], checksum: -1399023814

Class information supplied for com.myPkg.myClass : super-classes: [[com.myPkg.mySuperClass1, com.myPkg.mySuperClass2, com.myPkg.mySuperClass3|http://com.myPkg.mySuperClass1,%20com.myPkg.mySuperClass2,%20com.myPkg.mySuperClass3]], checksum: 175439213 fields: [http://......], checksum: 2086461732


{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2599]{quote}

asked 2008-09-13 21:22:07 -0500

wasefmasood gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Is this happening with all application classes or specifically only for com.myPkg.myClass that have several super classes?
Which product version you are using?

Can you add the gs.xml to the GS-UI classpath and retry?

You can do that by placing the gs.xml files at \GigaSpacesXAP\config\mapping folder or create a folder X\config\mapping and have X as part of the GS-UI classpath.


answered 2008-09-13 21:48:56 -0500

shay hassidim gravatar image
edit flag offensive delete link more


This happens with all classes that are part of the inheritance hierarchy. If its a class that doesn't inherit from other classes, there are no problems. GS version: 6.5, jdk 1.5, space embedded in same jvm as process.


wasefmasood gravatar imagewasefmasood ( 2008-09-14 11:51:21 -0500 )edit

Can you place the gs.xml files at \GigaSpacesXAP\config\mapping folder or create a folder X\config\mapping and have X as part of the GS-UI classpath and try?

shay hassidim gravatar imageshay hassidim ( 2008-09-14 11:58:50 -0500 )edit

I placed all the gs.xml files at \GigaSpacesXAP\config\mapping and still got the same error.

wasefmasood gravatar imagewasefmasood ( 2008-09-14 21:01:48 -0500 )edit

Are u using 6.5.1?

shay hassidim gravatar imageshay hassidim ( 2008-09-15 08:47:19 -0500 )edit

yes, gigaspaces-xap-6.5.1-ga-b2400

wasefmasood gravatar imagewasefmasood ( 2008-09-15 09:17:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2008-09-13 21:22:07 -0500

Seen: 30 times

Last updated: Sep 13 '08