Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362890

Summary: "Duplicate object" action not working in BPEL Designer
Product: z_Archived Reporter: Tobias Liefke <eclipse>
Component: BPELAssignee: Tobias Liefke <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Tobias Liefke CLA 2011-11-04 07:38:55 EDT
The "Duplicate object" action is currently not working in the BPEL Designer.

For most objects it is disabled. Its enabled if you click on the background twice, but clicking does nothing and produces the following log output:
java.lang.NullPointerException
	at org.eclipse.bpel.ui.actions.BPELDuplicateAction.getCommand(BPELDuplicateAction.java:93)
	at org.eclipse.bpel.ui.actions.EditAction.run(EditAction.java:113)
	at org.eclipse.bpel.ui.actions.BPELDuplicateAction.run(BPELDuplicateAction.java:141)

Looking at the code it seems that the last time that action was working was before the BPELEditor was part of the BPELMultipageEditorPart.
Comment 1 Tobias Liefke CLA 2011-11-04 10:24:31 EDT
The problem did only occur for the toolbar action (not for the context menu). 

It's now fixed -or everything except the extension activities - which lead to another problem for that I opened bug 362912.