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 111960 - intermittently get NPE when save project
Summary: intermittently get NPE when save project
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 22:38 UTC by Sherry Zhou
Modified: 2009-05-25 21:06 UTC (History)
0 users

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 Sherry Zhou 2007-08-03 22:38:18 UTC
build 070803

When try to save in Java editor, IDE throws NPE intermittently.

Steps:
1. Create a class diagram. Add a class diagram. 
2. Generate code then navigate to source
3. Add a comment line then save

java.lang.NullPointerException
	at org.netbeans.modules.uml.core.Application.saveProject(Application.java:454)
	at org.netbeans.modules.uml.ui.products.ad.applicationcore.ADApplication.saveProject(ADApplication.java:402)
	at org.netbeans.modules.uml.project.UMLProjectHelper.saveProject(UMLProjectHelper.java:321)
[catch] at org.netbeans.modules.uml.project.UMLProjectDataObject$Save$1.run(UMLProjectDataObject.java:229)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	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 Sergey Petrov 2009-01-26 12:03:47 UTC
need to find if possible to reproduce.