JDK-7087158 : NPE in FileTraceListener when running Fx JNLP
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7-client
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-05
  • Updated: 2013-09-12
  • Resolved: 2011-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
7u2 b04Fixed 8Fixed
(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:

	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)