Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6315084

PIT : ArrayIndexOutOfBoundsException while trying to remove resources

XMLWordPrintable

    • b52
    • generic
    • generic
    • Verified

      ArrayIndexOutOfBoundsException while trying to remove resources

      Tested OS : All
      Tested Build : Mustang PIT build 50

      Steps to reproduce :

      1. Install mustang PIT build 50 (23-Aug-2005)
      2. Clear Cache
      3. Import notepad application (./javaws -import http://java.sun.com/products/javawebstart/apps/notepad.jnlp)
      4. Launch Java Cache Viewer
      5. Choose resources from Show combo box
      6. Select 2 of the three resources and Delete them together

      ArrayIndexOutOfBoundsException thrown in the log file

      java.lang.ArrayIndexOutOfBoundsException: 2
              at com.sun.javaws.ui.CacheTable$CacheTableModel.getCacheObject(Unknown Source)
              at com.sun.javaws.ui.CacheTable.getCacheObject(Unknown Source)
              at com.sun.javaws.ui.CacheViewer.getSelectedCacheObjects(Unknown Source)
              at com.sun.javaws.ui.CacheViewer.enableButtons(Unknown Source)
              at com.sun.javaws.ui.CacheViewer.valueChanged(Unknown Source)
              at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
              at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
              at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
      .
      .
      .

            herrick Andy Herrick (Inactive)
            mnarayansunw Malathi Narayanan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: