classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mauve results


From: David Gilbert
Subject: Re: Mauve results
Date: Wed, 02 Nov 2005 22:15:07 +0000
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051026)

David Gilbert wrote:


I've found a good free-swing candidate to work on for the next release cycle:

http://findbugs.sourceforge.net/

This is a really useful tool for finding common bugs, I've run it a few times on my own projects and it always highlights something that needs fixing.

Anyway, the Swing GUI is a shade more complex than the JUnit TestRunner, but not so complex that we don't have a chance to get it working. It uses the JFileChooser (so that will give me something to focus on with the patch I've been working on), some menus that could be tidied up, some custom tree cell rendering, some layout issues, but already looks like it is not far short of doing something useful. The only downside is that it uses HTML for some output...I guess we won't get that to work in the short term.

Thoughts anyone?

Regards,

Dave


I got this to run through an analysis on JFreeChart (hundreds of classes) but, alas, it fails at the last step so I didn't get to see the output:

Exception during event dispatch:
java.lang.ArrayIndexOutOfBoundsException
  at java.lang.VMSystem.arraycopy (Native Method)
  at java.lang.System.arraycopy (System.java:234)
  at javax.swing.text.BoxView.replace (BoxView.java:250)
  at javax.swing.text.View.updateChildren (View.java:385)
  at javax.swing.text.View.insertUpdate (View.java:293)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate (BasicTextUI.java:304) at javax.swing.plaf.basic.BasicTextUI$DocumentHandler.insertUpdate (BasicTextUI.java:382) at javax.swing.text.AbstractDocument.fireInsertUpdate (AbstractDocument.java:285) at javax.swing.text.AbstractDocument.insertString (AbstractDocument.java:547)
  at javax.swing.text.AbstractDocument.replace (AbstractDocument.java:732)
  at javax.swing.text.JTextComponent.setText (JTextComponent.java:1025)
  at javax.swing.JEditorPane.setText (JEditorPane.java:751)
at edu.umd.cs.findbugs.gui.AnalysisErrorDialog.finish (AnalysisErrorDialog.java:220) at edu.umd.cs.findbugs.gui.FindBugsFrame.findBugsButtonActionPerformed (FindBugsFrame.java:2196) at edu.umd.cs.findbugs.gui.FindBugsFrame.access$3000 (FindBugsFrame.java:127) at edu.umd.cs.findbugs.gui.FindBugsFrame$13.actionPerformed (FindBugsFrame.java:863)

But the GUI to start the analysis is usable, and highlights some things to fix in our swing implementation.

Regards,

Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]