United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4708051 Exception coming when you try to "Clear Folder" with View/Download_Appl enabled
4708051 : Exception coming when you try to "Clear Folder" with View/Download_Appl enabled

Details
Type:
Bug
Submit Date:
2002-06-26
Status:
Closed
Updated Date:
2002-11-26
Project Name:
JDK
Resolved Date:
2002-11-19
Component:
deploy
OS:
windows_2000
Sub-Component:
webstart
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.2.0
Fixed Versions:
1.4.2

Related Reports

Sub Tasks

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


                                     
2004-08-31
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
--------
                                     
2002-08-21



Hardware and Software, Engineered to Work Together