org.codehaus.jackson.map.JsonMappingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NPE on creating a new network
    via GitHub by aryantaheri
    ,
  • Error during creating a network!
    via GitHub by anhdenday
    ,
    • 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 org.opendaylight.controller.samples.differentiatedforwarding.openstack.InstanceManager.createNetwork(InstanceManager.java:66) at org.opendaylight.controller.samples.differentiatedforwarding.openstack.OpenStackUtil.main(OpenStackUtil.java:86) 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:606) 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
    No Bugmate found.