Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » NullPointerException while saving my extensionActivity
NullPointerException while saving my extensionActivity [message #7128] Fri, 16 March 2007 11:11 Go to next message
Florian  is currently offline Florian Friend
Messages: 16
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C767C4.2EFEA600
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I want to extend the designer with the following extensionActivity:

<extensionActivity>
<processor class=3D"something">
<attribute name=3D"foo" value=3D"foo.foo"/>
<sources>
<source linkName=3D"l1"/>
</sources>
</processor>
</extensionActivity>

the processor-activity has a class attribute which should be set via the =
property section.
every processor has n attribute-elements which should be set via the =
property section.
the processor element can have bpel-elements as child nodes -> sources, =
targtes etc.

up to now my approach to achieve this functionality was the following =
(obviously i ve done sth. wrong :)

- i extended the bpel.ecore model in org.eclipse.bpel.model with my =
activities processor
and attribute, both extend Activity.
- i defined a new action - ProcessorAction- through the =
"org.eclipse.bpel.ui.actions" extension point.
- i defined a palette entry for my Processor activity through =
"org.eclipse.bpel.common.ui.paletteAdditions"
- i added adapter-classes in org.eclipse.bpel.ui.adapters for my =
activities

now i can "use" my Processor element in the editor, this means i can put =
it into flow, sequence etc. and i can
define source and target links. but when i want to save the file i get =
the expections stated below.

in the design document http://www.eclipse.org/bpel/developers/model.php =
is mentioned that one has=20
to provide serializers/deserializers. =20
i havent done that yet but the error seems to happen before =
resource2XML(resource) in BPELWriter is called...

Did i misunderstand or have i overseen something in my approach to =
extend the editor with my custom
activities?=20

unfortunately i dont know how to use org.eclipse.bpel.common.model for =
my problem...

Can somebody please give me a hint how to solve this?

Any help would be greatly appreciated.

Thanks
Florian

StackTrace:

java.lang.NullPointerException
at =
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDerivedStructur alFeatureID(B=
asicEObjectImpl.java:1073)
at org.eclipse.bpel.model.impl.ActivityImpl.eGet(ActivityImpl.j ava:321)
at =
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:58=
2)
at =
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eOpenIsSet(Basic EObjectImpl.j=
ava:863)
at =
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImp=
l.java:850)
at =
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImp=
l.java:838)
at =
org.eclipse.bpel.model.impl.ActivityImpl.eIsSet(ActivityImpl .java:437)
at =
org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImp l.hasNext(ECo=
ntentsEList.java:414)
at =
org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.handleC rossReference=
(EcoreUtil.java:1591)
at =
org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.crossRe ference(Ecore=
Util.java:1569)
at =
org.eclipse.emf.ecore.util.EcoreUtil$ExternalCrossReferencer .findExternal=
CrossReferences(EcoreUtil.java:1803)
at =
org.eclipse.emf.ecore.util.EcoreUtil$ExternalCrossReferencer .find(EcoreUt=
il.java:1825)
at =
org.eclipse.bpel.model.resource.BPELWriter.walkExternalRefer ences(BPELWri=
ter.java:474)
at org.eclipse.bpel.model.resource.BPELWriter.write(BPELWriter. java:379)
at =
org.eclipse.bpel.model.resource.BPELResourceImpl.doSave(BPEL ResourceImpl.=
java:138)
at =
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:9=
93)
at =
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:8=
81)
at =
org.eclipse.bpel.common.ui.editmodel.ResourceInfo.save(Resou rceInfo.java:=
144)
at =
org.eclipse.bpel.common.ui.editmodel.EditModel$2.execute(Edi tModel.java:2=
68)
at =
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOper=
ation.java:101)
at =
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at =
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperat=
ion.java:113)
at =
org.eclipse.bpel.common.ui.editmodel.EditModel.saveAll(EditM odel.java:277=
)
at =
org.eclipse.bpel.common.ui.editmodel.EditModelClient.saveAll (EditModelCli=
ent.java:118)
at org.eclipse.bpel.ui.BPELEditor.doSave(BPELEditor.java:773)
at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper. java:130)
at org.eclipse.ui.internal.SaveableHelper$4.run(SaveableHelper. java:257)
at =
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.=
java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at =
org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:7=
63)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at =
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:760=
)
at =
org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2283)
at =
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(Saveab=
leHelper.java:263)
at =
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(Saveab=
leHelper.java:243)
at =
org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelp er.java:135)
at =
org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1414)
at =
org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:2995)
at =
org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:3008)=

