ClassNotFoundException: The parameter is incorrect.

103 views
Skip to first unread message

yoer...@gmail.com

unread,
Dec 6, 2013, 5:59:22 AM12/6/13
to eid-a...@googlegroups.com
Hi,

A couple of months ago I made an eID application in Java EE, which worked (after a couple of tries). I test it in Netbeans using Glassfish.

Now I wanted to expand the functionality, but suddenly the old one doesn't work anymore (nor the new one). When I try to run the applet, it gives a ClassNotFoundException, appearently on be.fedict.eid.applet.Applet.class. When I click on more details, the Java Console gives a not really useful "stacktrace":

Exception in thread "Thread-13" java.lang.InternalError: The parameter is incorrect.
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)

My Glassfish doesn't give any output though.

I don't think I touched the parameters of launching the applet, but in case I did, the page is below. The applet package jar is in the higher folder.

Any idea where it goes wrong, or how I can find out?

Thanks!

<h1>${param.title}</h1>
<script src="https://www.java.com/js/deployJava.js"></script>
<script>
    var attributes = {
        code :'be.fedict.eid.applet.Applet.class',
        archive :'../eid-applet-package-1.1.0.RC2.jar',
        width :600,
        height :300
    };
    var parameters = {
        TargetPage :'result.jsp',
        AppletService :'identification-service;jsessionid=<%=session.getId()%>',
        BackgroundColor : '${param.bgColorApplet}',
        Language : '${param.langApplet}'
    };
    var version = '1.6';
    deployJava.runApplet(attributes, parameters, version);
</script>

yoer...@gmail.com

unread,
Dec 9, 2013, 8:15:47 AM12/9/13
to eid-a...@googlegroups.com, yoer...@gmail.com
Hmmm a weekend letting it rest seemed to do the trick, it suddenly works :p Maybe some caching issue or something

Op vrijdag 6 december 2013 11:59:22 UTC+1 schreef yoer...@gmail.com:
Reply all
Reply to author
Forward
0 new messages