Skip to content

[Automation] native-image run fails for org.glassfish.jersey.core:jersey-server:3.0.11 #9076

Description

@graalvmbot

native-image run on ubuntu-latest / JDK 25 / mode current-defaults

Failure kind: native-image run
OS: ubuntu-latest
JDK: 25
Native-image mode: current-defaults
Reproducer: env GVM_TCK_LV=3.0.11 GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=org.glassfish.jersey.core:jersey-server:3.0.8
Runner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/29830766883
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):

.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:97)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:PrimitiveValueOfExtractorTest:extractsPrimitiveQueryParameterUsingItsValueOfMethod()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.PrimitiveValueOfExtractorTest', methodName = 'extractsPrimitiveQueryParameterUsingItsValueOfMethod', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:97)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:ResourceConfigTest:loadsConfiguredResourceClassDuringApplicationBootstrap()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.ResourceConfigTest', methodName = 'loadsConfiguredResourceClassDuringApplicationBootstrap', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:97)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:SubResourceLocatorRouterTest:invokesSubResourceLocatorAndMatchedResourceMethod()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.SubResourceLocatorRouterTest', methodName = 'invokesSubResourceLocatorAndMatchedResourceMethod', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:97)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:WadlGeneratorLoaderTest:configuresWadlGeneratorPropertiesUsingApplicationInjectionManager()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.WadlGeneratorLoaderTest', methodName = 'configuresWadlGeneratorPropertiesUsingApplicationInjectionManager', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

  {
    "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
    "methods": [
      {
        "name": "<init>",
        "parameterTypes": [
          "org.glassfish.jersey.internal.inject.InjectionManager",
          "jakarta.ws.rs.core.Configuration"
        ]
      }
    ]
  }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:97)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]

Test run finished after 86 ms
[        10 containers found      ]
[         0 containers skipped    ]
[        10 containers started    ]
[         0 containers aborted    ]
[        10 containers successful ]
[         0 containers failed     ]
[         9 tests found           ]
[         0 tests skipped         ]
[         9 tests started         ]
[         0 tests aborted         ]
[         3 tests successful      ]
[         6 tests failed          ]


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nativeTest'.
> Process 'command '/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/org.glassfish.jersey.core/jersey-server/3.0.8/build/native/nativeTestCompile/org.glassfish.jersey.core.jersey-server_tests-tests'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 2m 13s

[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/org.glassfish.jersey.core/jersey-server/3.0.8/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 8 executed, 11 up-to-date

> Task :tckTest FAILED

[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tckTest'.
> Test for org.glassfish.jersey.core:jersey-server:3.0.8 failed with exit code 1.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 15s
11 actionable tasks: 3 executed, 8 up-to-date
Finished stage 'native-image run' for 3.0.11 at 2026-07-21T13:01:48Z with exit code 1 after 135s
❌ ERROR: 'native-image run' for 3.0.11 failed with exit code 1.
FAILED[native-image run][3.0.11][env GVM_TCK_LV=3.0.11 GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=org.glassfish.jersey.core:jersey-server:3.0.8]

native-image run on ubuntu-latest / JDK latest-ea / mode current-defaults

Failure kind: native-image run
OS: ubuntu-latest
JDK: latest-ea
Native-image mode: current-defaults
Reproducer: env GVM_TCK_LV=3.0.11 GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=org.glassfish.jersey.core:jersey-server:3.0.8
Runner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/29830766883
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):

ureTask.java:328)

	at java.base@25.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
	at java.base@25.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
	at java.base@25.0.3/java.lang.Thread.run(Thread.java:1474)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
MultiException stack 2 of 2
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:429)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       [...]
	at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
  JUnit Jupiter:ResourceConfigTest:loadsConfiguredResourceClassDuringApplicationBootstrap()
	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.ResourceConfigTest', methodName = 'loadsConfiguredResourceClassDuringApplicationBootstrap', methodParameterTypes = '']
	at org.    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:
jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)

	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
    {
	at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.lambda$getAllServiceHolders$0(AbstractHk2InjectionManager.java:136)
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
	at java.base@25.0.3/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:214)
      "methods": [
	at java.base@25.0.3/java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1250)
        {
	at java.base@25.0.3/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
          "name": "<init>",
	at java.base@25.0.3/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
          "parameterTypes": [
	at java.base@25.0.3/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
            "org.glassfish.jersey.internal.inject.InjectionManager",
	at java.base@25.0.3/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
            "jakarta.ws.rs.core.Configuration"
	at java.base@25.0.3/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:723)
          ]
	at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getAllServiceHolders(AbstractHk2InjectionManager.java:140)
        }
	at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getAllServiceHolders(ImmediateHk2InjectionManager.java:30)
      ]
	at org.glassfish.jersey.internal.inject.Providers.getServiceHolders(Providers.java:299)
    }
	at org.glassfish.jersey.internal.inject.Providers.getProviders(Providers.java:133)

	at org.glassfish.jersey.server.internal.inject.ParamExtractorConfigurator.lambda$init$0(ParamExtractorConfigurator.java:48)
