Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Description Resource Path Location Type Bound mismatch: The generic method create(Class<T>) of
Description Resource Path Location Type Bound mismatch: The generic method create(Class<T>) of [message #1723434] Mon, 15 February 2016 11:18 Go to next message
Eclipse UserFriend
i have a problem with my dsl i think that it's an error with ( *)* please any help
i have this error
Description Resource Path Location Type Bound mismatch: The generic method create(Class<T>) of type
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723440 is a reply to message #1723434] Mon, 15 February 2016 12:33 Go to previous messageGo to next message
Eclipse UserFriend
Can you please give more context on how to reproduce this
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723527 is a reply to message #1723440] Tue, 16 February 2016 06:53 Go to previous messageGo to next message
Eclipse UserFriend
I write my DSL when i call an expression in an other on my DSL i got this error
error(10): internal error: Can't get property javaCompressedTransition using method get/isJavaCompressedTransition from org.antlr.analysis.DFA instance : java.lang.OutOfMemoryError: Java heap space
java.lang.String.<init>(Unknown Source)
java.lang.StringBuffer.toString(Unknown Source)
org.antlr.analysis.DFA.encodeIntAsCharEscape(DFA.java:728)
org.antlr.analysis.DFA.getRunLengthEncoding(DFA.java:447)
org.antlr.analysis.DFA.getJavaCompressedTransition(DFA.java:399)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.antlr.stringtemplate.language.ASTExpr.invokeMethod(ASTExpr.java:563)
org.antlr.stringtemplate.language.ASTExpr.rawGetObjectProperty(ASTExpr.java:513)
org.antlr.stringtemplate.language.ASTExpr.getObjectProperty(ASTExpr.java:420)
org.antlr.stringtemplate.language.ActionEvaluator.attribute(ActionEvaluator.java:346)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:131)
org.antlr.stringtemplate.language.ActionEvaluator.templateApplication(ActionEvaluator.java:211)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:121)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:79)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:152)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:714)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:81)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:152)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:714)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:81)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:152)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:714)
org.antlr.codegen.CodeGenerator.write(CodeGenerator.java:1132)
org.antlr.codegen.Target.genRecognizerFile(Target.java:94)
org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:439)
91214 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.
i don't no what is the problem but i think that is with antlr
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723528 is a reply to message #1723527] Tue, 16 February 2016 06:56 Go to previous messageGo to next message
Eclipse UserFriend
please any help
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723529 is a reply to message #1723528] Tue, 16 February 2016 07:02 Go to previous messageGo to next message
Eclipse UserFriend
this error looks like your heap is to low.
did you try to increase xmx
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723537 is a reply to message #1723529] Tue, 16 February 2016 08:35 Go to previous messageGo to next message
Eclipse UserFriend
I'm a beginner so I don't no how to solve the problem Mr. Christian Dietrich who oncrese the xmx
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723545 is a reply to message #1723537] Tue, 16 February 2016 09:07 Go to previous messageGo to next message
Eclipse UserFriend
if you go to the launch config of the mwe2
you will find a -Xmx512m in Arguments/vm arguments.

