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 95655 - NPE on close and discard BPEL diagram
Summary: NPE on close and discard BPEL diagram
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 09:36 UTC by Maksim Khramov
Modified: 2007-02-22 14:24 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 Maksim Khramov 2007-02-15 09:36:34 UTC
Steps to reproduce 
1.Create and open BPEL diagram.
2. Add some activity to diagram
3. Close and discard diagram
NPE is thrown:
java.lang.NullPointerException
[catch] at
org.netbeans.modules.bpel.core.BPELDataEditorSupport$4$1.run(BPELDataEditorSupport.java:241)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:598)
	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 Lunegov 2007-02-15 10:10:02 UTC
Denis, please look at this and evaluate
Comment 2 Denis Anisimov 2007-02-15 12:37:52 UTC
There was s problem in resolveCloseOperation() method of CloseHandler class.
One don't need to call reloadDocument() while closing.
Comment 3 Maksim Khramov 2007-02-22 14:24:20 UTC
Verified in build 07.02.20