[ pmd-Bugs-2892293 ] FileNotFoundException running designer for the first time

View: New views
1 Messages — Rating Filter:   Alert me  

[ pmd-Bugs-2892293 ] FileNotFoundException running designer for the first time

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2892293, was opened at 2009-11-04 15:13
Message generated for change (Tracker Item Submitted) made by nradov
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=479921&aid=2892293&group_id=56262

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pmd
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nick Radov (nradov)
Assigned to: Tom Copeland (tomcopeland)
Summary: FileNotFoundException running designer for the first time

Initial Comment:
I ran PMD rule designer (designer.bat) for the first time. It worked but the command prompt window showed the errors copied below. I don't have that ".pmd_designer" file, but even so I think the program should be able to handle that condition without throwing an exception.

java.io.FileNotFoundException: C:\Documents and Settings\nradov\.pmd_designer (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileReader.<init>(Unknown Source)
        at net.sourceforge.pmd.util.designer.CodeEditorTextPane.loadCode(CodeEditorTextPane.java:86)
        at net.sourceforge.pmd.util.designer.CodeEditorTextPane.<init>(CodeEditorTextPane.java:23)
        at net.sourceforge.pmd.util.designer.Designer.<init>(Designer.java:586)
        at net.sourceforge.pmd.util.designer.Designer.main(Designer.java:816)
java.io.FileNotFoundException: C:\Documents and Settings\nradov\.pmd_designer (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileReader.<init>(Unknown Source)
        at net.sourceforge.pmd.util.designer.CodeEditorTextPane.loadCode(CodeEditorTextPane.java:86)
        at net.sourceforge.pmd.util.designer.CodeEditorTextPane.<init>(CodeEditorTextPane.java:23)
        at net.sourceforge.pmd.util.designer.CreateXMLRulePanel.<init>(CreateXMLRulePanel.java:28)
        at net.sourceforge.pmd.util.designer.Designer.createRuleXML(Designer.java:694)
        at net.sourceforge.pmd.util.designer.Designer.access$1300(Designer.java:114)
        at net.sourceforge.pmd.util.designer.Designer$2.actionPerformed(Designer.java:684)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=479921&aid=2892293&group_id=56262

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pmd-devel mailing list
Pmd-devel@...
https://lists.sourceforge.net/lists/listinfo/pmd-devel