Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » XPand Debug(I cant Debug my Xpand project)
XPand Debug [message #1007171] Mon, 04 February 2013 12:12 Go to next message
serhat gezgin is currently offline serhat gezgin
Messages: 237
Registered: January 2013
Location: Izmir
Senior Member
Hi,

I cant debug my xpand project i always get

Debugger runtime process didn't respond properly --> aborting

Eror.

How can i fix this ?
Re: XPand Debug [message #1007198 is a reply to message #1007171] Mon, 04 February 2013 17:16 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6197
Registered: July 2009
Senior Member
Hi,

which Xpand Version do you use?

~Christian
Re: XPand Debug [message #1007199 is a reply to message #1007198] Mon, 04 February 2013 17:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6197
Registered: July 2009
Senior Member
Btw do you get a stack trace?
Re: XPand Debug [message #1007227 is a reply to message #1007198] Tue, 05 February 2013 02:01 Go to previous messageGo to next message
serhat gezgin is currently offline serhat gezgin
Messages: 237
Registered: January 2013
Location: Izmir
Senior Member
i use Eclipse juno with Xpand sdk 1.2.1

[Updated on: Tue, 05 February 2013 02:02]

Report message to a moderator

Re: XPand Debug [message #1007230 is a reply to message #1007199] Tue, 05 February 2013 02:05 Go to previous messageGo to next message
serhat gezgin is currently offline serhat gezgin
Messages: 237
Registered: January 2013
Location: Izmir
Senior Member
Console output ;

0 INFO WorkflowEngine - --------------------------------------------------------------------------------------
3 INFO WorkflowEngine - EMF Modeling Workflow Engine 1.2.1, Build v201206110920
4 INFO WorkflowEngine - (c) 2005-2009 openarchitectureware.org and contributors
4 INFO WorkflowEngine - --------------------------------------------------------------------------------------
4 INFO WorkflowEngine - running workflow: C:/Users/unituser/workspace/com.unitbilisim.clafer2Ecore/src/workflow/Workflow.mwe
4 INFO WorkflowEngine -
370 INFO XSDMetaModel - Loading XSDSchema from 'metamodel/ir.xsd'
1177 INFO OawXSDEcoreBuilder - Creating EPackage 'ir' from XSDSchema 'file:/.../bin/metamodel/ir.xsd' (http://clafer.org/ir)
1211 WARN OawXSDEcoreBuilder - Name Conflict: Created EClass 'EndType1', EClass 'EndType' is in the way. Container:/EPackage'ir'
1212 WARN OawXSDEcoreBuilder - Name Conflict: Created EClass 'PositionType1', EClass 'PositionType' is in the way. Container:/EPackage'ir'
1213 WARN OawXSDEcoreBuilder - Name Conflict: Created EClass 'StartType1', EClass 'StartType' is in the way. Container:/EPackage'ir'
Warning: Element can't be debugged.
Didn't find an adapter for element of type XMLReader
1357 INFO CompositeComponent - XMLReader: Loading XML file model/lightCase10.xml
3755 INFO OawEcoreBuilder - Already loaded EPackage requested. Namespace:http://clafer.org/ir
3869 INFO CompositeComponent - Generator: generating 'template::DeepTravelTemplate::Root FOR model' => src-gen
4363 INFO Generator - Written 1 files to outlet [default](src-gen)
4364 ERROR WorkflowEngine -
java.lang.NullPointerException
at org.eclipse.emf.mwe.internal.core.debug.processing.DebugMonitor.finished(DebugMonitor.java:231)
at org.eclipse.emf.mwe.core.WorkflowEngine.executeWorkflow(WorkflowEngine.java:175)
at org.eclipse.emf.mwe.core.WorkflowEngine.run(WorkflowEngine.java:53)
at org.eclipse.emf.mwe.core.WorkflowRunner.doRun(WorkflowRunner.java:174)
at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:70)
Re: XPand Debug [message #1007415 is a reply to message #1007230] Tue, 05 February 2013 13:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6197
Registered: July 2009
Senior Member
Hi,

i can reproduce this using the example project from the wizard.
please file a bugzilla if there isnt already one.

~Christian
Re: XPand Debug [message #1008392 is a reply to message #1007415] Tue, 12 February 2013 04:58 Go to previous messageGo to next message
serhat gezgin is currently offline serhat gezgin
Messages: 237
Registered: January 2013
Location: Izmir
Senior Member
When i create Xpand example (auto generated from xpand) and want to debug, i have same

error too. But why ? Don't understand
Re: XPand Debug [message #1008400 is a reply to message #1008392] Tue, 12 February 2013 05:32 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6197
Registered: July 2009
Senior Member
AS i said Please file a bug

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Re: XPand Debug [message #1015972 is a reply to message #1007171] Mon, 04 March 2013 07:57 Go to previous message
Karsten Thoms is currently offline Karsten Thoms
Messages: 353
Registered: July 2009
Location: Dortmund
Senior Member

You could debug Java as workaround, if you check the option "Java debug" in the launch config.

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:transformation from AADl to TXT
Next Topic:Sharing JET2 templates between transformations
Goto Forum:
  


Current Time: Wed Aug 20 04:48:45 EDT 2014

Powered by FUDForum. Page generated in 0.05833 seconds