JDK-4708051 : Exception coming when you try to "Clear Folder" with View/Download_Appl enabled
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-06-26
  • Updated: 2002-11-26
  • Resolved: 2002-11-19
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 Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Description
Javaws1.2-beta(build rc-b14)
Exception coming when you try to "Clear Folder" with View/Download_Application enabled.
Looks like AWT or Java2D bug, but I can not find the way to reproduce it outside Javaws
Platform: Windows2000, can not reproduce on Solaris and Linux
Log:
Java Web Start 1.2-beta Console, started Fri Jun 21 15:40:04 PDT 2002
Java 2 Runtime Environment: Version 1.4.1-rc by Sun Microsystems Inc.
Logging to file: S:\sergei\latest\log
java.lang.NullPointerException
	at sun.awt.font.FontDesignMetrics.stringWidth(Unknown Source)
	at com.sun.javaws.ui.general.LinkButton.paintComponent(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
	at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
	at javax.swing.JComponent._paintImmediately(Unknown Source)
	at javax.swing.JComponent.paintImmediately(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at 		java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
	
	Steps to reproduce:
	
- install jaws_b14 (jaws_b11,b13 same)
- start Appman
- enable java console (File/Preferences/Advanced/Show Java Console
- run Notepad (just to create cache)   
- View\Downloaded Application you can see Notepad there and now close Appman 
(with the View\Downloaded Application enabled).
- start Appman again, you can see your downloaded application (Notepad)
- File/Preferences/Advance/Clear Folder/Yes ---> exception coming

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis VERIFIED IN: mantis-beta
31-08-2004

EVALUATION investigate for mantis ###@###.### 2002-07-23 cannot reproduce. ###@###.### 2002-08-12 I am unable to reproduce this problem with b14 or b19. I will close this bug on the 30th of Aug. ###@###.### 2002-08-21 -------- fixed in LinkButton.java ###@###.### 2002-10-11 --------
21-08-2002