java.lang.NullPointerException

JIRA | Saravanakumar S | 4 months ago
  1. 0

    exception-display java.lang.NullPointerException at org.onosproject.pcerest.PcePathCodec.encode(PcePathCodec.java:118)[190:org.onosproject.onos-app-pcerest:1.6.1.SNAPSHOT] at org.onosproject.pcerest.PcePathCodec.encode(PcePathCodec.java:33)[190:org.onosproject.onos-app-pcerest:1.6.1.SNAPSHOT] at org.onosproject.pcerest.PcePathWebResource.queryAllPath(PcePathWebResource.java:81)[190:org.onosproject.onos-app-pcerest:1.6.1.SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[109:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[109:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[109:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[109:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[109:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[109:org.glassfish.jersey.core.jersey-common:2.22.2] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[117:org.glassfish.jersey.core.jersey-server:2.22.2] at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[92:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[92:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[92:org.ops4j.pax.web.pax-web-jetty:3.2.6] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.Server.handle(Server.java:370)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415] at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

    JIRA | 4 months ago | Saravanakumar S
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.onosproject.pcerest.PcePathCodec.encode()
    2. org.onosproject.pcerest
      PcePathWebResource.queryAllPath
      1. org.onosproject.pcerest.PcePathCodec.encode(PcePathCodec.java:118)[190:org.onosproject.onos-app-pcerest:1.6.1.SNAPSHOT]
      2. org.onosproject.pcerest.PcePathCodec.encode(PcePathCodec.java:33)[190:org.onosproject.onos-app-pcerest:1.6.1.SNAPSHOT]
      3. org.onosproject.pcerest.PcePathWebResource.queryAllPath(PcePathWebResource.java:81)[190:org.onosproject.onos-app-pcerest:1.6.1.SNAPSHOT]
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_101]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_101]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]
      4. java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]
      4 frames
    4. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      9 frames
    5. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[109:org.glassfish.jersey.core.jersey-common:2.22.2]
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[109:org.glassfish.jersey.core.jersey-common:2.22.2]
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[109:org.glassfish.jersey.core.jersey-common:2.22.2]
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[109:org.glassfish.jersey.core.jersey-common:2.22.2]
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)[109:org.glassfish.jersey.core.jersey-common:2.22.2]
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[109:org.glassfish.jersey.core.jersey-common:2.22.2]
      6 frames
    6. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[117:org.glassfish.jersey.core.jersey-server:2.22.2]
      2 frames
    7. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
      2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
      5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[123:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
      5 frames
    8. Jetty
      ServletHandler.doHandle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2 frames
    9. OPS4J Pax Web - Jetty
      HttpServiceServletHandler.doHandle
      1. org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[92:org.ops4j.pax.web.pax-web-jetty:3.2.6]
      1 frame
    10. Jetty
      ContextHandler.doHandle
      1. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      4 frames
    11. OPS4J Pax Web - Jetty
      HttpServiceContext.doHandle
      1. org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[92:org.ops4j.pax.web.pax-web-jetty:3.2.6]
      1 frame
    12. Jetty
      ScopedHandler.handle
      1. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      3. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      4. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      4 frames
    13. OPS4J Pax Web - Jetty
      JettyServerHandlerCollection.handle
      1. org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[92:org.ops4j.pax.web.pax-web-jetty:3.2.6]
      1 frame
    14. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2. org.eclipse.jetty.server.Server.handle(Server.java:370)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      3. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      4. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      5. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      6. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      7. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      8. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      8 frames
    15. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2 frames
    16. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[83:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
      2 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
      1 frame