google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Fatal error message when moving a class in one user manual example #544

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Load the following web page

http://cruise5.local/umpleonline/umple.php?example=manualexamples/HtmlGeneration
2
and move any class in the diagram. 

(this can be obtained from the user manual by selecting Generation 
Templates/html generation and then loading the second example into UmpleOnline. 
Note that the first example does not have the problem even though most of the 
classes are the same. The second example includes the first example.)

The following appears in the text

FATAL ERROR PARSING UMPLE DIAGRAM

cruise.umple.parser.analysis.GrammarAnalyzer$1.onSuccess(GrammarAnalyzer.java:94
)
cruise.umple.parser.rules.ChoiceRule.parse(ChoiceRule.java:470)
cruise.umple.parser.rules.ChainRule.parse(ChainRule.java:75)
cruise.umple.parser.rules.ChoiceRule.parse(ChoiceRule.java:456)
cruise.umple.parser.rules.ChainRule.parse(ChainRule.java:75)
cruise.umple.parser.rules.ChoiceRule.parse(ChoiceRule.java:456)
cruise.umple.parser.rules.RepeatableRule.parse(RepeatableRule.java:114)
cruise.umple.parser.rules.ChainRule.parse(ChainRule.java:75)
cruise.umple.parser.rules.ChoiceRule.parse(ChoiceRule.java:456)
cruise.umple.parser.rules.ChainRule.parse(ChainRule.java:75)
cruise.umple.parser.rules.RootRule.parse(RootRule.java:62)
cruise.umple.parser.analysis.RuleBasedParser.parse(RuleBasedParser.java:177)
cruise.umple.parser.analysis.GrammarAnalyzer.execute(GrammarAnalyzer.java:611)
cruise.umple.parser.analysis.RuleBasedParser.parse(RuleBasedParser.java:369)
cruise.umple.compiler.UmpleInternalParser.parse(UmpleInternalParser.java:987)
cruise.umple.sync.EditAction.go(EditAction.java:47)
cruise.umple.PlaygroundMain.main(PlaygroundMain.java:71)

Original issue reported on code.google.com by TimothyCLethbridge on 27 Apr 2014 at 11:07

GoogleCodeExporter commented 9 years ago
By doing a quick analysis, the problem lies in "use ../HtmlGeneration.ump;"
I get the same error if I just ran this line only as well as ran different 
examples such as 2DShapes.ump.

Original comment by cmw...@cornell.edu on 4 May 2014 at 5:58

GoogleCodeExporter commented 9 years ago

Original comment by CraigBry...@gmail.com on 14 May 2014 at 2:40

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4077.

Original comment by TimothyCLethbridge on 16 May 2014 at 10:22