tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Problem with ClassFormatError
Date Tue, 18 Feb 2003 19:48:00 GMT

Howdy,
I thought there were known bugs to this effect in Sun's 1.3.0 and 1.4.0
JDK (slightly different bugs).  Try using JDK 1.3.1 or better yet 1.4.1,
as I've heard a lot of stuff recently about reflection in 1.3.x being
very buggy.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Bryant, William [mailto:mbryant@c-cor.net]
>Sent: Tuesday, February 18, 2003 2:44 PM
>To: Tomcat Users List
>Subject: Problem with ClassFormatError
>
>Hi all,
>
>After some hair pulling I figured I'd better just email the list with
this
>one...
>
>I have a class that contains an array of Objects and another array of
>Classes.  This class then uses java.lang.reflect to work its magic in
>calling various methods on the objects in the array.  The code compiles
>perfectly fine, but when I try to load this class at runtime, the class
>loader throws a ClassFormatError saying "Illegal Class name
>java/lang/Class[]".
>
>The weird thing is that others in the development team run this same
code
>without any problems.  I did some research into this but came up with
no
>answers, my guess is that it has something to do with the fact that the
>class uses reflection, but I can't be sure.
>
>I'm hoping that I am overlooking the obvious here, ANY help is greatly
>appreciated.
>
>For whatever help they might be, I am attaching the exception text, the
>results of running 'javap' on the offending class and my server.xml
(ccv26
>context).
>
>My setup
>--------
>JDK: 1.3.0_02
>Tomcat: 4.0.3
>Platform: Windows 2000
>
>
>Thanks,
>
>Mike
>




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message