! Internal server error, for (GET) [/admin/leagues/] ->
java.lang.VerifyError: Stack map does not match the one at exception handler 153
Exception Details:
Location:
controllers/AdminController.updateGame(Ljava/lang/Long;)Lplay/mvc/Result; @1
53: astore_3
Reason:
Type 'models/Game' (current frame, locals[4]) is not assignable to 'models/L
eague' (stack map, locals[4])
Current Frame:
bci: @87
flags: { }
locals: { 'java/lang/Long', 'java/lang/Long', 'play/data/Form', top, 'models
/Game', long, long_2nd }
stack: { 'java/lang/IllegalStateException' }
Stackmap Frame:
bci: @153
flags: { }
locals: { 'java/lang/Long', 'java/lang/Long', 'play/data/Form', top, 'models
/League' }
stack: { 'java/lang/IllegalStateException' }
Bytecode:
0000000: b800 0bc6 0007 b800 0bb0 1300 5abb 005b
0000010: 5901 b700 5cb8 005d b200 222a b600 11c0
0000020: 002b 3a04 013a 0519 04b6 025a 3a05 1905
0000030: 3a04 0937 0519 04b6 024b 3705 1605 b800
0000040: 334c 1300 2bb8 0014 03bd 0005 b600 184d
0000050: 2cb6 0019 c000 2b3a 0403 3605 1904 b602
0000060: 3b36 0515 05b2 0022 2ab6 0011 c000 2b3a
0000070: 0401 3a05 1904 b602 5a3a 0519 053a 0403
0000080: 3605 1904 b602 3e36 0515 05a4 000b 2c12
0000090: 6212 6bb6 001e a700 044e 2cb6 0019 c000
00000a0: 2b3a 0401 3a05 1904 b602 5e3a 0519 053a
00000b0: 0409 3705 1904 b602 5f37 0516 052c b600
00000c0: 19c0 002b 3a04 013a 0519 04b6 0262 3a05
00000d0: 1905 3a04 0937 0519 04b6 025f 3705 1605
00000e0: 949a 0013 2c12 6612 6db6 001e 2c12 6512
00000f0: 6db6 001e a700 044e 2cb6 0020 9900 162b
0000100: b800 584e 2a2b 2d2c b800 0db8 0076 b800
0000110: 21b0 2cb6 0019 c000 2b2a b600 772c b600
0000120: 19c0 002b 3a04 0336 0519 04b6 0259 3605
0000130: 1505 9900 35b2 0010 2cb6 0019 c000 2b3a
0000140: 0401 3a05 1904 b602 5a3a 0519 053a 0409
0000150: 3705 1904 b602 4b37 0516 05b8 0033 b600
0000160: 11c0 0012 b600 3512 36bb 0037 59b7 0038
0000170: 1271 b600 3ab2 004e 2cb6 0019 c000 2b3a
0000180: 0401 3a05 1904 b602 5e3a 0519 053a 0409
0000190: 3705 1904 b602 5f37 0516 05b8 0033 b600
00001a0: 11c0 0046 3a04 013a 0519 04b6 024c 3a05
00001b0: 1905 b600 3a12 74b6 003a b200 4e2c b600
00001c0: 19c0 002b 3a04 013a 0519 04b6 0262 3a05
00001d0: 1905 3a04 0937 0519 04b6 025f 3705 1605
00001e0: b800 33b6 0011 c000 463a 0401 3a05 1904
00001f0: b602 4c3a 0519 05b6 003a 123c b600 3ab6
0000200: 003d b800 3eb2 004b 2bb6 004c b600 4db8
0000210: 000a b0
Exception Handler Table:
bci [80, 150] => handler: 153
bci [154, 244] => handler: 247
Stackmap Table:
same_frame(@10)
full_frame(@150,{Object[#328],Object[#328],Object[#291],Top,Object[#246],Int
eger},{})
full_frame(@153,{Object[#328],Object[#328],Object[#291],Top,Object[#246]},{O
bject[#196]})
full_frame(@154,{Object[#328],Object[#328],Object[#291],Top,Object[#246]},{}
)
full_frame(@244,{Object[#328],Object[#328],Object[#291],Top,Object[#70],Long
},{})
full_frame(@247,{Object[#328],Object[#328],Object[#291],Top,Object[#456]},{O
bject[#196]})
same_frame(@248)
same_frame(@274)
same_frame_extended(@359)
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.7.0_45]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) ~[na:1.7.0
_45]
at java.lang.Class.getMethod0(Class.java:2774) ~[na:1.7.0_45]
at java.lang.Class.getMethod(Class.java:1663) ~[na:1.7.0_45]
at org.apache.commons.lang3.reflect.MethodUtils.getMatchingAccessibleMet
hod(MethodUtils.java:511) ~[commons-lang3.jar:3.1]
at play.core.Router$HandlerInvoker$$anon$7$$anon$2$$anonfun$3.apply(Rout
er.scala:178) ~[play_2.10.jar:2.2.0]
[error] application - Error while rendering default error page
scala.MatchError: java.lang.VerifyError: Stack map does not match the one at exc
eption handler 153
Exception Details:
Location:
controllers/AdminController.updateGame(Ljava/lang/Long;)Lplay/mvc/Result; @1
53: astore_3
Reason:
Type 'models/Game' (current frame, locals[4]) is not assignable to 'models/L
eague' (stack map, locals[4])
Current Frame:
bci: @87
flags: { }
locals: { 'java/lang/Long', 'java/lang/Long', 'play/data/Form', top, 'models
/Game', long, long_2nd }
stack: { 'java/lang/IllegalStateException' }
Stackmap Frame:
bci: @153
flags: { }
locals: { 'java/lang/Long', 'java/lang/Long', 'play/data/Form', top, 'models
/League' }
stack: { 'java/lang/IllegalStateException' }
Bytecode:
0000000: b800 0bc6 0007 b800 0bb0 1300 5abb 005b
0000010: 5901 b700 5cb8 005d b200 222a b600 11c0
0000020: 002b 3a04 013a 0519 04b6 025a 3a05 1905
0000030: 3a04 0937 0519 04b6 024b 3705 1605 b800
0000040: 334c 1300 2bb8 0014 03bd 0005 b600 184d
0000050: 2cb6 0019 c000 2b3a 0403 3605 1904 b602
0000060: 3b36 0515 05b2 0022 2ab6 0011 c000 2b3a
0000070: 0401 3a05 1904 b602 5a3a 0519 053a 0403
0000080: 3605 1904 b602 3e36 0515 05a4 000b 2c12
0000090: 6212 6bb6 001e a700 044e 2cb6 0019 c000
00000a0: 2b3a 0401 3a05 1904 b602 5e3a 0519 053a
00000b0: 0409 3705 1904 b602 5f37 0516 052c b600
00000c0: 19c0 002b 3a04 013a 0519 04b6 0262 3a05
00000d0: 1905 3a04 0937 0519 04b6 025f 3705 1605
00000e0: 949a 0013 2c12 6612 6db6 001e 2c12 6512
00000f0: 6db6 001e a700 044e 2cb6 0020 9900 162b
0000100: b800 584e 2a2b 2d2c b800 0db8 0076 b800
0000110: 21b0 2cb6 0019 c000 2b2a b600 772c b600
0000120: 19c0 002b 3a04 0336 0519 04b6 0259 3605
0000130: 1505 9900 35b2 0010 2cb6 0019 c000 2b3a
0000140: 0401 3a05 1904 b602 5a3a 0519 053a 0409
0000150: 3705 1904 b602 4b37 0516 05b8 0033 b600
0000160: 11c0 0012 b600 3512 36bb 0037 59b7 0038
0000170: 1271 b600 3ab2 004e 2cb6 0019 c000 2b3a
0000180: 0401 3a05 1904 b602 5e3a 0519 053a 0409
0000190: 3705 1904 b602 5f37 0516 05b8 0033 b600
00001a0: 11c0 0046 3a04 013a 0519 04b6 024c 3a05
00001b0: 1905 b600 3a12 74b6 003a b200 4e2c b600
00001c0: 19c0 002b 3a04 013a 0519 04b6 0262 3a05
00001d0: 1905 3a04 0937 0519 04b6 025f 3705 1605
00001e0: b800 33b6 0011 c000 463a 0401 3a05 1904
00001f0: b602 4c3a 0519 05b6 003a 123c b600 3ab6
0000200: 003d b800 3eb2 004b 2bb6 004c b600 4db8
0000210: 000a b0
Exception Handler Table:
bci [80, 150] => handler: 153
bci [154, 244] => handler: 247
Stackmap Table:
same_frame(@10)
full_frame(@150,{Object[#328],Object[#328],Object[#291],Top,Object[#246],Int
eger},{})
full_frame(@153,{Object[#328],Object[#328],Object[#291],Top,Object[#246]},{O
bject[#196]})
full_frame(@154,{Object[#328],Object[#328],Object[#291],Top,Object[#246]},{}
)
full_frame(@244,{Object[#328],Object[#328],Object[#291],Top,Object[#70],Long
},{})
full_frame(@247,{Object[#328],Object[#328],Object[#291],Top,Object[#456]},{O
bject[#196]})
same_frame(@248)
same_frame(@274)
same_frame_extended(@359)
(of class java.lang.VerifyError)
at play.api.GlobalSettings$class.onError(GlobalSettings.scala:134) ~[pla
y_2.10.jar:2.2.0]
at play.api.DefaultGlobal$.onError(GlobalSettings.scala:192) [play_2.10.
jar:2.2.0]
at play.core.server.Server$class.logExceptionAndGetResult$1(Server.scala
:73) [play_2.10.jar:2.2.0]
at play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:8
3) [play_2.10.jar:2.2.0]
at play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:8
1) [play_2.10.jar:2.2.0]
at scala.util.Either$RightProjection.flatMap(Either.scala:523) [scala-li
brary.jar:na]
public static Result index() { System.out.println(System.getProperty("java.version")); Test.test(createParameter()); return ok(index.render("Your new application is ready."));}
public class Test { public static String test(Parameter parameter) { if (parameter.param1 == null || parameter.param2 == null) { return ""; } try { Worker worker = createWorker(parameter.param3); WorkResult result1 = worker.work(parameter.param1); if (result1 == null) { return ""; } return "OK"; } catch (Exception e) { throw new RuntimeException(e); } }
private static Worker createWorker(Long id) { return new Worker(); }
public static class Parameter { public String param1; public String param2; public Long param3; }
public static class Worker { public WorkResult work(String param) { return new WorkResult(); } }
public static class WorkResult { }}
1.7.0_45Uncaught error from thread [play-akka.actor.default-dispatcher-12] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[play]java.lang.VerifyError: Stack map does not match the one at exception handler 80Exception Details:[ERROR] [10/31/2013 14:37:23.774] [play-akka.actor.default-dispatcher-12] [ActorSystem(play)] Uncaught error from thread [play-a Location:kka.actor.default-dispatcher-12] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled controllers/Test.test(Lcontrollers/Test$Parameter;)Ljava/lang/String; @80: astore_1java.lang.VerifyError: Stack map does not match the one at exception handler 80 Reason:Exception Details: Type 'java/lang/Long' (current frame, locals[4]) is not assignable to 'java/lang/String' (stack map, locals[4]) Location: Current Frame: controllers/Test.test(Lcontrollers/Test$Parameter;)Ljava/lang/String; @80: astore_1 bci: @44 Reason: flags: { } Type 'java/lang/Long' (current frame, locals[4]) is not assignable to 'java/lang/String' (stack map, locals[4]) locals: { 'controllers/Test$Parameter', top, top, 'controllers/Test$Parameter', 'java/lang/Long' } Current Frame: stack: { 'java/lang/Exception' } bci: @44 Stackmap Frame: flags: { } bci: @80 locals: { 'controllers/Test$Parameter', top, top, 'controllers/Test$Parameter', 'java/lang/Long' } flags: { } stack: { 'java/lang/Exception' } locals: { 'controllers/Test$Parameter', top, top, 'controllers/Test$Parameter', 'java/lang/String' }
java.lang.VerifyError: Stack map does not match the one at exception handler 153
in method controllers.AdminController.updateGame(Ljava/lang/Long;)Lplay/mvc/Res
ult; at offset 87
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.7.0_03]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) ~[na:1.7.0
_03]
at java.lang.Class.getMethod0(Class.java:2685) ~[na:1.7.0_03]
at java.lang.Class.getMethod(Class.java:1620) ~[na:1.7.0_03]
at org.apache.commons.lang3.reflect.MethodUtils.getMatchingAccessibleMet
hod(MethodUtils.java:511) ~[commons-lang3.jar:3.1]
at play.core.Router$HandlerInvoker$$anon$7$$anon$2$$anonfun$3.apply(Rout
er.scala:178) ~[play_2.10.jar:2.2.1]
[error] application - Error while rendering default error page
scala.MatchError: java.lang.VerifyError: Stack map does not
match the one at exc
eption handler 153 in method controllers.AdminController.updateGame(Ljava/lang/L
ong;)Lplay/mvc/Result; at offset 87 (of class java.lang.VerifyError)
at play.api.GlobalSettings$class.onError(GlobalSettings.scala:131) ~[pla
y_2.10.jar:2.2.1]
at play.api.DefaultGlobal$.onError(GlobalSettings.scala:189) [play_2.10.
jar:2.2.1]
at play.core.server.Server$class.logExceptionAndGetResult$1(Server.scala
:73) [play_2.10.jar:2.2.1]
at play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:8
3) [play_2.10.jar:2.2.1]
at play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:8
1) [play_2.10.jar:2.2.1]
at scala.util.Either$RightProjection.flatMap(Either.scala:523) [scala-li
brary.jar:na]
Another workaround.
-XX:UseSplitVerifier
add this jvm option.
only with java7. not sure java8
--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/eWFwZ75T6wk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.