Name: kbR10066 Date: 09/26/2003
The following bugs have been revealed
--------------------
JCov-MergerGUI-005
JCov-MergerGUI-072
JCov-RepGenGUI-005
JCov-RepGenGUI-083
JCov-TemplGenGUI-005
JCov-TemplGenGUI-077
JCov-InstrumentorGUI-005
JCov-InstrumentorGUI-083
Attempt to close current GUI window if there are other open
JCov GUI windows causes a stack trace to be printed to the console:
java.lang.NullPointerException
at java.awt.Container.remove(Container.java:577)
at javax.swing.JMenu.remove(JMenu.java:843)
at com.sun.tdk.jcov.gui.share.SwingMenuWrapper.remove(SwingMenuWrapper.java:33)
at com.sun.tdk.jcov.gui.share.FrameManager.removeFrame(FrameManager.java:98)
at com.sun.tdk.jcov.gui.share.FrameManager.killFrame(FrameManager.java:114)
at com.sun.tdk.jcov.gui.tools.ToolFrame.exit(ToolFrame.java:861)
. . .
--------------------
JCov-MergerGUI-096
pressing the run button with unexisting input file causes the following message
in the console:
java.lang.Error: Interrupted attempt to aquire write lock
at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1346)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:699)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:114)
at javax.swing.JTextArea.append(JTextArea.java:465)
at com.sun.tdk.jcov.gui.share.TextAreaPrintStream.println(TextAreaPrintStream.java:45)
at java.lang.Throwable.printStackTrace(Throwable.java:464)
at com.sun.tdk.jcov.tools.Log.printStackTrace(Log.java:131)
at com.sun.tdk.jcov.gui.tools.ToolFrame$24.run(ToolFrame.java:705)
Not specifying output file also leads to an error message on the console:
java.lang.NullPointerException
at com.sun.tdk.jcov.io.Writer.write(Writer.java:179)
java.lang.Error: Interrupted attempt to aquire write lock
at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1346)
. . .
--------------------
JCov-RepGenGUI-107
pressing the run button with a non-existent file specified as an input file causes the following stack trace:
java.io.FileNotFoundException: no_such_file (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:39)
at com.sun.tdk.jcov.io.Reader.openFile4Reading(Reader.java:152)
at com.sun.tdk.jcov.RepGenMain.run(RepGenMain.java:168)
at com.sun.tdk.jcov.gui.tools.ToolFrame$24.run(ToolFrame.java:703)
*** Error : cannot open file: no_such_file : no_such_file (No such file or directory)
Error handling should be improved here.
--------------------
JCov-TemplGenGUI-041
"single class" option UI does not have a button to launch file chooser, which is
inconvenient and inconsistent with other similar options.
======================================================================