io.katharsis.invoker.KatharsisInvokerException: com.fasterxml.jackson.databind.JsonMappingException: [no message for java.lang.NullPointerException]

GitHub | masterspambot | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Setting a relationship causes a NullPointerException exception

    GitHub | 7 months ago | masterspambot
    io.katharsis.invoker.KatharsisInvokerException: com.fasterxml.jackson.databind.JsonMappingException: [no message for java.lang.NullPointerException]
  2. 0

    GitHub comment 17#236161704

    GitHub | 7 months ago | masterspambot
    io.katharsis.invoker.KatharsisInvokerException: com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: java.util.Values[0])

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at io.katharsis.jackson.serializer.ContainerSerializer.serialize()
    2. io.katharsis.jackson
      ContainerSerializer.serialize
      1. io.katharsis.jackson.serializer.ContainerSerializer.serialize(ContainerSerializer.java:66)[katharsis-core-2.4.0.jar:na]
      2. io.katharsis.jackson.serializer.ContainerSerializer.serialize(ContainerSerializer.java:42)[katharsis-core-2.4.0.jar:na]
      2 frames
    3. Jackson
      ObjectMapper.writeValue
      1. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)[jackson-databind-2.6.5.jar:2.6.5]
      2. com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2383)[jackson-databind-2.6.5.jar:2.6.5]
      2 frames
    4. Jackson-core
      JsonGenerator.writeObjectField
      1. com.fasterxml.jackson.core.base.GeneratorBase.writeObject(GeneratorBase.java:324)[jackson-core-2.6.5.jar:2.6.5]
      2. com.fasterxml.jackson.core.JsonGenerator.writeObjectField(JsonGenerator.java:1415)[jackson-core-2.6.5.jar:2.6.5]
      2 frames
    5. io.katharsis.jackson
      BaseResponseSerializer.serialize
      1. io.katharsis.jackson.serializer.BaseResponseSerializer.serializeSingle(BaseResponseSerializer.java:91)[katharsis-core-2.4.0.jar:na]
      2. io.katharsis.jackson.serializer.BaseResponseSerializer.writeResponseWithResources(BaseResponseSerializer.java:77)[katharsis-core-2.4.0.jar:na]
      3. io.katharsis.jackson.serializer.BaseResponseSerializer.serialize(BaseResponseSerializer.java:44)[katharsis-core-2.4.0.jar:na]
      4. io.katharsis.jackson.serializer.BaseResponseSerializer.serialize(BaseResponseSerializer.java:22)[katharsis-core-2.4.0.jar:na]
      4 frames
    6. Jackson
      ObjectMapper.writeValue
      1. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)[jackson-databind-2.6.5.jar:2.6.5]
      2. com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3559)[jackson-databind-2.6.5.jar:2.6.5]
      3. com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2893)[jackson-databind-2.6.5.jar:2.6.5]
      3 frames
    7. io.katharsis.spring
      KatharsisFilterV2.doFilter
      1. io.katharsis.spring.KatharsisFilterV2.dispatchRequest(KatharsisFilterV2.java:158)[katharsis-spring-2.4.0.jar:na]
      2. io.katharsis.spring.KatharsisFilterV2.invoke(KatharsisFilterV2.java:102)[katharsis-spring-2.4.0.jar:na]
      3. io.katharsis.spring.KatharsisFilterV2.doFilter(KatharsisFilterV2.java:81)[katharsis-spring-2.4.0.jar:na]
      3 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2 frames
    9. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2 frames
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2 frames
    11. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2 frames
    13. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2 frames
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2 frames
    15. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      2 frames
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[tomcat-embed-core-8.0.30.jar:8.0.30]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[tomcat-embed-core-8.0.30.jar:8.0.30]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[tomcat-embed-core-8.0.30.jar:8.0.30]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[tomcat-embed-core-8.0.30.jar:8.0.30]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[tomcat-embed-core-8.0.30.jar:8.0.30]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.0.30.jar:8.0.30]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[tomcat-embed-core-8.0.30.jar:8.0.30]
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)[tomcat-embed-core-8.0.30.jar:8.0.30]
      9 frames
    17. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)[tomcat-embed-core-8.0.30.jar:8.0.30]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)[tomcat-embed-core-8.0.30.jar:8.0.30]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)[tomcat-embed-core-8.0.30.jar:8.0.30]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)[tomcat-embed-core-8.0.30.jar:8.0.30]
      4 frames
    18. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65]
      2 frames
    19. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.0.30.jar:8.0.30]
      1 frame
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
      1 frame