The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
	at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:317)
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider
	at org.glassfish.jersey.server.internal.inject.MultivaluedParameterExtractorFactory.get(MultivaluedParameterExtractorFactory.java:68)

	at org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider.get(AbstractValueParamProvider.java:67)
       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
	at org.glassfish.jersey.server.internal.inject.PathParamValueParamProvider.createValueProvider(PathParamValueParamProvider.java:71)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
	at org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider.getValueProvider(AbstractValueParamProvider.java:93)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
	at org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParamValueProvider(ParameterValueHelper.java:148)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
	at org.glassfish.jersey.server.spi.internal.ParameterValueHelper.createValueProviders(ParameterValueHelper.java:110)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
	at org.glassfish.jersey.server.model.ResourceMethodValidator.checkValueProviders(ResourceMethodValidator.java:172)
       [...]
	at org.glassfish.jersey.server.model.ResourceMethodValidator.checkMethod(ResourceMethodValidator.java:81)
	at org.glassfish.jersey.server.model.ResourceMethodValidator.visitJaxrsResourceMethod(ResourceMethodValidator.java:77)
	at org.glassfish.jersey.server.model.ResourceMethodValidator.visitResourceMethod(ResourceMethodValidator.java:67)
	at org.glassfish.jersey.server.model.ResourceMethod.accept(ResourceMethod.java:876)
	at org.glassfish.jersey.server.model.ComponentModelValidator.validateWithErrors(ComponentModelValidator.java:126)
	at org.glassfish.jersey.server.model.ComponentModelValidator.validateWithErrors(ComponentModelValidator.java:132)
	at org.glassfish.jersey.server.model.ComponentModelValidator.validateWithErrors(ComponentModelValidator.java:132)
	at org.glassfish.jersey.server.model.ComponentModelValidator.validateWithErrors(ComponentModelValidator.java:132)
	at org.glassfish.jersey.server.model.ComponentModelValidator.access$000(ComponentModelValidator.java:55)
	at org.glassfish.jersey.server.model.ComponentModelValidator$1.run(ComponentModelValidator.java:116)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.server.model.ComponentModelValidator.validate(ComponentModelValidator.java:111)
	at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:370)
	at org.glassfish.jersey.server.ApplicationHandler.lambda$initialize$1(ApplicationHandler.java:297)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:232)
	at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:296)
	at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:261)
	at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:236)
	at org_glassfish_jersey_core.jersey_server.WadlGeneratorLoaderTest.configuresWadlGeneratorPropertiesUsingApplicationInjectionManager(WadlGeneratorLoaderTest.java:37)
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.SubstrateMethodAccessor.invoke(SubstrateMethodAccessor.java:118)
	at java.base@25.0.3/java.lang.reflect.Method.invoke(Method.java:565)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.api.AssertTimeoutPreemptively.lambda$submitTask$3(AssertTimeoutPreemptively.java:95)
	at java.base@25.0.3/java.util.concurrent.FutureTask.run(FutureTask.java:328)
	at java.base@25.0.3/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
	at java.base@25.0.3/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
	at java.base@25.0.3/java.lang.Thread.run(Thread.java:1474)



FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nativeTest'.
> Process 'command '/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/org.glassfish.jersey.core/jersey-server/3.0.8/build/native/nativeTestCompile/org.glassfish.jersey.core.jersey-server_tests-tests'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 57s
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:SubResourceLocatorRouterTest:invokesSubResourceLocatorAndMatchedResourceMethod()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.SubResourceLocatorRouterTest', methodName = 'invokesSubResourceLocatorAndMatchedResourceMethod', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:WadlGeneratorLoaderTest:configuresWadlGeneratorPropertiesUsingApplicationInjectionManager()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.WadlGeneratorLoaderTest', methodName = 'configuresWadlGeneratorPropertiesUsingApplicationInjectionManager', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]

Test run finished after 60 ms
[        10 containers found      ]
[         0 containers skipped    ]
[        10 containers started    ]
[         0 containers aborted    ]
[        10 containers successful ]
[         0 containers failed     ]
[         9 tests found           ]
[         0 tests skipped         ]
[         9 tests started         ]
[         0 tests aborted         ]
[         3 tests successful      ]
[         6 tests failed          ]


