Invalid pc in line number table when using ftp'd class

Invalid pc in line number table when using ftp'd class

Post by Java scrip » Sun, 29 May 2005 02:56:37


When FTP'ing compiled class to another box I get the following error:

Exception in thread "main" java.lang.ClassFormatError: <classpath>
(Invalid pc in line number table)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$1(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 
 
 

Invalid pc in line number table when using ftp'd class

Post by Java scrip » Sun, 29 May 2005 02:59:45

Issue resolved...

The problem is with ftp app, it was configured to ftp files in ascii
format.

By chaning to auto detect, ( I assume binary is detected) the problem
was resolved.

T