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

NPE in FileTraceListener when running Fx JNLP

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7-client
    • Fix Version/s: 7u2
    • Component/s: deploy

      Backports

        Description

        (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)

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: