JDK-4744945 : JWS 1.2 application cannot delete after upgrade
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-09-10
  • Updated: 2002-11-19
  • 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

Name: pa48320			Date: 09/10/2002


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) 
======================================================================

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

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) ###@###.### 2002-10-30
30-10-2002