Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kamelet tests fail at build time due to StackOverflowError #5849

Closed
jamesnetherton opened this issue Mar 7, 2024 · 1 comment
Closed

Kamelet tests fail at build time due to StackOverflowError #5849

jamesnetherton opened this issue Mar 7, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Also seen on the Kamelet Chuck Norris example project.

[INFO] Running org.apache.camel.quarkus.component.kamelet.it.KameletTest
2024-03-07 14:08:00,823 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (build-4) Apache Camel 4.5.0-SNAPSHOT (camel-2) is shutting down (timeout:45s)
2024-03-07 14:08:00,828 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (build-4) Routes stopped (total:0)
2024-03-07 14:08:00,832 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (build-4) Apache Camel 4.5.0-SNAPSHOT (camel-2) shutdown in 11ms (uptime:)
[ERROR] Tests run: 7, Failures: 0, Errors: 1, Skipped: 6, Time elapsed: 1.885 s <<< FAILURE! -- in org.apache.camel.quarkus.component.kamelet.it.KameletTest
[ERROR] org.apache.camel.quarkus.component.kamelet.it.KameletTest.testKameletWithProperties -- Time elapsed: 0.003 s <<< ERROR!
java.lang.RuntimeException:
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.deployment.steps.MainClassBuildStep#build threw an exception: java.lang.StackOverflowError
        at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3362)
        at java.base/java.lang.Class.getConstructors(Class.java:2060)
        at io.quarkus.deployment.recording.BytecodeRecorderImpl.loadComplexObject(BytecodeRecorderImpl.java:1173)
        at io.quarkus.deployment.recording.BytecodeRecorderImpl.loadObjectInstanceImpl(BytecodeRecorderImpl.java:914)
        at io.quarkus.deployment.recording.BytecodeRecorderImpl.loadObjectInstance(BytecodeRecorderImpl.java:586)
        at io.quarkus.deployment.recording.BytecodeRecorderImpl.loadComplexObject(BytecodeRecorderImpl.java:1357)
@jamesnetherton jamesnetherton added the bug Something isn't working label Mar 7, 2024
@JiriOndrusek JiriOndrusek self-assigned this Mar 8, 2024
JiriOndrusek added a commit that referenced this issue Mar 8, 2024
@JiriOndrusek
Copy link
Contributor

Fixed in camel-main branch, issue can be closed as camel-main (for Camel 4.5 is merged into main)

JiriOndrusek added a commit that referenced this issue Mar 14, 2024
JiriOndrusek added a commit that referenced this issue Mar 15, 2024
JiriOndrusek added a commit that referenced this issue Mar 20, 2024
JiriOndrusek added a commit that referenced this issue Mar 22, 2024
@jamesnetherton jamesnetherton added this to the 3.10.0 milestone Apr 2, 2024
@jamesnetherton jamesnetherton changed the title [camel-main] Kamelet tests fail at build time due to StackOverflowError Kamelet tests fail at build time due to StackOverflowError Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants