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 83198 - Exceptions on close and discard process
Summary: Exceptions on close and discard process
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: 2006-08-22 15:15 UTC by Maksim Khramov
Modified: 2006-08-28 11:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktrace log for this issue (5.98 KB, application/octet-stream)
2006-08-22 15:16 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2006-08-22 15:15:38 UTC
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.
Comment 1 Maksim Khramov 2006-08-22 15:16:31 UTC
Created attachment 33161 [details]
Stacktrace log for this issue
Comment 2 Alexey Yarmolenko 2006-08-22 21:01:10 UTC
Reassigning to another category, according to stacktrace content. 
Denis, please have a look also.
Comment 3 Ayub Khan 2006-08-23 02:41:22 UTC
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
Comment 4 Denis Anisimov 2006-08-23 12:58:14 UTC
It is fixed locally.
I will check in this fix together with fix to another bug ( undo/redo issue ).
Comment 5 Denis Anisimov 2006-08-24 06:11:38 UTC
CloseHandler changed appropriately.
Comment 6 Maksim Khramov 2006-08-28 11:12:22 UTC
Verified in build 060827