Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4708051
Votes 0
Synopsis Exception coming when you try to "Clear Folder" with View/Download_Appl enabled
Category javawebstart:other
Reported Against 1.2
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, Verified, bug
Priority: 4-Low
Related Bugs
Submit Date 26-JUN-2002
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
Work Around
N/A
Evaluation
investigate for mantis

 xxxxx@xxxxx  2002-07-23


cannot reproduce.


 xxxxx@xxxxx  2002-08-12

I am unable to reproduce this problem with b14 or b19.
I will close this bug on the 30th of Aug.
 xxxxx@xxxxx  2002-08-21


--------
fixed in LinkButton.java

 xxxxx@xxxxx  2002-10-11
--------
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang