Try to rename your class "main_tubeShape1" in something like
"MainTubeShape1"...
Philip J Colbert
<P.J.Colbert@NEWCAS Pour :
[EMAIL PROTECTED]
TLE.AC.UK> cc :
Envoy� par : Objet : [JAVA3D] Method too Large!
Please Explain!
Discussion list for
Java 3D API
<JAVA3D-INTEREST@JA
VA.SUN.COM>
20/12/02 11:28
Veuillez r�pondre �
Discussion list for
Java 3D API
Hi all
I have a class that is just basically a extension from an object that
returns
a shape3D. In this class all I do is set the Ceometry and Coord Index for
a
shape ("Yes I know it is large but I don't see why there is a problem")
The
geometry is large and has over 1000 points in it! The runtime error I get
is
below and the line that calls it is just a basic call to a constructor.
main_tubeShape1 phs1 = new main_tubeShape1();
Runtime error:-
Exception in thread "main" java.lang.ClassFormatError: main_tubeShape1
(Code
of a method l
onger than 65535 bytes)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at AppControl.<init>(AppControl.java:93)
at RadFord.<init>(Radford.java:19)
at RadFord.main(Radford.java:41)
Press any key to continue...
My Main class is called "AppControl"
Can anyone tell me what is happining!
C Ya Phil Colbert :)
Philip J Colbert
Software Engineer
RCID, Bruce Building
University of Newcastle Upon Tyne
NE1 7RU
Phone 0191-2225306
Fax 0191-2225833
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient(s). If
you are not the intended recipient, please note that any circulation or
copying of this e-mail is strictly prohibited. If you have received this
e-mail in error please contact the sender by reply e-mail and delete all
copies of this message.
The RCID makes every effort to ensure that this e-mail and any attachments
are sent virus free. However it is the responsibility of the recipient to
perform any checks they deem necessary.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
==========================================================================To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".