Skip to content

Quarkus integration issue #1063

Description

@Sbruk

Hello,

I'm trying to integrate jazzer in my Quarkus project and I'm facing a problem with a very basic first test.
The stack is Quarkus LTS 3.33.3.1, OpenJDK Runtime Environment Temurin-25.0.3+9 (build 25.0.3+9-LTS) and Maven 3.9.16.

Here is a reproducer.
There is a basic service's method that returns reproducer-LocalDate.now()-<ARG> and I'm trying to fuzz it. The test is the following:

Image

After setting JAZZER_FUZZ=1;JAZZER_MAX_EXECUTIONS=100000 and executing the test class, I get the following error:

Image

The exact trace is:

java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.lang.reflect.InvocationHandler.invoke(Object, java.lang.reflect.Method, Object[])" is null

	at jdk.proxy5/jdk.proxy5.$Proxy95.consumeInt(Unknown Source)
	at org.acme.service.QuarkusServiceTest.testFuzz(QuarkusServiceTest.java:27)

Let me know if you need more information.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions