org.codehaus.jackson.map.JsonMappingException

(was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]), status=0}

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web226

  • (was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]), status=0}
  • via GitHub by anhdenday
    , 9 months ago
    (was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]), status=0}
  • (was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]), status=0}
  • Stack trace

    • org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]), status=0} at org.openstack4j.core.transport.internal.HttpExecutor.invoke(HttpExecutor.java:64) at org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:38) at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:136) at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:131) at org.openstack4j.openstack.networking.internal.NetworkServiceImpl.create(NetworkServiceImpl.java:45) at com.vdco.icloud.openstack.web.service.impl.TestNetwork.createNetwork(TestNetwork.java:24) at com.vdco.icloud.openstack.web.service.impl.TestNetwork.main(TestNetwork.java:208) Caused by: javax.ws.rs.ProcessingException: org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]) at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:202) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:215) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:634) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:631) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:421) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:631) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:391) at org.openstack4j.core.transport.internal.HttpCommand.execute(HttpCommand.java:70) at org.openstack4j.core.transport.internal.HttpExecutor.invokeRequest(HttpExecutor.java:71) at org.openstack4j.core.transport.internal.HttpExecutor.invoke(HttpExecutor.java:62) ... 6 more Caused by: org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"]) at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:218) at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:183) at org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(SerializerBase.java:140) at org.codehaus.jackson.map.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:158) at org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:112) at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610) at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256) at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1613) at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:559) at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:194) at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139) at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1005) at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:430) at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:287) at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:200) ... 18 more Caused by: java.lang.NullPointerException at org.openstack4j.openstack.networking.domain.NeutronNetwork.getNeutronSubnets(NeutronNetwork.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.jackson.map.ser.BeanPropertyWriter.get(BeanPropertyWriter.java:483) at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:418) at org.codehaus.jackson.map.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:150) ... 29 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.