java.lang.NullPointerException

JIRA | Hunter Stern | 7 years ago
  1. 0

    Steps to reproduce. 1. Login to admin web app 2. The current jobs directory is "/Users/hstern/Documents/workspace/heritrix3/jobs" Add a new job directory with path: "/Users/hstern/Documents/workspace/heritrix3/jobs/test01" Click add 3. Following error and stack trace appear on screen: An error occured You may be able to recover and try something else by going back. Cause: java.lang.NullPointerException java.lang.NullPointerException at org.archive.crawler.framework.Engine.considerAsJobDirectory(Engine.java:91) at org.archive.crawler.restlet.EngineResource.acceptRepresentation(EngineResource.java:76) at org.restlet.resource.Resource.post(Resource.java:689) at org.restlet.resource.Resource.handlePost(Resource.java:538) at org.restlet.Finder.handle(Finder.java:357) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Guard.accept(Guard.java:198) at org.restlet.Guard.doHandle(Guard.java:354) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

    JIRA | 7 years ago | Hunter Stern
    java.lang.NullPointerException
  2. 0

    Steps to reproduce. 1. Login to admin web app 2. The current jobs directory is "/Users/hstern/Documents/workspace/heritrix3/jobs" Add a new job directory with path: "/Users/hstern/Documents/workspace/heritrix3/jobs/test01" Click add 3. Following error and stack trace appear on screen: An error occured You may be able to recover and try something else by going back. Cause: java.lang.NullPointerException java.lang.NullPointerException at org.archive.crawler.framework.Engine.considerAsJobDirectory(Engine.java:91) at org.archive.crawler.restlet.EngineResource.acceptRepresentation(EngineResource.java:76) at org.restlet.resource.Resource.post(Resource.java:689) at org.restlet.resource.Resource.handlePost(Resource.java:538) at org.restlet.Finder.handle(Finder.java:357) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Guard.accept(Guard.java:198) at org.restlet.Guard.doHandle(Guard.java:354) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

    JIRA | 7 years ago | Hunter Stern
    java.lang.NullPointerException
  3. 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
  4. 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.archive.crawler.framework.Engine.considerAsJobDirectory()
    2. org.archive.crawler
      EngineResource.acceptRepresentation
      1. org.archive.crawler.framework.Engine.considerAsJobDirectory(Engine.java:91)
      2. org.archive.crawler.restlet.EngineResource.acceptRepresentation(EngineResource.java:76)
      2 frames
    3. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.post(Resource.java:689)
      2. org.restlet.resource.Resource.handlePost(Resource.java:538)
      2 frames
    4. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:357)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Router.handle(Router.java:504)
      5. org.restlet.Filter.doHandle(Filter.java:150)
      6. org.restlet.Filter.handle(Filter.java:195)
      7. org.restlet.Filter.doHandle(Filter.java:150)
      8. org.restlet.Filter.handle(Filter.java:195)
      9. org.restlet.Filter.doHandle(Filter.java:150)
      9 frames
    5. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    6. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      3 frames
    7. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      2 frames
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Application.handle(Application.java:341)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Guard.accept(Guard.java:198)
      4. org.restlet.Guard.doHandle(Guard.java:354)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Filter.doHandle(Filter.java:150)
      7. org.restlet.Filter.handle(Filter.java:195)
      8. org.restlet.Router.handle(Router.java:504)
      9. org.restlet.Filter.doHandle(Filter.java:150)
      10. org.restlet.Filter.handle(Filter.java:195)
      11. org.restlet.Router.handle(Router.java:504)
      12. org.restlet.Filter.doHandle(Filter.java:150)
      12 frames
    9. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    10. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      3 frames
    11. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      1 frame
    12. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:673)
      2. org.restlet.Server.handle(Server.java:331)
      2 frames
    13. com.noelios.restlet
      JettyServerHelper$WrappedServer.handle
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      3. com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174)
      3 frames
    14. Jetty Server
      SslSocketConnector$SslConnection.run
      1. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      2. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      3. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
      4. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
      5. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      6. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      7. org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636)
      7 frames
    15. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
      1 frame