[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/org.glassfish.jersey.core/jersey-server/3.0.8/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 8 executed, 11 up-to-date

> Task :tckTest FAILED

[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tckTest'.
> Test for org.glassfish.jersey.core:jersey-server:3.0.8 failed with exit code 1.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m 59s
11 actionable tasks: 3 executed, 8 up-to-date
Finished stage 'native-image run' for 3.0.11 at 2026-07-21T13:00:05Z with exit code 1 after 120s
❌ ERROR: 'native-image run' for 3.0.11 failed with exit code 1.
FAILED[native-image run][3.0.11][env GVM_TCK_LV=3.0.11 GVM_TCK_NATIVE_IMAGE_MODE=current-defaults ./gradlew clean test -Pcoordinates=org.glassfish.jersey.core:jersey-server:3.0.8]

native-image run on ubuntu-latest / JDK latest-ea / mode future-defaults-all

Failure kind: native-image run
OS: ubuntu-latest
JDK: latest-ea
Native-image mode: future-defaults-all
Reproducer: env GVM_TCK_LV=3.0.11 GVM_TCK_NATIVE_IMAGE_MODE=future-defaults-all ./gradlew clean test -Pcoordinates=org.glassfish.jersey.core:jersey-server:3.0.8
Runner log: https://github.com/oracle/graalvm-reachability-metadata/actions/runs/29830766883
Last 300 lines of the log (excerpt truncated to fit the GitHub issue size limit):

org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:PrimitiveValueOfExtractorTest:extractsPrimitiveQueryParameterUsingItsValueOfMethod()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.PrimitiveValueOfExtractorTest', methodName = 'extractsPrimitiveQueryParameterUsingItsValueOfMethod', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:ResourceConfigTest:loadsConfiguredResourceClassDuringApplicationBootstrap()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.ResourceConfigTest', methodName = 'loadsConfiguredResourceClassDuringApplicationBootstrap', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:SubResourceLocatorRouterTest:invokesSubResourceLocatorAndMatchedResourceMethod()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.SubResourceLocatorRouterTest', methodName = 'invokesSubResourceLocatorAndMatchedResourceMethod', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]
  JUnit Jupiter:WadlGeneratorLoaderTest:configuresWadlGeneratorPropertiesUsingApplicationInjectionManager()
    MethodSource [className = 'org_glassfish_jersey_core.jersey_server.WadlGeneratorLoaderTest', methodName = 'configuresWadlGeneratorPropertiesUsingApplicationInjectionManager', methodParameterTypes = '']
    => A MultiException has 2 exceptions.  They are:
1. org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
2. java.lang.IllegalStateException: Unable to perform operation: create on org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider

       org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:428)
       org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
       org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:46)
       org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2109)
       org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
       [...]
     Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke constructor 'public org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider(org.glassfish.jersey.internal.inject.InjectionManager,jakarta.ws.rs.core.Configuration)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

    {
      "type": "org.glassfish.jersey.internal.inject.ParamConverters$AggregatedProvider",
      "methods": [
        {
          "name": "<init>",
          "parameterTypes": [
            "org.glassfish.jersey.internal.inject.InjectionManager",
            "jakarta.ws.rs.core.Configuration"
          ]
        }
      ]
    }

The 'reachability-metadata.json' file should be located in 'META-INF/native-image/<group-id>/<artifact-id>/' of your project. For further help, see https://www.graalvm.org/latest/reference-manual/native-image/metadata/#reflection
       org.graalvm.nativeimage.builder/com.oracle.svm.core.reflect.MissingReflectionRegistrationUtils.reportInvokedExecutable(MissingReflectionRegistrationUtils.java:110)
       java.base@25.0.3/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:101)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:496)
       java.base@25.0.3/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
       org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
       [...]

Test run finished after 49 ms
[        10 containers found      ]
[         0 containers skipped    ]
[        10 containers started    ]
[         0 containers aborted    ]
[        10 containers successful ]
[         0 containers failed     ]
[         9 tests found           ]
[         0 tests skipped         ]
[         9 tests started         ]
[         0 tests aborted         ]
[         3 tests successful      ]
[         6 tests failed          ]


[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/org.glassfish.jersey.core/jersey-server/3.0.8/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
19 actionable tasks: 8 executed, 11 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nativeTest'.
> Process 'command '/home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/tests/src/org.glassfish.jersey.core/jersey-server/3.0.8/build/native/nativeTestCompile/org.glassfish.jersey.core.jersey-server_tests-tests'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 2m 9s

> Task :tckTest FAILED

[Incubating] Problems report is available at: file:///home/runner/work/graalvm-reachability-metadata/graalvm-reachability-metadata/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tckTest'.
> Test for org.glassfish.jersey.core:jersey-server:3.0.8 failed with exit code 1.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 11s
11 actionable tasks: 3 executed, 8 up-to-date
Finished stage 'native-image run' for 3.0.11 at 2026-07-21T13:01:02Z with exit code 1 after 132s
❌ ERROR: 'native-image run' for 3.0.11 failed with exit code 1.
FAILED[native-image run][3.0.11][env GVM_TCK_LV=3.0.11 GVM_TCK_NATIVE_IMAGE_MODE=future-defaults-all ./gradlew clean test -Pcoordinates=org.glassfish.jersey.core:jersey-server:3.0.8]

Metadata

Metadata

Assignees

No one assigned

    Labels

    fails-native-image-runTests fail in native executionlibrary-unsupported-versionAutomation found that the specific library version is not working with the current metadata.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions