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.
Description: Steps to reproduce: - Create orchestration project and open bpel multy-view editor. - Add Compensation Handlers to process. - Add Compensate pattern to Compensation Handlers. - Select Compensate element on diagram. - Change property 'Scope Name' to incorrect value (set it empty) and press Enter. - Following exception occcurs: org.netbeans.modules.soa.model.bpel.api.events.VetoException: String '' is not acceptable as value for attribute 'scope'. at org.netbeans.modules.soa.model.bpel.xmlbeans.impl.services.CheckNameVisitor.setEvent(CheckNameVisitor.java:106) at org.netbeans.modules.soa.model.bpel.xmlbeans.impl.wrappers.BpelModelImpl.preActionInnerHandler(BpelModelImpl.java:233) at org.netbeans.modules.soa.model.bpel.xmlbeans.impl.wrappers.BpelEntityImpl.attributePreSet(BpelEntityImpl.java:206) at org.netbeans.modules.soa.model.bpel.xmlbeans.impl.wrappers.CompensateImpl.setScope(CompensateImpl.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.openide.nodes.PropertySupport$Reflection.setValue(PropertySupport.java:287) at org.openide.explorer.propertysheet.NodePropertyModel.setValue(NodePropertyModel.java:82) at org.openide.explorer.propertysheet.PropUtils.noDlgUpdateProp(PropUtils.java:559) at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:527) at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:633) at org.openide.explorer.propertysheet.SheetCellEditor.stopCellEditing(SheetCellEditor.java:344) at org.openide.explorer.propertysheet.SheetCellEditor.actionPerformed(SheetCellEditor.java:211) at javax.swing.JTextField.fireActionPerformed(JTextField.java:487) at javax.swing.JTextField.postActionEvent(JTextField.java:668) at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:783) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571) at javax.swing.JComponent.processKeyBinding(JComponent.java:2763) at javax.swing.JComponent.processKeyBindings(JComponent.java:2798) at javax.swing.JComponent.processKeyEvent(JComponent.java:2726) at java.awt.Component.processEvent(Component.java:5265) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636) at java.awt.Component.dispatchEventImpl(Component.java:3841) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
The Compensation feature is not supported by runtime so is temporary hidden.
the later has come
This issue depends on accessibility of Scope element. Now it is disabled and impossible to create from palette because of it doesn't supported by runtime.
you can test this bug by editing the source code and adding the BPEL directly to the source code. But you can also postpone this bug and mark it "Later". At this time I would say, make this bug "last" in your list and if you cannot get to it by the end of the cycle then change status to "Later"'''''''''
The issue is fixed with the following limitations -- Now there are two BPEL elements <compensate> and <compensateScope> Only the <compensateScope> supports the target attribute where a Scope or some other elements can be specified. -- The current diagram doesn't support the compensate and compesnateScope elements. So to check the issue it's necessary to do the following: -- Add FaultHandler and Catch (CatchAll) to a scope or the process. -- In sourece editor add the compensateScope element lines like this: <faultHandlers> <catch> <sequence name="Sequence2"> <compensateScope name="aaaa" target="ReserveAirline"/> </sequence> </catch> </faultHandlers> -- switch to designer and select the new compensateScope element in the Navigator. -- The property sheet will show the properties. See the "Target" property. The Target property is the combo-box so the problem should not be reproduced.
Verified in build 061001.