Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [jwt-dev] RE: 0.6 to 0.7 Converter ignores Data Parameters

Hi Florian, Hi Chris,

 

Along with switching to JWT 0.7, I’m providing Events functionality in my next app release. The ATL converter is also having troubles with migrating Event nodes from 0.6 to 0.7 . Please find the ATL exception stack trace attached. With the ATL failing with Event nodes too I wouldn’t be able to develop and test the events functionality being added to the editor properly.

 

My app fires ATL every time someone checks out a workflow from database (stored in our internal format) to work on it. Our DB2JWT component create s a 0.6 file only and simply opens it up in editor from where your ATL takes over. Now, if the ATL fails or misses out on something the users are left unable to work on or deploy the workflows again.

 

So, I sincerely request you guys to get back as soon as possible.

Please, let me know if I can assist in providing any more details required.

 

Regards,

Ravi

 

From: jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-bounces@xxxxxxxxxxx] On Behalf Of Christian Saad
Sent: Tuesday, February 16, 2010 11:13 PM
To: 'Java Workflow Toolbox'
Subject: AW: [jwt-dev] RE: 0.6 to 0.7 Converter ignores Data Parameters

 

Hi Ravi,

 

it’s great that you were able to adapt your application to 0.7. For your request, unfortunately I’m not an ATL expert at all but I’ll look into this issue this week and fix this problem.

 

Regards,

Chris

 

Von: jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-bounces@xxxxxxxxxxx] Im Auftrag von RAVI K. THAPLIYAL
Gesendet: Montag, 15. Februar 2010 07:20
An: christian.saad@xxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: 'Java Workflow Toolbox'
Betreff: [jwt-dev] RE: 0.6 to 0.7 Converter ignores Data Parameters

 

Hi Chris,

 

Could you please help provide a fix for this defect? I’m nearing my next app release and since I’m not creating 0.7 files directly it’s absolutely essential that it gets fixed for 0.6 workflow compatibility.

 

I’ve tried figuring out the way subpackages and elements tags are being transformed but haven’t been able to replicate the syntax correctly.

 

Regards,

Ravi

 

From: RAVI K. THAPLIYAL
Sent: Monday, February 01, 2010 4:10 PM
To: 'Florian Lautenbacher'; 'christian.saad@xxxxxxxxxxxxxxxxxxxxxxxxxx'
Cc: 'Java Workflow Toolbox'
Subject: RE: 0.6 to 0.7 Converter ignores Data Parameters

 

Hi Florian, Hi Chris,

 

Any updates on this bug?

 

For my next release I’m sticking with using the ATL converter to automatically update the 0.6 workflow that my customized workflow wizard generates. I’ve suppressed all the prompts. I’m generating the layout data for both the views and with some more patches the application nearly feels like 0.6 again. J

 

This is the only defect that remains between releasing my app on JWT 0.7 now. I’ve tried to understand the ATL some more but it gets a bit arcane while handling children elements with recursion.

 

I would greatly appreciate any help in providing a bug fix for this.

 

Regards,

Ravi

 

From: RAVI K. THAPLIYAL
Sent: Monday, January 18, 2010 8:11 PM
To: 'Florian Lautenbacher'
Cc: 'Java Workflow Toolbox'
Subject: RE: 0.6 to 0.7 Converter ignores Data Parameters

 

Hi Florian,

 

I’ve logged a new bug for this here. Workflow files have been attached for reference.

 

Regards,

Ravi

 

