Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900475

Jcov Browser GUI fails to load empty coverage data

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



      Name: izR10247 Date: 09/29/2003



      Current b10 Jcov implementation can't reload coverage data
      then empty Jcov data file used. To reproduce this bug please
      try to do following:

      1. Start Jcov Browser GUI.
      2. Load non-empty coverage data using 'File' -> 'open jcov data file...'
         menu item.
      3. Repeat 2 step using empty jcov data file. This file should be in
         Jcov format:
      ---------- empty Jcov coverage data file begin -----------
      JCOV-DATA-FILE-VERSION: 2.0
      ---------- empty Jcov coverage data file end -------------


      Also the following unexpected exception generated:

      java.lang.ArrayIndexOutOfBoundsException
              at java.lang.System.arraycopy(Native Method)
              at com.sun.tdk.jcov.gui.browser.share.DefaultTableModel.setDataSource(DefaultTableModel.java:68)
              at com.sun.tdk.jcov.gui.browser.swing.StatTableModel.setDataSource(StatTableModel.java:59)
              at com.sun.tdk.jcov.gui.browser.swing.ClassTableFrame.showOpenDataFileDialog(ClassTableFrame.java:255)
              at com.sun.tdk.jcov.gui.browser.swing.ClassTableFrame$3.actionPerformed(ClassTableFrame.java:66)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
              at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
              at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
              at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
              at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
              at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
              at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
              at java.awt.Component.processMouseEvent(Component.java:5021)
              at java.awt.Component.processEvent(Component.java:4818)
              at java.awt.Container.processEvent(Container.java:1380)
              at java.awt.Component.dispatchEventImpl(Component.java:3526)
              at java.awt.Container.dispatchEventImpl(Container.java:1437)
              at java.awt.Component.dispatchEvent(Component.java:3367)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
              at java.awt.Container.dispatchEventImpl(Container.java:1423)
              at java.awt.Window.dispatchEventImpl(Window.java:1566)
              at java.awt.Component.dispatchEvent(Component.java:3367)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)


      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            afedorch Alexey Fedorchenko (Inactive)
            Reporter:
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: