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:
After setting JAZZER_FUZZ=1;JAZZER_MAX_EXECUTIONS=100000 and executing the test class, I get the following error:
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
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:After setting JAZZER_FUZZ=1;JAZZER_MAX_EXECUTIONS=100000 and executing the test class, I get the following error:
The exact trace is:
Let me know if you need more information.
Thanks