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: 4744945
Votes 0
Synopsis JWS 1.2 application cannot delete after upgrade
Category javawebstart:app_mgr
Reported Against 1.2
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 10-SEP-2002
Description




FULL PRODUCT VERSION :
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

FULL OPERATING SYSTEM VERSION : Windows NT Version 4.0
(client)

ADDITIONAL OPERATING SYSTEMS : Microsoft Windows 2000
[Version 5.00.2195] (http server)



A DESCRIPTION OF THE PROBLEM :
After upgrading from Java Web Start 1.0.1 to 1.2, which was
installed as a result of installing 1.4.1, any existing
downloaded applications cannot be deleted with the "Remove
Application" menu selection.

However, if you add another downloaded application, then
you can delete the original downloaded applications with
the "Remove Application" menu selection.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Install JWS 1.0.1
2. Download an application (I did 2)
3. Upgrade to JWS 1.2
4. Try to "Remove Application", won't work.
5. Download another application.
6. Try to "Remove Application" to delete the original
application that wouldn't delete. Now it will delete.

EXPECTED VERSUS ACTUAL BEHAVIOR :
I expected step 4 above to delete the old application. The
JWS application manager would not delete it until later.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
no messages, no exceptions, and the applications were not removed.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER WORKAROUND :
If you download a new application, all applications are
removable.
(Review ID: 164250) 
======================================================================
Work Around
N/A
Evaluation
it is caused by a NPE:

Java Web Start 1.4.2-internal Console, started Wed Oct 30 18:17:56 PST 2002
Java 2 Runtime Environment: Version 1.4.2 by Sun Microsystems Inc.
java.lang.NullPointerException
        at com.sun.javaws.SplashGenerator.addSplashToCacheIndex(SplashScreen.java:409)
        at com.sun.javaws.SplashGenerator.remove(SplashScreen.java:176)
        at com.sun.javaws.SplashScreen.removeCustomSplash(SplashScreen.java:116)
        at com.sun.javaws.cache.InstallCache.remove(InstallCache.java:206)
        at com.sun.javaws.ui.player.CacheEntryManager.remove(CacheEntryManager.java:132)
        at com.sun.javaws.ui.player.Player.remove(Player.java:730)
        at com.sun.javaws.ui.player.Player.access$1100(Player.java:51)
        at com.sun.javaws.ui.player.Player$11.actionPerformed(Player.java:884)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(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)


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


PLEASE NOTE: JDK6 is formerly known as Project Mustang