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.
Create BPEL module project. Create XML schema document Create BPEL process document Add schema document to process imports Add any activity to diagram Close ad discard diagram. Two exceptions are thrown (see attachment) and document not closed.
Created attachment 33161 [details] Stacktrace log for this issue
Reassigning to another category, according to stacktrace content. Denis, please have a look also.
IMO, this is not an XDM bug, sync should not be called on discard. Using the same scenario in Schema does not throw the exception. It looks like BPELDataEditorSupport$CloseHandler.resolveCloseOperation() needs to be fixed. It needs to be revisited. It should look something like SchemaEditorSupport$CloseHandler.resolveCloseOperation() <- of SchemaEditorSupport.java, revision 1.1.2.20 Please look at the comments in the fixes for similar issues in Schema Core done by Nam and Nathan SchemaEditorSupport.java, 1.1.2.10 -> 1.1.2.11 SchemaEditorSupport.java, 1.1.2.14 -> 1.1.2.15
It is fixed locally. I will check in this fix together with fix to another bug ( undo/redo issue ).
CloseHandler changed appropriately.
Verified in build 060827