This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 80892 - Enterprise Pack (Add New [UML] Diagram) Exception
Summary: Enterprise Pack (Add New [UML] Diagram) Exception
Status: RESOLVED WONTFIX
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
: 80894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-22 17:57 UTC by genericprodigy
Modified: 2009-01-15 15:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description genericprodigy 2006-07-22 17:57:40 UTC
When attempting to add a new diagram by going to my project -> Diagrams, then
right click and Add Diagram, I receive an exception, which prevents me from
further usage:

java.lang.IllegalArgumentException: Parameter file was not normalized. Was
/Users/pjlaszkowicz/Workspaces/calderdale/Calderdale.etd instead of
/Users/pjlaszkowicz/Workspaces/calderdale/calderdale.etd
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:416)
	at
org.netbeans.modules.uml.project.ProjectUtil.findNetBeansProjectForModel(ProjectUtil.java:117)
	at
org.netbeans.modules.uml.project.ProjectUtil.findReferencingProject(ProjectUtil.java:102)
	at
org.netbeans.modules.uml.project.ui.nodes.actions.NewDiagramType.create(NewDiagramType.java:86)
	at org.openide.actions.NewAction.performAction(NewAction.java:79)
	at org.openide.actions.NewAction.access$100(NewAction.java:43)
	at
org.openide.actions.NewAction$ActSubMenuModel.performActionAt(NewAction.java:233)
	at org.openide.actions.NewAction$DelegateAction.actionPerformed(NewAction.java:275)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5554)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5319)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jan Lahoda 2006-07-22 19:06:30 UTC
AFAIK, this exception means that
org.netbeans.modules.uml.project.ProjectUtil.findNetBeansProjectForModel passes
a non-normalized file into FileUtil.toFileObject, which is not permitted. Should
be IMO fixed in org.netbeans.modules.uml.project.ProjectUtil.
Comment 2 Jan Lahoda 2006-07-22 19:09:40 UTC
*** Issue 80894 has been marked as a duplicate of this issue. ***
Comment 3 Trey Spiva 2007-03-30 23:26:51 UTC
What is an non-normalized file?
Comment 4 Sergey Petrov 2008-11-06 22:16:30 UTC
Any details if it's reproducible with later releases or new fresh installations?
Comment 5 Sergey Petrov 2009-01-15 15:44:47 UTC
also initial exception say about UpperCase first letter vs LowerCase, it may happens after file copying in some cases etc.
feel free to reopen if reproducible for anybody otherwise can't be fixed.