Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Applet crashes even before loading ... basic: exception: null. ->sun.plugin2.applet.Plugin2ClassLoad

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applet does not work anymore

I've had this applet working just fine before, albeit some time ago .. Now when I want to load it on my page i get

basic: Plugin2ClassLoader.addURL parent called for http://localhost:8080/about-1.0/SunScreben2.jar
basic: exception: null.
at sun.plugin2.applet.Plugin2ClassLoader.getTrustedCodeSources(Unknown Source)
at$ParentCallback.strategy(Unknown Source)
at$ParentCallback.openClassPathElement(Unknown Source)
at$JarLoader.getJarFile(Unknown Source)
at$JarLoader.access$1000(Unknown Source)
at$JarLoader$ Source)
at Method)

in the console.
I've tried different things, deployJava.js the good old <applet> tag and no matter what, it gives me the same thing.
To debug it i've tried giving in bogus class name, bogus archive, and it gives the same error. Example

<applet width=100 height=150 MAYSCRIPT

Same error all browsers, the code is correct and the jar is downloadable if you address it directly.
Now i am on Java7u45 ... has something broken between then and now or am I doing something horrible wrong.. (this code USED to work with wicket.)

I am signing the jar with my own testcert but even so I can see the browser contacting verisign(sysinternals)! (whats up with that? I didnt ask for that ?)..

Thanks ?
It's just a flesh wound! Or a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic