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 112599 - NPE in org.netbeans.spi.project.support.ant.EditableProperties
Summary: NPE in org.netbeans.spi.project.support.ant.EditableProperties
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 15:50 UTC by rost
Modified: 2008-06-18 19:20 UTC (History)
1 user (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 rost 2007-08-12 15:50:18 UTC
I was working on a UML project (can't remember exactly what I was doing) when I got the following NPE:

java.lang.NullPointerException
	at org.netbeans.spi.project.support.ant.EditableProperties.put(EditableProperties.java:218)
	at org.netbeans.spi.project.support.ant.EditableProperties.setProperty(EditableProperties.java:252)
	at 
org.netbeans.modules.uml.project.ui.customizer.UMLProjectProperties.storeProperties(UMLProjectProperties.java:260)
	at org.netbeans.modules.uml.project.ui.customizer.UMLProjectProperties.access$000
(UMLProjectProperties.java:59)
	at org.netbeans.modules.uml.project.ui.customizer.UMLProjectProperties$1.run(UMLProjectProperties.java:188)
	at org.openide.util.Mutex.writeAccess(Mutex.java:356)
	at org.netbeans.modules.uml.project.ui.customizer.UMLProjectProperties.save(UMLProjectProperties.java:184)
	at 
org.netbeans.modules.uml.project.ui.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:221)
	at 
org.netbeans.modules.uml.project.ui.customizer.uiapi.UMLCustomizerDialog$OptionListener.actionPerformed(UMLCustomizerDialog.java:124)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Jana Maleckova 2007-08-14 09:21:09 UTC
can you reproduce this NPE ? please try to investigate steps which causes this exception and provide more information.
it will help us to fix it ... 

reassigned to uml for evaluation
Comment 2 rost 2007-08-15 16:46:13 UTC
> can you reproduce this NPE ?
No, I really don't remember the exact steps I took before this Exception was thrown.

> please try to investigate steps which causes this exception and provide more information.
I can try but I can not guarantee that I really manage to reproduce the problem. Is there a way to run NetBeans in 
some kind of debug mode so that the log file or console output shows the last steps taken before an Exception is 
thrown?
Comment 3 Joanne Lau 2008-06-18 19:19:56 UTC
Not reproducible.  
Comment 4 Joanne Lau 2008-06-18 19:20:34 UTC
verified in 6.5 build