United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7087158 NPE in FileTraceListener when running Fx JNLP
JDK-7087158 : NPE in FileTraceListener when running Fx JNLP

Details
Type:
Bug
Submit Date:
2011-09-05
Status:
Resolved
Updated Date:
2011-09-22
Project Name:
JDK
Resolved Date:
2011-09-06
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b04)

Related Reports
Backport:

Sub Tasks

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)

                                    

Comments
EVALUATION

Fixed in 7-client with changeset:
http://jfxsrc.us.oracle.com/javafx/client/7-client/deploy/deploy/rev/0e1e0f70c162
                                     
2011-09-06



Hardware and Software, Engineered to Work Together