increase that e.g. to -Xmx1G
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class<T> [message #1723573 is a reply to message #1723545] Tue, 16 February 2016 11:13 Go to previous messageGo to next message
Eclipse UserFriend
in Arguments/vm I find no argument
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723574 is a reply to message #1723573] Tue, 16 February 2016 11:17 Go to previous messageGo to next message
Eclipse UserFriend
salha salha <forums-noreply@xxxxxxxx> wrote:
> in Arguments/vm I find no argument
>

Did you go to
Run
Runconfigurations...
Select the mwe2 in the tree
Arguments tab

Can you post a screenshot of this
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723576 is a reply to message #1723574] Tue, 16 February 2016 11:32 Go to previous messageGo to next message
Eclipse UserFriend
i can't insert a screenshot because when I click insert image he asks image URL http://
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723578 is a reply to message #1723576] Tue, 16 February 2016 11:34 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body
  • Attachment: mwe2.png
    (Size: 91.56KB, Downloaded 189 times)

[Updated on: Tue, 16 February 2016 11:42] by Moderator

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723580 is a reply to message #1723578] Tue, 16 February 2016 11:42 Go to previous messageGo to next message
Eclipse UserFriend
find screenshots attached
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723583 is a reply to message #1723580] Tue, 16 February 2016 11:47 Go to previous messageGo to next message
Eclipse UserFriend
yes i do that in the previous message i send the image i found the Arguments/vm but it's empty
  • Attachment: mwe2.png
    (Size: 91.56KB, Downloaded 171 times)

[Updated on: Tue, 16 February 2016 11:52] by Moderator

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723585 is a reply to message #1723583] Tue, 16 February 2016 11:51 Go to previous messageGo to next message
Eclipse UserFriend
yes but you can type -Xmx512M or -Xmx1G
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723587 is a reply to message #1723585] Tue, 16 February 2016 11:54 Go to previous messageGo to next message
Eclipse UserFriend
what is the best -Xmx512M or -Xmx1G ?
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723589 is a reply to message #1723587] Tue, 16 February 2016 11:55 Go to previous messageGo to next message
Eclipse UserFriend
try -Xmx512M first
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723590 is a reply to message #1723589] Tue, 16 February 2016 11:56 Go to previous messageGo to next message
Eclipse UserFriend
512M = 512 megabyte
1G = 1 Gigabye

(RAM)
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723621 is a reply to message #1723590] Tue, 16 February 2016 15:30 Go to previous messageGo to next message
Eclipse UserFriend
thanks a lot Mr. Christian Dietrich
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&lt;T [message #1723872 is a reply to message #1723621] Thu, 18 February 2016 11:14 Go to previous messageGo to next message
Eclipse UserFriend
in the first -Xmx512M works well but when i changed my grammer i get this error
warning(200): ../org.xtext.example.armani/src-gen/org/xtext/example/mydsl3/parser/antlr/internal/InternalMyDsl.g:1820:1: Decision can match input such as "';'" using multiple alternatives: 1, 2, 3
As a result, alternative(s) 3,2 were disabled for that input
warning(201): ../org.xtext.example.armani/src-gen/org/xtext/example/mydsl3/parser/antlr/internal/InternalMyDsl.g:1820:1: The following alternatives are unreachable: 2

warning(208): ../org.xtext.example.armani/src-gen/org/xtext/example/mydsl3/parser/antlr/internal/InternalMyDsl.g:7692:1: The following token definitions are unreachable: RULE_FLOAT,RULE_BOOLEAN,RULE_LONG,RULE_INT
41077 [main] INFO or.validation.JavaValidatorFragment - executing generate for org.eclipse.xtext.generator.validation.JavaValidatorFragment
warning(200): ../org.xtext.example.armani.ui/src-gen/org/xtext/example/mydsl3/ui/contentassist/antlr/internal/InternalMyDsl.g:7071:51: Decision can match input such as "';'" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input
warning(208): ../org.xtext.example.armani.ui/src-gen/org/xtext/example/mydsl3/ui/contentassist/antlr/internal/InternalMyDsl.g:21149:1: The following token definitions are unreachable: RULE_FLOAT,RULE_BOOLEAN,RULE_LONG,RULE_INT
49262 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1723875 is a reply to message #1723872] Thu, 18 February 2016 11:23 Go to previous messageGo to next message
Eclipse UserFriend
This means you grammar is ambiguous. So you have to fix that
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1723991 is a reply to message #1723875] Fri, 19 February 2016 09:56 Go to previous messageGo to next message
Eclipse UserFriend
the problem is in the past it work fine but now no i don't indrestand it can be an error technique??
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724041 is a reply to message #1723991] Sat, 20 February 2016 01:50 Go to previous messageGo to next message
Eclipse UserFriend
hi can you share a minimal grammar that reproduces your problem?
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724078 is a reply to message #1724041] Sat, 20 February 2016 14:48 Go to previous messageGo to next message
Eclipse UserFriend
what is more good determinate the error or used ANTLRWORKS for derterminate the error??
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724079 is a reply to message #1724078] Sat, 20 February 2016 14:54 Go to previous messageGo to next message
Eclipse UserFriend
it always help to strip down the grammar to a mininmal set that reproduces the error
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724081 is a reply to message #1724079] Sat, 20 February 2016 15:12 Go to previous messageGo to next message
Eclipse UserFriend
i don't know how i detecte the error please have you a Link how to install the antlrworks ?
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724082 is a reply to message #1724081] Sat, 20 February 2016 15:18 Go to previous messageGo to next message
Eclipse UserFriend
i dont know any tutorial.
http://www.antlr3.org/works/
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724084 is a reply to message #1724082] Sat, 20 February 2016 16:48 Go to previous messageGo to next message
Eclipse UserFriend
i install antlrworks and i have this error

[Updated on: Sat, 20 February 2016 16:50] by Moderator

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724085 is a reply to message #1724084] Sat, 20 February 2016 16:53 Go to previous messageGo to next message
Eclipse UserFriend
Sry i cannot help you with the usage or error marker in antlrworks. But i recommend to generate and use the debug grammar in antlrworks since it is a pure grammar
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724086 is a reply to message #1724085] Sat, 20 February 2016 16:54 Go to previous messageGo to next message
Eclipse UserFriend
Btw which xtext Version do you use
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724087 is a reply to message #1724086] Sat, 20 February 2016 16:59 Go to previous messageGo to next message
Eclipse UserFriend
PS and make sure you use antlrworks 3 . i dont remember this was a eclipse Plugin. I remember a standalone swing APP delivered AS jar
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724088 is a reply to message #1724086] Sat, 20 February 2016 17:00 Go to previous messageGo to next message
Eclipse UserFriend
Eclipse SDK

Version: 3.6.2
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724089 is a reply to message #1724088] Sat, 20 February 2016 17:02 Go to previous messageGo to next message
Eclipse UserFriend
I mean the Version Of xtext
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724090 is a reply to message #1724089] Sat, 20 February 2016 17:07 Go to previous messageGo to next message
Eclipse UserFriend
Xtext Runtime 1.0.2.v201102150722
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724091 is a reply to message #1724090] Sat, 20 February 2016 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Hi i dont know if
fragment = parser.antlr.debugantlrgeneratorfragment {}
Already works in that Version to generate the debug grammar.

Is there a reason you use sich an old version
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724092 is a reply to message #1724091] Sat, 20 February 2016 17:13 Go to previous messageGo to next message
Eclipse UserFriend
ok i going to try reduce the version else i going to search the solution without antlrworks thanks

[Updated on: Sat, 20 February 2016 17:16] by Moderator

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724093 is a reply to message #1724092] Sat, 20 February 2016 17:16 Go to previous messageGo to next message
Eclipse UserFriend
And AS said before. If you can post a grammar that reproduces the Probleme someone can have a look
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724094 is a reply to message #1724093] Sat, 20 February 2016 17:24 Go to previous messageGo to next message
Eclipse UserFriend
it's a big grammar


PropertyDeclaration:
'Property' parse_PropertyDescription=Parse_PropertyDescription ';'
;



Parse_PropertyDescription:
('Property')? P=ID
':' propertyTypeDescription+=PropertyTypeDescription
( '=' propertyValueDeclaration=PropertyValueDeclaration )?
( parse_PropertyDescription+=Parse_PropertyDescription
(';' parse_PropertyDescription+=Parse_PropertyDescription | ';' )*


)?
;



PropertyTypeDescription:
'Int' | 'Long' | 'Float' | 'Double' | 'String'
| 'true' | 'false' | nomm=ID
;

ParseRecordFieldDescription:
nomParseRecordField=ID (',' nnomParseRecordField+=ID )*
( ':' prop=PropertyTypeDescription )?
;



PropertyValueDeclaration:
INT | FLOAT | STRING
| acmeSetValue=AcmeSetValue | acmeSequenceValue=AcmeSequenceValue |
acmeRecordValue=AcmeRecordValue | nn=ID
;

[Updated on: Mon, 22 February 2016 06:47] by Moderator

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724095 is a reply to message #1724094] Sat, 20 February 2016 17:30 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body

[Updated on: Mon, 22 February 2016 06:44] by Moderator

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724096 is a reply to message #1724095] Sat, 20 February 2016 17:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

there are some things you should not do:

- use whitespace in keywords 'a b' => 'a' 'b'
- combine multiple keywords together '};' => '}' ';'

have a look at this grammar:


PropertiesBlock:
'Properties {'
( parse_PropertyDescription+=Parse_PropertyDescription
( ';' parse_PropertyDescription+=Parse_PropertyDescription | ';' )*
)?
'}' ( ';' )?
;

Parse_PropertyDescription:
('Property')? P=ID
':' propertyTypeDescription+=PropertyTypeDescription
( '=' propertyValueDeclaration=PropertyValueDeclaration )?
( parse_PropertyDescription+=Parse_PropertyDescription
(';' parse_PropertyDescription+=Parse_PropertyDescription | ';' )*


)?
;

PropertyValueDeclaration:
INT | STRING
;

PropertyTypeDescription:
'Int' | 'Long' | 'Float' | 'Double' | 'String'
| 'true' | 'false' | nomm=ID
;


and this debugantlrgrammar

/*
 * generated by Xtext 2.9.1
 */
grammar DebugInternalMyDsl;

// Rule PropertiesBlock
rulePropertiesBlock:
	'Properties {'
	(
		ruleParse_PropertyDescription
		(
			';'
			ruleParse_PropertyDescription
			    |
			';'
		)*
	)?
	'}'
	';'?
;

// Rule Parse_PropertyDescription
ruleParse_PropertyDescription:
	'Property'?
	RULE_ID
	':'
	rulePropertyTypeDescription
	(
		'='
		rulePropertyValueDeclaration
	)?
	(
		ruleParse_PropertyDescription
		(
			';'
			ruleParse_PropertyDescription
			    |
			';'
		)*
	)?
;

// Rule PropertyValueDeclaration
rulePropertyValueDeclaration:
	(
		RULE_INT
		    |
		RULE_STRING
	)
;

// Rule PropertyTypeDescription
rulePropertyTypeDescription:
	(
		'Int'
		    |
		'Long'
		    |
		'Float'
		    |
		'Double'
		    |
		'String'
		    |
		'true'
		    |
		'false'
		    |
		RULE_ID
	)
;

RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;

RULE_INT : ('0'..'9')+;

RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');

RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/' {skip();};

RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')? {skip();};

RULE_WS : (' '|'\t'|'\r'|'\n')+ {skip();};

RULE_ANY_OTHER : .;

Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724097 is a reply to message #1724096] Sat, 20 February 2016 17:59 Go to previous messageGo to next message
Eclipse UserFriend
all the optional ';' in PropertiesBlock and Parse_PropertyDescription
where do they belong to?
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724098 is a reply to message #1724096] Sat, 20 February 2016 18:00 Go to previous messageGo to next message
Eclipse UserFriend
why in the second grammar i don't have a problem and in the first i have??
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724099 is a reply to message #1724098] Sat, 20 February 2016 18:02 Go to previous messageGo to next message
Eclipse UserFriend
i post the second when i don't have problem and i use a false syntax 'aa' not 'aa 'a'
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724100 is a reply to message #1724099] Sat, 20 February 2016 18:09 Go to previous messageGo to next message
Eclipse UserFriend
he belongs to no party
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724101 is a reply to message #1724099] Sat, 20 February 2016 18:11 Go to previous messageGo to next message
Eclipse UserFriend
the keyword thing is just a general hint.

the important difference is

'>>'

in the Parse_PropertyDescription,
it is a clear terminating signal
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724102 is a reply to message #1724101] Sat, 20 February 2016 18:12 Go to previous messageGo to next message
Eclipse UserFriend
p.s. that is all i can do for you. for the rest you you to digg yourself
(e.g. by using the debug grammar in antlrworks)
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724103 is a reply to message #1724102] Sat, 20 February 2016 18:17 Go to previous messageGo to next message
Eclipse UserFriend
ok thanks a lot
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724107 is a reply to message #1724103] Sat, 20 February 2016 18:56 Go to previous messageGo to next message
Eclipse UserFriend
just a last question it's normal thing that same time given an errror when i ran the grammar and other times time no it's innomal thing !!!
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724115 is a reply to message #1724107] Sun, 21 February 2016 03:59 Go to previous messageGo to next message
Eclipse UserFriend
hi it depends on the situation. under some circumstances antlr decides to go the first path and mark the other paths as warning
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724233 is a reply to message #1724115] Mon, 22 February 2016 07:18 Go to previous messageGo to next message
Eclipse UserFriend
what is the type of this error?
2209 [main] ERROR erator.parser.antlr.AntlrToolFacade - de.itemis.xtext.antlr.toolrunner.AntlrToolRunner
java.lang.ClassNotFoundException: de.itemis.xtext.antlr.toolrunner.AntlrToolRunner
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.xtext.xtext.generator.parser.antlr.AntlrToolFacade.getToolClass(AntlrToolFacade.java:76)
at org.eclipse.xtext.xtext.generator.parser.antlr.AntlrToolFacade.isWorkable(AntlrToolFacade.java:164)
at org.eclipse.xtext.xtext.generator.parser.antlr.AbstractAntlrGeneratorFragment2.checkConfiguration(AbstractAntlrGeneratorFragment2.java:107)
at org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2.checkConfiguration(XtextAntlrGeneratorFragment2.java:1345)
at org.eclipse.xtext.xtext.generator.CompositeGeneratorFragment2.checkConfiguration(CompositeGeneratorFragment2.java:39)
at org.eclipse.xtext.xtext.generator.XtextGenerator.checkConfigurationInternal(XtextGenerator.java:126)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2.checkConfiguration(AbstractWorkflowComponent2.java:21)
at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.preInvoke(Mwe2Bridge.java:65)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.preInvoke(AbstractWorkflowComponent.java:197)
at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.preInvoke(AbstractCompositeWorkflowComponent.java:29)
at org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:18)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:102)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:78)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:36)
2232 [main] ERROR erator.parser.antlr.AntlrToolFacade - de.itemis.xtext.antlr.toolrunner.AntlrToolRunner
java.lang.ClassNotFoundException: de.itemis.xtext.antlr.toolrunner.AntlrToolRunner
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.xtext.xtext.generator.parser.antlr.AntlrToolFacade.getToolClass(AntlrToolFacade.java:76)
at org.eclipse.xtext.xtext.generator.parser.antlr.AntlrToolFacade.isWorkable(AntlrToolFacade.java:164)
at org.eclipse.xtext.xtext.generator.parser.antlr.AbstractAntlrGeneratorFragment2.checkConfiguration(AbstractAntlrGeneratorFragment2.java:107)
at org.eclipse.xtext.xtext.generator.CompositeGeneratorFragment2.checkConfiguration(CompositeGeneratorFragment2.java:39)
at org.eclipse.xtext.xtext.generator.XtextGenerator.checkConfigurationInternal(XtextGenerator.java:126)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2.checkConfiguration(AbstractWorkflowComponent2.java:21)
at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.preInvoke(Mwe2Bridge.java:65)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.preInvoke(AbstractWorkflowComponent.java:197)
at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.preInvoke(AbstractCompositeWorkflowComponent.java:29)
at org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:18)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:102)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:78)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:36)
2235 [main] ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems running workflow org.xtext.example.mydsl.GenerateMyDsl:
[ERROR]:

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/').
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: XtextGenerator)
[ERROR]:

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/').
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: XtextGenerator)
java.lang.RuntimeException: Problems running workflow org.xtext.example.mydsl.GenerateMyDsl:
[ERROR]:

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/').
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: XtextGenerator)
[ERROR]:

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/').
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: XtextGenerator)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:104)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:78)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:36)
Caused by: java.lang.RuntimeException:
[ERROR]:

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/').
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: XtextGenerator)
[ERROR]:

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/').
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: XtextGenerator)
at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.handleIssues(Mwe2Bridge.java:56)
at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.preInvoke(Mwe2Bridge.java:66)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.preInvoke(AbstractWorkflowComponent.java:197)
at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.preInvoke(AbstractCompositeWorkflowComponent.java:29)
at org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:18)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:102)
... 4 more
Re: Description Resource Path Location Type Bound mismatch: The generic method create(Class&amp; [message #1724237 is a reply to message #1724233] Mon, 22 February 2016 07:52 Go to previous message
Eclipse UserFriend
this means antlr sdk/generator cannot be downloaded. it should ask for it and you can answer with y on console do download.
alternatively you can install it from p2 update site http://download.itemis.com/updates/releases/2.1.1/

(which xtext version do you use)
Previous Topic:xtext 2.8 dependencies list
Next Topic:Understanding Rule Priority
Goto Forum:
  


Current Time: Wed Jul 23 13:51:48 EDT 2025

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

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

Back to the top