You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by kc...@360commerce.com on 2003/01/31 15:21:00 UTC

Problem solved - Insight wanted on IncompatibleClassChangeError


It turns out that I was doing all of the build stuff correctly.  The
part I messed up was that I was using Java 1.3 instead of Java 1.4.
Oops.

I still think that it is interesting that the exception occurred when
it did, and I'm still curious about why.  While trying to debug this,
I ran java with the -verbose:class option, and this is what appeared
just before the exception:

    [Loaded org.apache.xalan.serialize.Serializer]
    [Loaded org.apache.xalan.serialize.DOMSerializer]
    [Loaded org.apache.xalan.serialize.SerializerToXML]
    [Loaded org.apache.xalan.serialize.WriterToUTF8]
    [Loaded org.apache.xalan.serialize.WriterToUTF8Buffered]
    [Loaded org.apache.xalan.serialize.WriterToASCI]
    [Loaded org.apache.xalan.serialize.CharInfo]
    [Loaded org.apache.xml.utils.CharKey]
    [Loaded org.apache.xml.utils.BoolStack]
    [Loaded org.apache.xalan.serialize.Encodings]
    [Loaded org.apache.xalan.serialize.EncodingInfo]
    [Loaded org.xml.sax.helpers.NamespaceSupport]
    [Loaded java.util.EmptyStackException from c:\jdk1.3.1_05\jre\lib\rt.jar]
    [Loaded org.xml.sax.helpers.NamespaceSupport$Context]
    [Loaded org.apache.xalan.transformer.SerializerSwitcher]
    [Loaded sun.net.www.http.ClientVector from c:\jdk1.3.1_05\jre\lib\rt.jar]
    java.lang.IncompatibleClassChangeError

Anybody care to make a guess about what was going on?  At this point,
it's not too important, but I'm a curious fellow.



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


AW: Problem solved - Insight wanted on IncompatibleClassChangeError

Posted by Wolfram Rittmeyer <w....@proplant.de>.
Hi Keith,

I'm not sure wether your problem has been the same but I just run into this
one today in a project at work (has absolutely nothing to do with JMeter).
We use Applets (yes, I hate Applets too, but since our customers must be
able do change maps out of a web-app interactively and shall not be bothered
with any downloads [Java2-plugin] and/or WebStart-related additional
installation steps, we have to use them). And therefore a small part of our
project has to be compiled with jdk1.1.7. Now when I ran into the problem
today there was a class compiled with jdk1.1.7 trying to use a class
compiled with jdk1.3.1. This caused the IncompatibleClassChangeError in our
case.

The reason why I'm not sure wether this is the same cause as with your
problem is that you said you recompiled everything and still got the
exception. A simple recompilation using jdk1.3.1 was the solution in our
case.

Anyway, that was just as a rather late reply to your qeustion ;-)

Greetings,

Wolfram


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org