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 166762 - Some Bpel process properties are not read only while bpel model is not well formed
Summary: Some Bpel process properties are not read only while bpel model is not well f...
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 08:19 UTC by Vitaly Bychkov
Modified: 2009-06-09 08:19 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 Vitaly Bychkov 2009-06-09 08:19:52 UTC
Bpel activity properties are not read only while bpel model is not well formed.
Steps to reproduce:
1. open Bpel file
2. go to the source
3. open property sheet window (Ctrl+Shift+7)
4. broke bpel (e.g. delete </process> tag)
5. property sheet shows process activity properties, name and target namespace are available for editing
6. change process name - see Illegal State Exception:
ava.lang.IllegalStateException: Xml file is broken. One cannot mutate model in broken state.
	at org.netbeans.modules.bpel.model.impl.BpelModelImpl.writeLock(BpelModelImpl.java:671)
	at org.netbeans.modules.bpel.model.impl.BpelModelImpl.writeLock(BpelModelImpl.java:565)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.writeLock(BpelEntityImpl.java:702)
	at org.netbeans.modules.bpel.model.impl.AttributeAccess.writeLock(AttributeAccess.java:1278)
	at org.netbeans.modules.bpel.model.impl.AttributeAccess.setBpelAttribute(AttributeAccess.java:227)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.setBpelAttribute(BpelEntityImpl.java:405)
	at org.netbeans.modules.bpel.model.impl.BaseScopeImpl.setName(BaseScopeImpl.java:246)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)