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

ArrayIndexOutOfBoundsException thrown when right clicked on cache viewer table

XMLWordPrintable

    • b50
    • generic
    • generic
    • Verified

      JDK-Info:
      ---------
      PIT b48


      Operating System:
      -----------------
      Solaris/Linux/Windows


      Steps to Reproduce:
      -------------------
      1) Install jre
      2) Clean cache
      3) Launch JCP
      4) Click "View..." button
      Java Cache Viewer Pops up
      5) Right click on empty table where applications are to be listed

      ArrayIndexOutOfBoundsException is thrown

      ramkumar:/home/rk145013/build/pit/b48/solsparc/jdk1.6.0/bin 439 % ./ControlPanel
      Exception occurred during event dispatching:
      java.lang.ArrayIndexOutOfBoundsException: 3
      at com.sun.javaws.ui.CacheTable$CacheTableModel.getCacheObject(CacheTable.java:328)
      at com.sun.javaws.ui.CacheTable.getCacheObject(CacheTable.java:185)
      at com.sun.javaws.ui.CacheViewer.getSelectedCacheObjects(CacheViewer.java:844)
      at com.sun.javaws.ui.CacheViewer.enableButtons(CacheViewer.java:1020)
      at com.sun.javaws.ui.CacheViewer.valueChanged(CacheViewer.java:1009)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)

            herrick Andy Herrick (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: