This discussion is archived
2 Replies Latest reply: Jan 6, 2013 9:40 PM by jsmith RSS

More verbose errors JavaFX applet

592049 Newbie
Currently Being Moderated
Hi all,

I'd like some help getting the java plugin to display some more verbose errors. I got a JavaFX applet to work, hosted from a webserver, just fine no errors. But as soon as I started using external jars in the applet I get a runtime error "JavaFX application could not launch due to system configuration" saying to click on a link to get more error details, but when I click on the link I see only this in the java console:

++Java Plug-in 10.10.2.18++
++Using JRE version 1.7.0_10-b18 Java HotSpot(TM) 64-Bit Server VM++
++User home directory = /Users/jeroenbreedveld++
++----------------------------------------------------++
++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>++
++----------------------------------------------------++
++Match: beginTraversal++
++Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:++
++platform is: 1.7++
++product is: 1.7.0_10++
++location is: http://java.sun.com/products/autodl/j2se++
++path is: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java++
++args is:++
++native platform is: Mac OS X, x86_64 [ x86_64, 64bit ]++
++JavaFX runtime is: JavaFX 2.2.4 found at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/++
++enabled is: true++
++registered is: true++
++system is: true++

++Match: ignoring maxHeap: -1++
++Match: ignoring InitHeap: -1++
++Match: digesting vmargs: null++
++Match: digested vmargs: [JVMParameters: isSecure: true, args: ]++
++Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]++
++Match: digest LaunchDesc: http://192.168.1.204:8080/HelloWorld2.jnlp++
++Match: digest properties: []++
++Match: JVM args: [JVMParameters: isSecure: true, args: ]++
++Match: endTraversal ..++
++Match: JVM args final:++
++Match: Running JREInfo Version match: 1.7.0.10 == 1.7.0.10++
++Match: Running JVM args match: have:<> satisfy want:<>++

I believe that is exactly the same information that is shown when the applet runs fine, I see no error there?

Can anyone please tell me how to get more information on errors when running a JavaFx application as applet?

Thanks and regards,

Jeroen

Edited by: jeroen on Jan 6, 2013 1:39 PM
  • 1. Re: More verbose errors JavaFX applet
    KonradZuse Explorer
    Currently Being Moderated
    There should be a dialog that pops up when you have an error. For instance I sometimes have an error with "AbsoluteLayer.jar" which is a Netbeans library. It will give me a dialog that says okay or "details" If you hit details a Stack Trace should pop up... Same as if you clicked on "error." You also might not be doing something witht he external Jars at runtime, check your configurations.
  • 2. Re: More verbose errors JavaFX applet
    jsmith Guru
    Currently Being Moderated
    Here's a troubleshooting guide for debugging applets . . . it includes info on enabling detailed debugging and tracing for the applet . . . good luck . . .

    http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/plugin.html

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points