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: 4795116
Votes 0
Synopsis Exception thrown when accessing File->Preferences->Advanced
Category javawebstart:app_mgr
Reported Against 1.2
Release Fixed
State 11-Closed, duplicate of 4757168, bug
Priority: 3-Medium
Related Bugs 4757168
Submit Date 17-DEC-2002
Description
can you zip up your 




FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)

FULL OPERATING SYSTEM VERSION : Windows 2000


A DESCRIPTION OF THE PROBLEM :
The Java Web Start Application Manager throws an exception
when I click the Advanced tab (in File->Preferences).

I've recently discovered that the problem doesn't occur when Web Start is
initially installed. I am actually able to set the log options through the
Java -> Preferences -> Advanced tab within the application manager. That
is, until I download my application. This is true for both 1.0.1 and 1.2.

The problem does occur with Web Start 1.2 with a slightly different twist.
i.e. the application manager crashes when I click the Java -> Preferences
-> Advanced tab. Below is the stack trace that is written to the log file.

Bug 4634008 reported seeing the same exception as well as a problem with 
the registry, but I'm not seeing the StringIndexOutOfBoundsException that
was also reported in that bug.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Start the Java Web Start Application Manager
2. Click File->Preferences
3. Click Advanced

EXPECTED VERSUS ACTUAL BEHAVIOR :
The "Advanced" tab should be displayed. Instead, nothing
happens.

ERROR MESSAGES/STACK TRACES THAT OCCUR :


Java Web Start 1.2 Console, started Mon Dec 09 09:43:15 EST 2002
Java 2 Runtime Environment: Version 1.4.1_01 by Sun Microsystems Inc.
Logging to file: C:\Temp\javaws.log
Assert failure: should never return null
java.lang.Throwable
      at com.sun.javaws.debug.Debug.dumpStack(Unknown Source)
      at com.sun.javaws.debug.Debug.jawsAssert(Unknown Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCacheHelper(Unknown
Source)
      at com.sun.javaws.cache.DiskCache.visitDiskCache(Unknown Source)
      at com.sun.javaws.cache.DiskCache.getCacheSize(Unknown Source)
      at com.sun.javaws.ui.prefs.AdvancedPanel.revert(Unknown Source)
      at
com.sun.javaws.ui.prefs.AdvancedPanel.createPropertyControls(Unknown
Source)
      at com.sun.javaws.ui.prefs.PrefsPanel$PropertyPanel.start(Unknown
Source)
      at
com.sun.javaws.ui.general.AbstractController.setActiveSubcontrollerIndex(Unknown
 Source)
      at com.sun.javaws.ui.prefs.PrefsPanel.setSelectedTab(Unknown Source)
      at com.sun.javaws.ui.prefs.PrefsPanel.stateChanged(Unknown Source)
      at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
      at
javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
      at
javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
      at
javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
      at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
      at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
      at
javax.swing.plaf.basic.BasicTabbedPaneUI$MouseHandler.mousePressed(BasicTabbedPaneUI.java:3051)
      at java.awt.Component.processMouseEvent(Component.java:5090)
      at java.awt.Component.processEvent(Component.java:4890)
      at java.awt.Container.processEvent(Container.java:1566)
      at java.awt.Component.dispatchEventImpl(Component.java:3598)
      at java.awt.Container.dispatchEventImpl(Container.java:1623)
      at java.awt.Component.dispatchEvent(Component.java:3439)
      at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3162)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      at java.awt.Container.dispatchEventImpl(Container.java:1609)
      at java.awt.Window.dispatchEventImpl(Window.java:1585)
      at java.awt.Component.dispatchEvent(Component.java:3439)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 178468) 
======================================================================
Work Around
N/A
Evaluation
The symptoms indicate that the problem is due to a corrupted cache.
We have not been able to reproduce here, but have asked the submitter for more information
  xxxxx@xxxxx   2002-12-19

Actually this is caused by the same underlying problem as :
4757168: Jaws application not properly cached if PATH to the application contain letter N

  xxxxx@xxxxx   2002-12-19
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang