question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception in thread "main" java.lang.VerifyError: Bad return type

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Shredder121commented, Mar 22, 2018

As we speak Querydsl 4.2.1 has been released, so this is now fixed. Sorry for the inconvenience! 😅

1reaction
timowestcommented, Mar 20, 2018

Sorry, it appears a broken version made it accidently out, I will prepare a new release

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found