From: Florian Lautenbacher [mailto:florian.lautenbacher@xxxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Friday, January 15, 2010 6:51 PM
To: RAVI K. THAPLIYAL
Cc: 'Java Workflow Toolbox'
Subject: AW: 0.6 to 0.7 Converter ignores Data Parameters

 

Hi Ravi,

 

yes, this is a bug. It seems we have forgotten the conversion of the parameters from 0.6 to 0.7. Could you please open a new bug for this and attach the sample files and describe the experienced behavior? We will then have a look at that.

 

Thanks and best regards,

 

Florian

 

 

Von: RAVI K. THAPLIYAL [mailto:RAVI.THAPLIYAL@xxxxxxxxxx]
Gesendet: Freitag, 15. Januar 2010 06:50
An: Florian Lautenbacher; christian.saad@xxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Marc Dutoo
Betreff: 0.6 to 0.7 Converter ignores Data Parameters

 

Hi Chris, Hi Florian,

 

The ATL converter that’s used to convert 0.6 workflow files to 0.7 doesn’t convert Data elements correctly.

 

The <elements> tag is being copied as is ignoring all <parameters> child elements. I’m sending attached two .workflow files one of version 0.6 that has data parameters and the other one after it has been converted to 0.7 with all its data parameters lost.

 

There’s a generic Bug 296235 already logged against the converter. I guess we can either reopen it or log a new one once you guys confirm.

 

Regards,

Ravi

 




MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Begin Message ---
  • From: "Sachin N. Chavan" <Sachin.Chavan@xxxxxxxxxx>
  • Date: Fri, 19 Feb 2010 15:41:18 +0530
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Thread-index: AcqxS+CkqjptEMp4RqOG/U5jFmZn0A==
  • Thread-topic: Event ATL Exception

Feb 19, 2010 3:38:20 PM org.eclipse.jwt.converter.Converter updateModel

INFO: converter: source model version 0.6.0, target model version 0.7.0

Resource for org.eclipse.emf.ecore.impl.EClassImpl@1daed73 (eProxyURI: JWT70.ecore#//core/ModelElement) is null; cannot be referenced

Resource for org.eclipse.emf.ecore.impl.EClassImpl@1b4407 (eProxyURI: JWT70.ecore#//core/GraphicalElement) is null; cannot be referenced

Resource for org.eclipse.emf.ecore.impl.EClassImpl@ae10cd (eProxyURI: JWT70.ecore#//core/ModelElement) is null; cannot be referenced

Resource for org.eclipse.emf.ecore.impl.EClassImpl@1daed73 (eProxyURI: JWT70.ecore#//core/ModelElement) is null; cannot be referenced

Resource for org.eclipse.emf.ecore.impl.EClassImpl@1b4407 (eProxyURI: JWT70.ecore#//core/GraphicalElement) is null; cannot be referenced

Resource for org.eclipse.emf.ecore.impl.EClassImpl@ae10cd (eProxyURI: JWT70.ecore#//core/ModelElement) is null; cannot be referenced

Feb 19, 2010 3:38:20 PM org.eclipse.jwt.converter.Converter updateModel

SEVERE: the update of the workflow file C:/Documents and Settings/ravit/runtime-com.mastek.elixir.hermes.ui.product/TEST/TEXT_EVT2.workflow failed because of an unknown error

org.eclipse.m2m.atl.engine.vm.VMException: Could not find operation including on Module having supertypes: [OclAny]

      at A.__applyModel2Model(1 : NTransientLink;) : ??(JWT06toJWT07.atl[144:17-145:44])

            local variables = {model=OUT!TEXT_EVT, input=IN!TEXT_EVT, link=TransientLink {rule = 'Model2Model', sourceElements = {input = IN!TEXT_EVT}, targetElements = {output2 = VIEW!<unnamed>, model = OUT!TEXT_EVT}, variables = {}}, self=JWT06toJWT07 : ASMModule, e=IN!EVT1, output2=VIEW!<unnamed>}

            local stack = [VIEW!<unnamed>, VIEW!<unnamed>]

2010-02-19 15:38:28.779 org.eclipse.jwt.we.editors.WEEditor createPages

  SEVERE: Could not load input from TEXT_EVT2.workflow (org.eclipse.m2m.atl.engine.vm.VMException: Could not find operation including on Module having supertypes: [OclAny])

 

!ENTRY org.eclipse.jwt.we 4 32 2010-02-19 15:38:28.779

!MESSAGE Could not load input from TEXT_EVT2.workflow

!STACK 0

org.eclipse.m2m.atl.engine.vm.VMException: Could not find operation including on Module having supertypes: [OclAny]

      at A.__applyModel2Model(1 : NTransientLink;) : ??(JWT06toJWT07.atl[144:17-145:44])

            local variables = {model=OUT!TEXT_EVT, input=IN!TEXT_EVT, link=TransientLink {rule = 'Model2Model', sourceElements = {input = IN!TEXT_EVT}, targetElements = {output2 = VIEW!<unnamed>, model = OUT!TEXT_EVT}, variables = {}}, self=JWT06toJWT07 : ASMModule, e=IN!EVT1, output2=VIEW!<unnamed>}

            local stack = [VIEW!<unnamed>, VIEW!<unnamed>]

Feb 19, 2010 3:38:28 PM org.eclipse.jwt.we.editors.WEEditor createPages

SEVERE: Could not load input from TEXT_EVT2.workflow

org.eclipse.m2m.atl.engine.vm.VMException: Could not find operation including on Module having supertypes: [OclAny]

      at A.__applyModel2Model(1 : NTransientLink;) : ??(JWT06toJWT07.atl[144:17-145:44])

            local variables = {model=OUT!TEXT_EVT, input=IN!TEXT_EVT, link=TransientLink {rule = 'Model2Model', sourceElements = {input = IN!TEXT_EVT}, targetElements = {output2 = VIEW!<unnamed>, model = OUT!TEXT_EVT}, variables = {}}, self=JWT06toJWT07 : ASMModule, e=IN!EVT1, output2=VIEW!<unnamed>}

            local stack = [VIEW!<unnamed>, VIEW!<unnamed>]

 

!ENTRY org.eclipse.ui 4 0 2010-02-19 15:38:28.810

!MESSAGE Unable to create editor ID org.eclipse.jwt.we.editors.WEEditor: assertion failed:

!STACK 0

org.eclipse.core.runtime.AssertionFailedException: assertion failed:

      at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)

      at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)

      at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1074)

      at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:361)

      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)

      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)

      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

      at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)

      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)

      at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)

      at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)

      at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)

      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)

      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)

      at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)

      at org.eclipse.ui.ide.IDE.openEditor(IDE.java:683)

      at com.mastek.elixir.hermes.ui.actions.CheckOutProcessAction.run(CheckOutProcessAction.java:74)

      at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:289)

      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)

      at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)

      at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)

      at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)

      at com.mastek.elixir.hermes.ui.views.ProcessTypesNavigatorView$1.doubleClick(ProcessTypesNavigatorView.java:153)

      at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:821)

      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

      at org.eclipse.core.runtime.Platform.run(Platform.java:888)

      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)

      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

      at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:819)

      at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1083)

      at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1195)

      at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)

      at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)

      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)

      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

      at com.mastek.elixir.hermes.ui.Application.start(Application.java:30)

      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

      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.equinox.launcher.Main.invokeFramework(Main.java:559)

      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

      at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

 


--- End Message ---

Back to the top