at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:67)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at =
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Act=
ionContributionItem.java:539)
at =
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributi=
onItem.java:488)
at =
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContr=
ibutionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at =
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:42=
2)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at =
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at =
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivat=
or.java:78)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:92)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:68)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:4=
00)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)



=20







------=_NextPart_000_0008_01C767C4.2EFEA600
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I want to extend the designer =
with&nbsp;the=20
following extensionActivity:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;extensionActivity&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &lt;processor=20
class=3D"something"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&lt;attribute=20
name=3D"foo" value=3D"foo.foo"/&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&lt;sources&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &lt;source linkName=3D"l1"/&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&lt;/sources&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
&lt;/processor&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;/extensionActivity&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>the processor-activity has a class =
attribute which=20
should be&nbsp;set via the property section.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>every processor has n =
attribute-elements which=20
should be&nbsp;set via the property section.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the processor element can have =
bpel-elements as=20
child nodes -&gt; sources, targtes etc.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>up to now my approach to achieve this =
functionality=20
was the following (obviously i ve done sth. wrong :)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- i extended the bpel.ecore model in=20
org.eclipse.bpel.model with my activities processor</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and attribute, both extend =
Activity.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- i defined a new action -=20
ProcessorAction-&nbsp;through the&nbsp; "org.eclipse.bpel.ui.actions" =
extension=20
point.</FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DArial>- i defined </FONT><FONT =
face=3DArial>a palette=20
entry for my Processor activity through "</FONT></FONT><FONT =
face=3DArial=20
size=3D2>org.eclipse.bpel.common.ui.paletteAdditions"</FONT ></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;- i added adapter-classes in=20
org.eclipse.bpel.ui.adapters for my activities</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>now i can "use" my Processor element in =
the editor,=20
this means i can put it into&nbsp;flow, sequence etc. and i =
can</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>define source and target links. but =
when i want to=20
save the file i get the expections stated below.</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>in the design document </FONT><A=20
href=3D"http://www.eclipse.org/bpel/developers/model.php"><FONT =
face=3DArial=20
size=3D2>http://www.eclipse.org/bpel/developers/model.php</FONT></A><FONT=
=20
face=3DArial size=3D2>&nbsp;is mentioned that one has </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>to provide =
serializers/deserializers.&nbsp;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i havent done that yet but the error =
seems to=20
happen before&nbsp;</FONT><FONT face=3DArial =
size=3D2>resource2XML(resource) in=20
BPELWriter is called...</DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Did i misunderstand or&nbsp;have i =
overseen=20
something in&nbsp;my approach to extend the editor with my =
custom</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>activities?&nbsp;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>unfortunately i dont&nbsp;know&nbsp;how =
to=20
use&nbsp;org.eclipse.bpel.common.model for =
my&nbsp;problem...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can somebody please&nbsp;give me a =
hint&nbsp;how=20
to&nbsp;solve this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help would be greatly =
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Florian</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>StackTrace:</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV><FONT color=3D#000080 =
size=3D2>
<DIV align=3Dleft><FONT face=3DArial=20
color=3D#000000>java.lang.NullPointerException</FONT></DIV ></FONT><FONT=20
color=3D#ff0000 size=3D2>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDerivedStructur alFeatureID( <=
/FONT></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>BasicEObjectImpl.java:1073</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.model.impl.ActivityImpl.eGet(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>ActivityImpl.java:321</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>BasicEObjectImpl.java:582</FONT></U></FONT> <FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eOpenIsSet(</FONT ></FONT><U><=
FONT=20
size=3D2><FONT =
face=3DArial>BasicEObjectImpl.java:863</FONT></U></FONT> <FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(</FONT ></FONT><=
U><FONT=20
size=3D2><FONT =
face=3DArial>BasicEObjectImpl.java:850</FONT></U></FONT> <FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(</FONT ></FONT><=
U><FONT=20
size=3D2><FONT =
face=3DArial>BasicEObjectImpl.java:838</FONT></U></FONT> <FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.model.impl.ActivityImpl.eIsSet(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>ActivityImpl.java:437</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImp l.hasNext( </F=
ONT></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>EContentsEList.java:414</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.handleC rossReference=
(</FONT></FONT><U><FONT=20
size=3D2><FONT face=3DArial>EcoreUtil.java:1591</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.crossRe ference( </FON=
T></FONT><U><FONT=20
size=3D2><FONT face=3DArial>EcoreUtil.java:1569</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.util.EcoreUtil$ExternalCrossReferencer .findExternal=
CrossReferences(</FONT></FONT><U><FONT=20
size=3D2><FONT face=3DArial>EcoreUtil.java:1803</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.util.EcoreUtil$ExternalCrossReferencer .find( </FONT>=
</FONT><U><FONT=20
size=3D2><FONT face=3DArial>EcoreUtil.java:1825</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.model.resource.BPELWriter.walkExternalRefer ences( </FONT>=
</FONT><U><FONT=20
size=3D2><FONT face=3DArial>BPELWriter.java:474</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.model.resource.BPELWriter.write(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>BPELWriter.java:379</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.model.resource.BPELResourceImpl.doSave(</FONT ></FONT><U>=
<FONT=20
size=3D2><FONT =
face=3DArial>BPELResourceImpl.java:138</FONT></U></FONT> <FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(</FONT ></FONT><U><F=
ONT=20
size=3D2><FONT face=3DArial>ResourceImpl.java:993</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(</FONT ></FONT><U><F=
ONT=20
size=3D2><FONT face=3DArial>ResourceImpl.java:881</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.common.ui.editmodel.ResourceInfo.save(</FONT ></FONT><U><=
FONT=20
size=3D2><FONT face=3DArial>ResourceInfo.java:144</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.common.ui.editmodel.EditModel$2.execute(</FONT ></FONT><U=
><FONT=20
size=3D2><FONT face=3DArial>EditModel.java:268</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(</FONT ></FONT><U><F=
ONT=20
size=3D2><FONT =
face=3DArial>WorkspaceModifyOperation.java:101</FONT></U> </FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.internal.resources.Workspace.run(</FONT></FONT ><U><FONT =

size=3D2><FONT face=3DArial>Workspace.java:1737</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.actions.WorkspaceModifyOperation.run(</FONT> </FONT><U><FON=
T=20
size=3D2><FONT =
face=3DArial>WorkspaceModifyOperation.java:113</FONT></U> </FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.common.ui.editmodel.EditModel.saveAll(</FONT ></FONT><U><=
FONT=20
size=3D2><FONT face=3DArial>EditModel.java:277</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.common.ui.editmodel.EditModelClient.saveAll ( </FONT></FON=
T><U><FONT=20
size=3D2><FONT =
face=3DArial>EditModelClient.java:118</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.bpel.ui.BPELEditor.doSave(</FONT></FONT><U><FONT =
size=3D2><FONT=20
face=3DArial>BPELEditor.java:773</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.SaveableHelper$1.run(</FONT></FONT ><U><FONT =
size=3D2><FONT=20
face=3DArial>SaveableHelper.java:130</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.SaveableHelper$4.run(</FONT></FONT ><U><FONT =
size=3D2><FONT=20
face=3DArial>SaveableHelper.java:257</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.operation.ModalContext.runInCurrentThread( </FONT></FONT=
><U><FONT=20
size=3D2><FONT face=3DArial>ModalContext.java:369</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.operation.ModalContext.run(</FONT></FONT ><U><FONT =
size=3D2><FONT=20
face=3DArial>ModalContext.java:313</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.window.ApplicationWindow$1.run(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>ApplicationWindow.java:763</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.swt.custom.BusyIndicator.showWhile(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>BusyIndicator.java:67</FONT></U></FONT><FONT =

color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.window.ApplicationWindow.run(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>ApplicationWindow.java:760</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.WorkbenchWindow.run(</FONT></FONT> <U><FONT =
size=3D2><FONT=20
face=3DArial>WorkbenchWindow.java:2283</FONT></U></FONT> <FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration( </FONT=
></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>SaveableHelper.java:263</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration( </FONT=
></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>SaveableHelper.java:243</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.SaveableHelper.savePart(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>SaveableHelper.java:135</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.EditorManager.savePart(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>EditorManager.java:1414</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.WorkbenchPage.savePart(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>WorkbenchPage.java:2995</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.WorkbenchPage.saveEditor(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>WorkbenchPage.java:3008</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.SaveAction.run(</FONT></FONT><U><FONT =
size=3D2><FONT=20
face=3DArial>SaveAction.java:67</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.action.Action.runWithEvent(</FONT></FONT ><U><FONT =
size=3D2><FONT=20
face=3DArial>Action.java:499</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection( </F=
ONT></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>ActionContributionItem.java:539</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.action.ActionContributionItem.access$2(</FONT ></FONT><U=
><FONT=20
size=3D2><FONT =
face=3DArial>ActionContributionItem.java:488</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.jface.action.ActionContributionItem$6.handleEven t( </FONT></FO=
NT><U><FONT=20
size=3D2><FONT =
face=3DArial>ActionContributionItem.java:441</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.swt.widgets.EventTable.sendEvent(</FONT></FONT ><U><FONT =
size=3D2><FONT=20
face=3DArial>EventTable.java:66</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.swt.widgets.Widget.sendEvent(</FONT></FONT><U ><FONT =
size=3D2><FONT=20
face=3DArial>Widget.java:928</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.swt.widgets.Display.runDeferredEvents(</FONT></FONT ><U><FONT =

size=3D2><FONT face=3DArial>Display.java:3348</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.swt.widgets.Display.readAndDispatch(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>Display.java:2968</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.Workbench.runEventLoop(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>Workbench.java:1930</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.Workbench.runUI(</FONT></FONT><U> <FONT =
size=3D2><FONT=20
face=3DArial>Workbench.java:1894</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(</FONT ></FONT><U>=
<FONT=20
size=3D2><FONT face=3DArial>Workbench.java:422</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.PlatformUI.createAndRunWorkbench(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>PlatformUI.java:149</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.ui.internal.ide.IDEApplication.run(</FONT></FONT ><U><FONT=20
size=3D2><FONT =
face=3DArial>IDEApplication.java:95</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.internal.runtime.PlatformActivator$1.run(</FONT ></FONT><=
U><FONT=20
size=3D2><FONT =
face=3DArial>PlatformActivator.java:78</FONT></U></FONT> <FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(</FONT></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>EclipseAppLauncher.java:92</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start( </FONT=
></FONT><U><FONT=20
size=3D2><FONT =
face=3DArial>EclipseAppLauncher.java:68</FONT></U></FONT ><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(</FONT> </FONT><U><FON=
T=20
size=3D2><FONT =
face=3DArial>EclipseStarter.java:400</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(</FONT> </FONT><U><FON=
T=20
size=3D2><FONT =
face=3DArial>EclipseStarter.java:177</FONT></U></FONT><FONT=20
color=3D#ff0000 size=3D2><FONT face=3DArial =
color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
sun.reflect.NativeMethodAccessorImpl.invoke0(</FONT></FONT ><U><FONT =
size=3D2><FONT=20
face=3DArial>Native Method</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown =
Source)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
java.lang.reflect.Method.invoke(Unknown Source)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.launcher.Main.invokeFramework(</FONT></FONT ><U><FONT=20
size=3D2><FONT face=3DArial>Main.java:336</FONT></U></FONT><FONT =
color=3D#ff0000=20
size=3D2><FONT face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.launcher.Main.basicRun(</FONT></FONT><U> <FONT =
size=3D2><FONT=20
face=3DArial>Main.java:280</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.launcher.Main.run(</FONT></FONT><U><FONT size=3D2><FONT =

face=3DArial>Main.java:977</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000>at=20
org.eclipse.core.launcher.Main.main(</FONT></FONT><U><FONT =
size=3D2><FONT=20
face=3DArial>Main.java:952</FONT></U></FONT><FONT color=3D#ff0000 =
size=3D2><FONT=20
face=3DArial color=3D#000000>)</FONT></DIV></FONT>
<DIV><FONT face=3DArial><FONT size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;<FONT face=3D"Times New Roman"=20
size=3D3>&nbsp;</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0008_01C767C4.2EFEA600--
Re: NullPointerException while saving my extensionActivity [message #7272 is a reply to message #7128] Tue, 10 April 2007 00:42 Go to previous message
Michal Chmielewski is currently offline Michal ChmielewskiFriend
Messages: 58
Registered: July 2009
Member
Florian,

That stack trace below sounds like something I had bumped into as well.

I think it has to do with the way that EMF is used.

Please see this posting ...

http://dev.eclipse.org/mhonarc/lists/bpel-dev/msg00307.html

-m

Florian wrote:
> Hi,
>
> I want to extend the designer with the following extensionActivity:
>
> <extensionActivity>
> <processor class="something">
> <attribute name="foo" value="foo.foo"/>
> <sources>
> <source linkName="l1"/>
> </sources>
> </processor>
> </extensionActivity>
>
> the processor-activity has a class attribute which should be set via the
> property section.
> every processor has n attribute-elements which should be set via the
> property section.
> the processor element can have bpel-elements as child nodes -> sources,
> targtes etc.
>
> up to now my approach to achieve this functionality was the following
> (obviously i ve done sth. wrong :)
>
> - i extended the bpel.ecore model in org.eclipse.bpel.model with my
> activities processor
> and attribute, both extend Activity.
> - i defined a new action - ProcessorAction- through the
> "org.eclipse.bpel.ui.actions" extension point.
> - i defined a palette entry for my Processor activity through
> "org.eclipse.bpel.common.ui.paletteAdditions"
> - i added adapter-classes in org.eclipse.bpel.ui.adapters for my activities
>
> now i can "use" my Processor element in the editor, this means i can put
> it into flow, sequence etc. and i can
> define source and target links. but when i want to save the file i get
> the expections stated below.
>
> in the design document
> http://www.eclipse.org/bpel/developers/model.php is mentioned that one has
> to provide serializers/deserializers.
> i havent done that yet but the error seems to happen
> before resource2XML(resource) in BPELWriter is called...
>
> Did i misunderstand or have i overseen something in my approach to
> extend the editor with my custom
> activities?
>
> unfortunately i dont know how to use org.eclipse.bpel.common.model for
> my problem...
>
> Can somebody please give me a hint how to solve this?
>
> Any help would be greatly appreciated.
>
> Thanks
> Florian
>
> StackTrace:
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDerivedStructur alFeatureID(_BasicEObjectImpl.java:1073_)
> at org.eclipse.bpel.model.impl.ActivityImpl.eGet(_ActivityImpl. java:321_)
> at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(_BasicEObje ctImpl.java:582_)
> at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eOpenIsSet(_Basi cEObjectImpl.java:863_)
> at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(_B asicEObjectImpl.java:850_)
> at
> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(_B asicEObjectImpl.java:838_)
> at org.eclipse.bpel.model.impl.ActivityImpl.eIsSet(_ActivityImp l.java:437_)
> at
> org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImp l.hasNext(_EContentsEList.java:414_)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.handleC rossReference(_EcoreUtil.java:1591_)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.crossRe ference(_EcoreUtil.java:1569_)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$ExternalCrossReferencer .findExternalCrossReferences(_EcoreUtil.java:1803_)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$ExternalCrossReferencer .find(_EcoreUtil.java:1825_)
> at
> org.eclipse.bpel.model.resource.BPELWriter.walkExternalRefer ences(_BPELWriter.java:474_)
> at org.eclipse.bpel.model.resource.BPELWriter.write(_BPELWriter .java:379_)
> at
> org.eclipse.bpel.model.resource.BPELResourceImpl.doSave(_BPE LResourceImpl.java:138_)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(_Resou rceImpl.java:993_)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(_Resou rceImpl.java:881_)
> at
> org.eclipse.bpel.common.ui.editmodel.ResourceInfo.save(_Reso urceInfo.java:144_)
> at
> org.eclipse.bpel.common.ui.editmodel.EditModel$2.execute(_Ed itModel.java:268_)
> at
> org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(_Works paceModifyOperation.java:101_)
> at org.eclipse.core.internal.resources.Workspace.run(_Workspace .java:1737_)
> at
> org.eclipse.ui.actions.WorkspaceModifyOperation.run(_Workspa ceModifyOperation.java:113_)
> at
> org.eclipse.bpel.common.ui.editmodel.EditModel.saveAll(_Edit Model.java:277_)
> at
> org.eclipse.bpel.common.ui.editmodel.EditModelClient.saveAll (_EditModelClient.java:118_)
> at org.eclipse.bpel.ui.BPELEditor.doSave(_BPELEditor.java:773_)
> at org.eclipse.ui.internal.SaveableHelper$1.run(_SaveableHelper .java:130_)
> at org.eclipse.ui.internal.SaveableHelper$4.run(_SaveableHelper .java:257_)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( _ModalContext.java:369_)
> at org.eclipse.jface.operation.ModalContext.run(_ModalContext.j ava:313_)
> at
> org.eclipse.jface.window.ApplicationWindow$1.run(_Applicatio nWindow.java:763_)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(_BusyIndicato r.java:67_)
> at
> org.eclipse.jface.window.ApplicationWindow.run(_ApplicationW indow.java:760_)
> at org.eclipse.ui.internal.WorkbenchWindow.run(_WorkbenchWindow .java:2283_)
> at
> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(_SaveableHelper.java:263_)
> at
> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(_SaveableHelper.java:243_)
> at
> org.eclipse.ui.internal.SaveableHelper.savePart(_SaveableHel per.java:135_)
> at org.eclipse.ui.internal.EditorManager.savePart(_EditorManage r.java:1414_)
> at org.eclipse.ui.internal.WorkbenchPage.savePart(_WorkbenchPag e.java:2995_)
> at
> org.eclipse.ui.internal.WorkbenchPage.saveEditor(_WorkbenchP age.java:3008_)
> at org.eclipse.ui.internal.SaveAction.run(_SaveAction.java:67_)
> at org.eclipse.jface.action.Action.runWithEvent(_Action.java:49 9_)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(_ActionContributionItem.java:539_)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(_Ac tionContributionItem.java:488_)
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(_ActionContributionItem.java:441_)
> at org.eclipse.swt.widgets.EventTable.sendEvent(_EventTable.jav a:66_)
> at org.eclipse.swt.widgets.Widget.sendEvent(_Widget.java:928_)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(_Display.j ava:3348_)
> at org.eclipse.swt.widgets.Display.readAndDispatch(_Display.jav a:2968_)
> at org.eclipse.ui.internal.Workbench.runEventLoop(_Workbench.ja va:1930_)
> at org.eclipse.ui.internal.Workbench.runUI(_Workbench.java:1894 _)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(_Wor kbench.java:422_)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(_PlatformUI. java:149_)
> at org.eclipse.ui.internal.ide.IDEApplication.run(_IDEApplicati on.java:95_)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(_P latformActivator.java:78_)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(_EclipseAppLauncher.java:92_)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(_EclipseAppLauncher.java:68_)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(_Eclipse Starter.java:400_)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(_Eclipse Starter.java:177_)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(_Main.java:33 6_)
> at org.eclipse.core.launcher.Main.basicRun(_Main.java:280_)
> at org.eclipse.core.launcher.Main.run(_Main.java:977_)
> at org.eclipse.core.launcher.Main.main(_Main.java:952_)
>
>
>
>
>
>
>
>
>
>
>
Previous Topic:creating a bpel.genmodel
Next Topic:BPEL Designer
Goto Forum:
  


Current Time: Thu Apr 25 21:35:40 GMT 2024

Powered by FUDForum. Page generated in 0.03045 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top