siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
694 stars 107 forks source link

Stack overflow after 0.21 upgrade #395

Closed velo closed 3 months ago

velo commented 3 months ago

Dependabot recommended me bumping version, but newer version is throwing an StackOverflowError.

https://app.circleci.com/pipelines/github/OpenFeign/querydsl/1477/workflows/d5684c85-9683-4d6f-95d6-8ebfe757d490/jobs/11347 =>

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:52)
        at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:161)
        at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:73)
Caused by: java.lang.StackOverflowError
        at japicmp.compat.CompatibilityChanges.isInterface(CompatibilityChanges.java:645)
        at japicmp.compat.CompatibilityChanges.checkAbstractMethod(CompatibilityChanges.java:517)
        at japicmp.compat.CompatibilityChanges.checkIfMethodsHaveChangedIncompatible(CompatibilityChanges.java:426)

If there are extra information I can provide please let me know

siom79 commented 3 months ago

Hello @velo,

thanks for reporting.

From the output of the circleci logs I see that the error happens in the module

[INFO] Querydsl - JPA Spring support ...................... FAILURE [  5.432 s]

How to build this module? At first glance I cannot find it. :frowning:

velo commented 3 months ago

The build is been executed with ./mvnw -ntp -B verify -Pno-databases

siom79 commented 3 months ago

When I run this in the root directory, it only builds the root module. The profile no-databases isn't defined in the root pom.xml (see here). Or what I am doing wrong?

velo commented 3 months ago

Different project... https://github.com/OpenFeign/querydsl/

That one was stagnated for 3 years, then did a release to torpedo my fork and now dormant again