Invalid pc in LineNumberTable in class file

Oracle Weblogic Server

Sometimes while starting weblogic you might have seen below error:

Environment Details:

Weblogic
JDK : SUN JDK

Exception:

####<Sep 19, 2011 9:50:42 AM EDT> <Critical> <WebLogicServer>
<TechPaste.com> <TP01> <main> <<WLS Kernel>>
<1316440242122> <BEA-000386> <Server subsystem failed. Reason:
java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file
weblogic/application/internal/WebServiceUtils
java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file
weblogic/application/internal/WebServiceUtils
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at
weblogic.application.internal.EarDeploymentFactory.<init>(EarDeploymentFactory.java:36)
at
weblogic.application.ApplicationShutdownService.start(ApplicationShutdownService.java:59)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

 

the above error usually comes when there is a wrong jdk version, invalid JDK installation or corrupted JDK or the JDK software downloaded is not for the OS where it is forcefully installed.

the easy way to resolve this kind of errors is to remove old one and install a latest OS specific JDK which is supported by the OS.

Latest OS specific JDK’s can be downloaded from below link:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply