2 Replies Latest reply on Jan 7, 2013 5:40 AM by jsmith

    More verbose errors JavaFX applet

      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
      ++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:
      ++Match: digest properties: []++
      ++Match: JVM args: [JVMParameters: isSecure: true, args: ]++
      ++Match: endTraversal ..++
      ++Match: JVM args final:++
      ++Match: Running JREInfo Version match: ==
      ++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,


      Edited by: jeroen on Jan 6, 2013 1:39 PM
        • 1. Re: More verbose errors JavaFX applet
          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
            Here's a troubleshooting guide for debugging applets . . . it includes info on enabling detailed debugging and tracing for the applet . . . good luck . . .