• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

ClassFormatError

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

The company I am working with, has hosted an application (coded by java) in the web server.. And when we try to visit the application, it throws the following error.. People using old Firefox versions are not facing any issues, whereas latest firefox versions are being hit by this error. What could be the reason and why specifically latest Firefox version and not the older ones..? Can you please clarify? Thank you so much in advance..

Thanks,
Gokul
cfe.PNG
[Thumbnail for cfe.PNG]
This is the error which pops up when using latest firefox and latest java version
 
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can see a Details button on the error snapshot. Click it and read what does the message say.
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mansukhdeep Thind wrote:I can see a Details button on the error snapshot. Click it and read what does the message say.



The application has been brought down for maintenance. Will update you on this in another 4 hours exactly.
 
Mansukhdeep Thind
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK. It would be more useful if you could share the server console logs too.
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mansukhdeep Thind wrote:OK. It would be more useful if you could share the server console logs too.



This is what i get when i click details..

Java Plug-in 10.21.2.11
Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM
User home directory = C:\Users\gokkanna
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@4ca42b
security: property package.access value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.
security: property package.access new value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.
security: property package.definition new value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.access value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.access new value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.browser,com.sun.glass,com.sun.javafx,com.sun.media.jfxmedia,com.sun.media.jfxmediaimpl,com.sun.openpisces,com.sun.prism,com.sun.scenario,com.sun.t2k,com.sun.webpane,com.sun.pisces,com.sun.webkit
security: property package.definition value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition new value sun.,com.sun.xml.internal.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.,com.sun.proxy.,com.sun.org.apache.bcel.internal.,com.sun.org.apache.regexp.internal.,com.sun.org.apache.xerces.internal.,com.sun.org.apache.xpath.internal.,com.sun.org.apache.xalan.internal.extensions.,com.sun.org.apache.xalan.internal.lib.,com.sun.org.apache.xalan.internal.res.,com.sun.org.apache.xalan.internal.templates.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.apache.xalan.internal.xslt.,com.sun.org.apache.xalan.internal.xsltc.cmdline.,com.sun.org.apache.xalan.internal.xsltc.compiler.,com.sun.org.apache.xalan.internal.xsltc.trax.,com.sun.org.apache.xalan.internal.xsltc.util.,com.sun.org.apache.xml.internal.res.,com.sun.org.apache.xml.internal.serializer.utils.,com.sun.org.apache.xml.internal.utils.,com.sun.org.glassfish.,com.sun.java.accessibility.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.browser,com.sun.glass,com.sun.javafx,com.sun.media.jfxmedia,com.sun.media.jfxmediaimpl,com.sun.openpisces,com.sun.prism,com.sun.scenario,com.sun.t2k,com.sun.webpane,com.sun.pisces,com.sun.webkit
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1ad2911
basic: Plugin2ClassLoader.addURL parent called for https://xxx.com/applet/CompSelectorApplet.jar
security: Accessing keys and certificate in Mozilla user profile: null
security: JSS is not configured
cache: Adding MemoryCache entry: https://xxx.com/login.jsp;jsessionid=742157A93D28BB39B07ED3D1E8565A4C.node2
network: Cache entry found [url: https://xxx.com/applet/CompSelectorApplet.jar, version: null] prevalidated=false/0
cache: Adding MemoryCache entry: https://xxx.com/applet/CompSelectorApplet.jar
cache: Resource https://xxx.com/login.jsp;jsessionid=742157A93D28BB39B07ED3D1E8565A4C.node2 has expired.
network: Connecting https://xxx.com/applet/CompSelectorApplet.jar with proxy=DIRECT
network: Connecting http://xxx.com:443/ with proxy=DIRECT
security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
security: Loading Deployment SSL certificates from C:\Users\gokkanna\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
security: Loaded Deployment SSL certificates from C:\Users\gokkanna\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Connecting https://xxx.com/applet/CompSelectorApplet.jar with cookie "_pk_id.4.9ebf=cd9003e51a9f85de.1367263656.12.1367738667.1367723976.; CP_GUTC=173.38.18.22.1367264265681176; _pk_ref.4.9ebf=%5B%22%22%2C%22%22%2C1367738667%2C%22http%3A%2F%2Fwwwin.xxx.com%2Fcgi-bin%2Fit%2Fsc%2Fcore%2Fremedy%2Fcquery.pl%3Fcase%3DINC000027405978%22%5D; _pk_ses.4.9ebf=*"
network: Server https://xxx.com/applet/CompSelectorApplet.jar requesting to set-cookie with "JSESSIONID=E159F1E759423FD25B19C81C7084F7A3.node1; Path=/xxx/; Secure; HttpOnly"
network: Connecting https://xxx.com/login.jsp;jsessionid=E159F1E759423FD25B19C81C7084F7A3.node1 with proxy=DIRECT
network: Connecting https://xxx.com/login.jsp;jsessionid=E159F1E759423FD25B19C81C7084F7A3.node1 with cookie "_pk_id.4.9ebf=cd9003e51a9f85de.1367263656.12.1367738667.1367723976.; CP_GUTC=173.38.18.22.1367264265681176; _pk_ref.4.9ebf=%5B%22%22%2C%22%22%2C1367738667%2C%22http%3A%2F%2Fwwwin.xxx.com%2Fcgi-bin%2Fit%2Fsc%2Fcore%2Fremedy%2Fcquery.pl%3Fcase%3DINC000027405978%22%5D; _pk_ses.4.9ebf=*"
cache: https://xxx.com/login.jsp;jsessionid=E159F1E759423FD25B19C81C7084F7A3.node1 is not cacheable.
network: ResponseCode for https://xxx.com/applet/CompSelectorApplet.jar : 200
network: Encoding for https://xxx.com/applet/CompSelectorApplet.jar : null
network: Disconnect connection to https://xxx.com/applet/CompSelectorApplet.jar
CacheEntry[https://xxx.com/applet/CompSelectorApplet.jar]: updateAvailable=false,lastModified=Thu Jan 01 05:30:00 IST 1970,length=5753
cache: Reading Signers from 5 https://xxx.com/login.jsp;jsessionid=742157A93D28BB39B07ED3D1E8565A4C.node2 | C:\Users\gokkanna\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\9\5b04e09-73d823ea.idx
network: No certificate info for unsigned JAR file: https://xxx.com/login.jsp;jsessionid=742157A93D28BB39B07ED3D1E8565A4C.node2
cache: Done readSigners(https://xxx.com/login.jsp;jsessionid=742157A93D28BB39B07ED3D1E8565A4C.node2)
network: Cache entry not found [url: https://xxx.com/applet/CompSelector.class, version: null]
network: Connecting https://xxx.com/applet/CompSelector.class with proxy=DIRECT
network: Connecting https://xxx.com/applet/CompSelector.class with cookie "_pk_id.4.9ebf=cd9003e51a9f85de.1367263656.12.1367738667.1367723976.; CP_GUTC=173.38.18.22.1367264265681176; _pk_ref.4.9ebf=%5B%22%22%2C%22%22%2C1367738667%2C%22http%3A%2F%2Fwwwin.xxx.com%2Fcgi-bin%2Fit%2Fsc%2Fcore%2Fremedy%2Fcquery.pl%3Fcase%3DINC000027405978%22%5D; _pk_ses.4.9ebf=*"
network: Server https://xxx.com/applet/CompSelector.class requesting to set-cookie with "JSESSIONID=8FD4247A1C35030FB5BEB347B1406CA9.node2; Path=/SORAServices/; Secure; HttpOnly"
network: Cache entry not found [url: https://xxx.com/login.jsp;jsessionid=8FD4247A1C35030FB5BEB347B1406CA9.node2, version: null]
network: Connecting https://xxx.com/login.jsp;jsessionid=8FD4247A1C35030FB5BEB347B1406CA9.node2 with proxy=DIRECT
network: Connecting http://xxx.com:443/ with proxy=DIRECT
network: Connecting https://xxx.com/login.jsp;jsessionid=8FD4247A1C35030FB5BEB347B1406CA9.node2 with cookie "_pk_id.4.9ebf=cd9003e51a9f85de.1367263656.12.1367738667.1367723976.; CP_GUTC=173.38.18.22.1367264265681176; _pk_ref.4.9ebf=%5B%22%22%2C%22%22%2C1367738667%2C%22http%3A%2F%2Fwwwin.cisco.com%2Fcgi-bin%2Fit%2Fsc%2Fcore%2Fremedy%2Fcquery.pl%3Fcase%3DINC000027405978%22%5D; _pk_ses.4.9ebf=*"
cache: https://xxx.com/login.jsp;jsessionid=8FD4247A1C35030FB5BEB347B1406CA9.node2 is not cacheable.
network: Cache entry not found [url: https://xxx.com/applet/CompSelector.class, version: null]
basic: error: Incompatible magic value 168430140 in class file CompSelector.
java.lang.ClassFormatError: Incompatible magic value 168430140 in class file CompSelector
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Ignored exception: java.lang.ClassFormatError: Incompatible magic value 168430140 in class file CompSelector
basic: Dialog type is not candidate for embedding


Replaced our site name with xxx


 
Mansukhdeep Thind
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Read the error message:

basic: error: Incompatible magic value 168430140 in class file CompSelector.
java.lang.ClassFormatError: Incompatible magic value 168430140 in class file CompSelector


Are you trying to load an applet? It seems to me that the jre that your browser is using and the jre that the applet is configured for in the code are different. Can you confirm if this is the case? Also, please post short lines. Otherwise it becomes pretty difficult to read.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The error looks like a corrupted class file - for some reason, the content of the class file is wrong and it doesn't contain a valid Java class.

Is this your own code? Try to throw away all your *.class files and recompile everything.
 
Mansukhdeep Thind
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try and delete the Java cache from the control panel Java option. Sometimes that also causes issues with applet loading on browser.
 
Marshal
Posts: 28298
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

168430140



This is a decimal number. If you convert it to hexadecimal you get 0A0A0A3C. I don't know why the producer of the error message doesn't convert it to hex for you, that would be much more helpful. Because that's what you actually need. But anyway if you check your ASCII code chart you'll see that's three line-feed characters followed by a "<" character. So my guess is that instead of a Java class, your server is sending some kind of HTML error page.

But guessing is only the starting point. Let's see what you actually get when you put that URL into the address bar of your browser: https://xxx.com/applet/CompSelector.class. Only you'll have to copy the actual URL from your Java console log, don't use the obfuscated version you posted here.
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Thanks for your replies. I'll let know the exact change we are going to make to resolve this issue, once development team confirms it. But i got another question now.

The development team also uses same Firefox and JRE version, but the issue is not seen at their end, but only at my end. What could be the other dependencies causing this issue? Where exactly its going wrong?

Thanks,
Gokul
 
Mansukhdeep Thind
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The development team also uses same Firefox and JRE version, but the issue is not seen at their end, but only at my end. What could be the other dependencies causing this issue? Where exactly its going wrong?



What is the JRE that your browser is using? Bear in mind that the browser also requires a plugin / add on that is to be enabled for loading applets. Go to tools->add ons and check.

EDIT: Request moderator to kindly shorten the post.
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mansukhdeep Thind wrote:

The development team also uses same Firefox and JRE version, but the issue is not seen at their end, but only at my end. What could be the other dependencies causing this issue? Where exactly its going wrong?



What is the JRE that your browser is using? Bear in mind that the browser also requires a plugin / add on that is to be enabled for loading applets. Go to tools->add ons and check.

EDIT: Request moderator to kindly shorten the post.



Its all latest version.. Java version 7 update 21. The dev team also uses the same, but issue is only seen in mine and few others. I got my laptop re-imaged recently.. is that could be the reason? In that case, what is the exact dependency which causes this issue.. As of now, it seems like, its not Firefox, its not Java, then what else could be?
 
Mansukhdeep Thind
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Its all latest version.. Java version 7 update 21

Does the development team have the same update too? Check that. And check your update version using this link. There are known issues between various updates of the same version of Java, especially when it comes to applets. Read this

I got my laptop re-imaged recently.. is that could be the reason?



What do you mean by re-imaged?
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mansukhdeep Thind wrote:

Its all latest version.. Java version 7 update 21

Does the development team have the same update too? Check that. And check your update version using this link. There are known issues between various updates of the same version of Java, especially when it comes to applets. Read this

I got my laptop re-imaged recently.. is that could be the reason?



What do you mean by re-imaged?



I formatted my laptop.. Re-installed windows 7.. so due to any update..or that sort of thing?
 
Mansukhdeep Thind
Ranch Hand
Posts: 1164
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which update of version 1.7 does the dev team use to run applets on their browser? Is that 21 too?
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mansukhdeep Thind wrote:Which update of version 1.7 does the dev team use to run applets on their browser? Is that 21 too?



Yes. Same version is being used by them. Same Firefox and Java version. Everything is same.

I did some basic troubleshooting at my end..

Plugin validation - https://www.mozilla.org/en-US/plugincheck/
-Since FF offers only 32 bit browser for windows (ignoring nightly builds), unlike both 32 and 64-bit for Mac and Linux users
So, checked the compatability of Java with the browser (32-bit on 32-bit)
- Cleared the cache memory from Java control panel
- Made sure that only one instance of java has been installed and only one instance of jre is running from java control panel and disabled one in case if two was running

Code change:

Went through lot of forums and from my understanding, i believe the following sounds logical.. "When accessing the applet, tomcat isn't relying anymore on cookie based login and makes a redirect to authentication page (log files could be checked to confirm) and the JVM gets the html of the redirect page, considers the html as a class file and checks for the magic number of every class file. There it gets the "magic number" retrieved of a html page (which has no magic number) and therefore displays an error"

In one such scenario reported (in case of weblogic server), the solution which worked was

adding the following lines

"<session-descriptor>
<cookie-http-only>false</cookie-http-only>
</session-descriptor>
"

in weblogic.xml file.

But still my one and only question needs an answer..

"WHY ME?" Lol.. Same FF, Same Java - working for them.. but not for me and few others.. So, what could be the other dependencies..


Thanks,
Gokul
 
Marshal
Posts: 79716
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved discussion as too difficult for “beginning”. the long lines are difficult to read, but they may be difficult to shorten.
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

All,

Thanks for your valuable replies. I cleared cache memory/cookies in the browser which resolved the issue. But the same troubleshooting didn't help one of the user. Not sure whats wrong in his end. But as of now, I guess this pretty much solves the issue. Will post a brief analysis after further clarifications and share it here, before marking this thread as resolved.

Thanks,
Gokul
 
Gokul Osho
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Finally, I could see that clearing cookies is helping and working for all users. Hence marking this as "Resolved".

Thanks,
Gokul
 
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic