google-code-export / umple

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

Infinite recursion in java split call in Generator_SuperCodeGenerator.ump 58 #588

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Infinite recursion occurs when you generate Java from the following

umpleonline/ump/AgentsCommunication.ump

and execute the Java. The result is

     [java] java.lang.StackOverflowError
     [java]     at java.util.ArrayList.subListRangeCheck(ArrayList.java:959)
     [java]     at java.util.ArrayList.subList(ArrayList.java:954)
     [java]     at java.lang.String.split(String.java:2311)
     [java]     at java.lang.String.split(String.java:2355)
     [java]     at cruise.umple.compiler.SuperCodeGenerator.translate( Generator_SuperCodeGenerator.ump:58)

This is new as of Geoffrey'scommit June 6

Original issue reported on code.google.com by TimothyCLethbridge on 9 Jun 2014 at 6:20

GoogleCodeExporter commented 9 years ago
Hello, I just tested the generated java code from the AgentsCommunication.ump, 
and I am not having the recursion problem. Is this error still happening to you?

Original comment by rof...@gmail.com on 8 Jul 2014 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by RedEyedM...@gmail.com on 8 Jul 2014 at 5:10