|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Compilation Exception after upgrade to Janino 2.5.14I just moved from Janio 2.3.18 to Janino 2.5.14. We made no changes other than substituting the new JAR file. Code that previously compile fine now results in the following exception: java.lang.RuntimeException: Cannot "set()" Offset more than once at org.codehaus.janino.CodeContext$Offset.set(CodeContext.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.access$11(UnitCompiler.java) at org.codehaus.janino.UnitCompiler$4.visitWhileStatement(UnitCompiler.java) at org.codehaus.janino.Java$WhileStatement.accept(Java.java) at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.access$7(UnitCompiler.java) at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) at org.codehaus.janino.Java$Block.accept(Java.java) at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.access$9(UnitCompiler.java) at org.codehaus.janino.UnitCompiler$4.visitIfStatement(UnitCompiler.java) Interestingly there is no "while" loop in the code being compiled (I'm just noting that since the stack includes "visitWhileStatement"). Thanks for any tips on resolving this. james --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Compilation Exception after upgrade to Janino 2.5.14James~
I definitely understand what the error message means, but without the example that causes this problem, I cannot help you find a solution. Matt On Wed, May 7, 2008 at 3:22 PM, James House <jhouse@...> wrote: > > I just moved from Janio 2.3.18 to Janino 2.5.14. We made no changes other > than substituting the new JAR file. > > Code that previously compile fine now results in the following exception: > > > java.lang.RuntimeException: Cannot "set()" Offset more than once > at org.codehaus.janino.CodeContext$Offset.set(CodeContext.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$11(UnitCompiler.java) > at > org.codehaus.janino.UnitCompiler$4.visitWhileStatement(UnitCompiler.java) > at org.codehaus.janino.Java$WhileStatement.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$7(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) > at org.codehaus.janino.Java$Block.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$9(UnitCompiler.java) > at > org.codehaus.janino.UnitCompiler$4.visitIfStatement(UnitCompiler.java) > > > Interestingly there is no "while" loop in the code being compiled (I'm just > noting that since the stack includes "visitWhileStatement"). > > > Thanks for any tips on resolving this. > > james > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |