Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / December 2005

Tip: Looking for answers? Try searching our database.

java.lang.IncompatibleClassChangeError when running java tests

Thread view: 
Petterson Mikael - 13 Dec 2005 09:50 GMT
Hi,

When execute the junit test we get:

java.lang.IncompatibleClassChangeError at
se.company.wcdma.rbs.boam.pms.impl.RBScanner.preperAndPush(RBScanner.java:526)
at
se.company.wcdma.rbs.boam.pms.impl.RBScanner.scan(RBScanner.java:766)
at
se.company.wcdma.rbs.boam.mao.rmo.iub.tb.sut.IubDataStreamMoImplTest.testNewCounters(IubDataStreamMoImplTest.java:254)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at
junit.extensions.TestSetup$1.protect(TestSetup.java:19) at
junit.extensions.TestSetup.run(TestSetup.java:23)    0.086
testOldCounters    Error    N/A

Any ideas what IncompatibleClassChangeError is and how we can correct it?

Cheers,

//mikael
BartCr - 13 Dec 2005 10:05 GMT
The cause for this is probably that the RBScanner classes depends on
another class which has changed. This can happen if you didn't perform
a full recompile of the sources.

Delete your class output, recompile the whole source tree and fix any
errors that pop up
Petterson Mikael - 13 Dec 2005 11:58 GMT
> The cause for this is probably that the RBScanner classes depends on
> another class which has changed. This can happen if you didn't perform
> a full recompile of the sources.
>
> Delete your class output, recompile the whole source tree and fix any
> errors that pop up

Hi,

Thanks for the reply. We have made a clean of all class files before
doing a full recompile of hte sources. There are not compiling errors.
We still have the problem :-(

More hints appreciated!

cheers,

//mikael
BartCr - 13 Dec 2005 12:38 GMT
What's the code executed on line 526 of RBScanner? It's possible that
there is a difference in used libraries (versions) between the
development and the runtime.

Regards,
Bart
Roedy Green - 13 Dec 2005 12:54 GMT
On Tue, 13 Dec 2005 10:50:41 +0100, Petterson Mikael
<mikael.petterson@era.ericsson.se> wrote, quoted or indirectly quoted
someone who said :

>IncompatibleClassChangeError


see
http://mindprod.com/jgloss/runerrormessages.html#INCOMPATIBLECLASSCHANGEERROR
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.