Exception in thread "main" java.lang.VerifyError: Bad return type
See original GitHub issueThis is happening to me after upgrading to 4.2.0
Exception in thread "main" java.lang.VerifyError: Bad return type
Exception Details:
Location:
com/querydsl/sql/dml/AbstractSQLInsertClause.values([Ljava/lang/Object;)Lcom/querydsl/sql/dml/SQLInsertClause; @5: areturn
Reason:
Type 'com/querydsl/sql/dml/AbstractSQLInsertClause' (current frame, stack[0]) is not assignable to 'com/querydsl/sql/dml/SQLInsertClause' (from method signature)
Current Frame:
bci: @5
flags: { }
locals: { 'com/querydsl/sql/dml/AbstractSQLInsertClause', '[Ljava/lang/Object;' }
stack: { 'com/querydsl/sql/dml/AbstractSQLInsertClause' }
Bytecode:
0x0000000: 2a2b b602 74b0
at com.querydsl.sql.AbstractSQLQueryFactory.insert(AbstractSQLQueryFactory.java:73)
at com.github.natros.Main.main(Main.java:23)
Test case https://github.com/natros/querydsl-test
java version “1.8.0_162” Java™ SE Runtime Environment (build 1.8.0_162-b12) Java HotSpot™ 64-Bit Server VM (build 25.162-b12, mixed mode) macOS 10.13.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Causes of getting a java.lang.VerifyError - Stack Overflow
java.lang.VerifyError can be the result when you have compiled against a different library than you are using at runtime. For example, this happened...
Read more >Exception in thread "main" java.lang.VerifyError: Bad return type
Exception in thread "main" java.lang.VerifyError: Bad return type. Relates to 1 Duplicates 1. Relates to 1 issue (0 unresolved).
Read more >How to solve VerifyError - Examples Java Code Geeks - 2022
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack. Exception Details: Location: TestClassC.main([Ljava ...
Read more >java.lang.VerifyError: Bad return type when lambda's body is ...
It compiles but JVM fails in runtime with the following error: Exception in thread "main" java.lang.VerifyError: Bad return type. Exception Details:
Read more >"java.lang.VerifyError: Bad return type" when connecting to ...
... a connection with the specified HDFS host because of the following error: [java.lang.VerifyError: Bad return type. Exception Details:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As we speak Querydsl 4.2.1 has been released, so this is now fixed. Sorry for the inconvenience! 😅
Sorry, it appears a broken version made it accidently out, I will prepare a new release