"Bad bytes for class" Messages due to Invalid Java Classes (Doc ID 1623803.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

Deploying an application into Weblogic Server, the following error message is observed :

Bad bytes for class: 'com.endeca.infront.refapp.navigation.BasicActionPathProvider'

Using classloading debug flags,  the content of the class causing the error shows the following  :

[GenericClassLoader] : Bad bytes for class: 'com.endeca.infront.refapp.navigation.BasicActionPathProvider'
[GenericClassLoader] :     0: 3f3f 3f3f 0000 0031 003f 0a00 1700 4909   ????...1.?....I.
 16: 0016 004a 0900 1600 4b0b 004c 004d 0b00   ...J....K..L.M..

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms