Community
Participate
Working Groups
In our application using Sprint Boot and Wicket we are getting above exception during runtime in Neon 4.6.3. It works if we compile and run the application outside Eclipse using java 1.8 compiler.
Caused by: java.lang.IllegalArgumentException: Invalid lambda deserialization at xxx.DropdownVerificationPanel.$deserializeLambda$(DropdownVerificationPanel.java:1) ~[classes/:na] ... 231 common frames omitted
I'm afraid we'll need some reproducing example before anyone can work on this.
Created attachment 279723 [details] reproducing example I can provide a reproducing example to this bug. As far as I can tell, the deserialization fails because of the type parameter. The serialized lambda has an implMethodSignature of '()Ljava/lang/Object;' but the generated $deserializeLambda$-Method expects it to be '()Ljava/lang/Integer;': private static /* synthetic */ Object $deserializeLambda$(SerializedLambda serializedLambda) { switch (serializedLambda.getImplMethodName()) { case "get": { if (serializedLambda.getImplMethodKind() != 5 || !serializedLambda.getFunctionalInterfaceClass().equals("de/tracetronic/ttstm/LambdaTest$SerializableFunction") || !serializedLambda.getFunctionalInterfaceMethodName().equals("apply") || !serializedLambda.getFunctionalInterfaceMethodSignature().equals("(Ljava/lang/Object;)Ljava/lang/Object;") || !serializedLambda.getImplClass().equals("de/tracetronic/ttstm/LambdaTest$GenericClass") || !serializedLambda.getImplMethodSignature().equals("()Ljava/lang/Integer;")) break; return GenericClass::get; } } throw new IllegalArgumentException("Invalid lambda deserialization"); }
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Not reproducible on master ... (I had top change the test case to use import java.io.ByteArrayOutputStream;)