You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I bumped into the same issue as mentioned here: karatelabs/karate#2627 when trying to generate generate openapi specs in my Quarkus application.
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Collection.iterator()" because the return value of "karate.nonapi.io.github.classgraph.reflection.ReflectionUtils.getFieldVal(boolean, Object, String)" is null
at karate.nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler.findClasspathOrderForQuarkusClassloader(QuarkusClassLoaderHandler.java:120)
at karate.nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler.findClasspathOrder(QuarkusClassLoaderHandler.java:111) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... 18 more
I was able to solve this by overriding the io.github.classgraph:classgraph in my pom:
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-jaxrs2-jakarta</artifactId>
</dependency>
<!-- Override classgraph version from swagger-jaxrs2-jakarta -->
<dependency>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.179</version>
</dependency>
Would it be possible to bump the classgraph dependency?
The text was updated successfully, but these errors were encountered:
I bumped into the same issue as mentioned here: karatelabs/karate#2627 when trying to generate generate openapi specs in my Quarkus application.
I was able to solve this by overriding the
io.github.classgraph:classgraph
in my pom:Would it be possible to bump the classgraph dependency?
The text was updated successfully, but these errors were encountered: