Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jersey-dev] Jakarta 9 code throws exception at runtime

I converted my code from JavaEE to Jakarta 9 and tried to run it on Jetty11.0.16.
I am getting intermittent exception below.
I was wondering if there was any information regarding that.

Thanks,
Jim
java.lang.NullPointerException: Cannot invoke "org.glassfish.jersey.message.filtering.spi.ObjectProvider.getFilteringObject(java.lang.reflect.Type, boolean, java.lang.annotation.Annotation[])" because the return value of "jakarta.inject.Provider.get()" is null
        at org.glassfish.jersey.moxy.json.internal.FilteringMoxyJsonProvider.preWriteTo(FilteringMoxyJsonProvider.java:65)
        at org.eclipse.persistence.jaxb.rs.MOXyJsonProvider.writeTo(MOXyJsonProvider.java:982)


Back to the top