Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7087158

NPE in FileTraceListener when running Fx JNLP

XMLWordPrintable

        (Regression from previous fix)

        1) clean $deployment_home/log directory:

        2) With full Run command line or throug browser DT:
           javaws http://javaweb.sfbay.sun.com/~nn136682/FxSamples/Fish.jnlp

        3) Observe in $deployment_log directory pluginXXXX.trace with 0 size, where pluginXXXX.log is not empty.

        Observe in java console (trace level all) this stack:

        java.lang.NullPointerException
        at com.sun.deploy.trace.FileTraceListener.init(FileTraceListener.java:49)
        at com.sun.deploy.trace.FileTraceListener.<init>(FileTraceListener.java:44)
        at com.sun.deploy.trace.FileTraceListener.getOrCreateSharedInstance(FileTraceListener.java:32)
        at sun.plugin.JavaRunTime.initTraceEnvironment(JavaRunTime.java:244)
        at sun.plugin2.applet.Applet2Environment$2.run(Applet2Environment.java:301)
        at java.lang.Thread.run(Thread.java:722)

              nam Nam Nguyen (Inactive)
              nam Nam Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: