int a = 0;
for(int i = 0; i < 5; i++) {
a++;
}
Internal Server Error (500) for request GET /
Oops: UnexpectedException
An unexpected error occured caused by exception UnexpectedException: While applying class play.classloading.enhancers.LocalvariablesNamesEnhancer on controllers.InformationController
play.exceptions.UnexpectedException: While applying play.CorePlugin@4da7234f on controllers.InformationController
at play.plugins.PluginCollection.enhance(PluginCollection.java:511)
at play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)
at play.classloading.ApplicationClassloader.detectChanges(ApplicationClassloader.java:327)
at play.Play.detectChanges(Play.java:614)
at play.Invoker$Invocation.init(Invoker.java:198)
at Invocation.HTTP Request(Play!)
Caused by: play.exceptions.UnexpectedException: While applying class play.classloading.enhancers.LocalvariablesNamesEnhancer on controllers.InformationController
at play.CorePlugin.enhance(CorePlugin.java:302)
at play.plugins.PluginCollection.enhance(PluginCollection.java:506)
... 5 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
at javassist.bytecode.stackmap.Tracer.doOpcode0_53(Tracer.java:163)
at javassist.bytecode.stackmap.Tracer.doOpcode(Tracer.java:94)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:182)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:192)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:192)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:141)
at javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:96)
at javassist.bytecode.MethodInfo.rebuildStackMap(MethodInfo.java:416)
at javassist.bytecode.MethodInfo.rebuildStackMapIf6(MethodInfo.java:398)
at javassist.CtBehavior.insertBefore(CtBehavior.java:719)
at javassist.CtBehavior.insertBefore(CtBehavior.java:685)
at play.classloading.enhancers.LocalvariablesNamesEnhancer.enhanceThisClass(LocalvariablesNamesEnhancer.java:296)
at play.CorePlugin.enhance(CorePlugin.java:297)
... 6 more
It is solved in the 1.2.x branch. We fixed it right after releasing 1.2.4 so if you checkout 1.2.x branch you basically get 1.2.4 + a bunch of enhancer fixes.
-morten
This bug is still present in the final play 1.2.4, but it has been solved in the master branch.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/MxFyKk02RQoJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
Thanks!
Jill
On Dec 3, 11:38 am, Morten Kjetland <m...@kjetland.com> wrote:
> It is solved in the 1.2.x branch. We fixed it right after releasing 1.2.4
> so if you checkout 1.2.x branch you basically get 1.2.4 + a bunch of
> enhancer fixes.
>
> -morten
> On Dec 3, 2011 4:41 PM, "jbtbnl" <jantenbok...@gmail.com> wrote:
>
> > This bug is still present in the final play 1.2.4, but it has been solved
> > in the master branch.
>
> >https://github.com/playframework/play/commit/8823d3827557df3e8bfdbd18...
Can you give us more details (like the complete stack trace, and if
possible the code that fails) ?
Thanks,
--
Stephane Godbillon
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/Ldil5Dz20OYJ.
Can you try the following please :
- download the latest javassist :
http://sourceforge.net/projects/jboss/files/Javassist/3.15.0-GA/javassist-3.15.0-GA.zip/download
- go in the <play>/framework/lib directory
- copy the javassist.jar from the downloaded archive
- remove javassist-3.9.0.GA.jar
- run your project again. Don't forget to do a play clean before running it.
Let me know if it solves your problem.
Thanks,
--
Stephane Godbillon
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/3kWNJEUs7CAJ.
PingSorry if I'm being annoying, I don't know when 1.2.5 is planned, but if this is not resolved then I won't be able to upgrade to it.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/NCYdyJbPSrUJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.