java.lang.NullPointerException

JIRA | Noah Levitt | 6 years 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

    If a seed matches a SheetAssociation but the target sheet doesn't exist, you get this, and the crawl does not proceed. Exception in thread "bad-sheet-overlay launchthread" java.lang.NullPointerException at org.archive.crawler.spring.SheetOverlaysManager.getOverlayMap(SheetOverlaysManager.java:172) at org.archive.modules.CrawlURI.getOverlayMap(CrawlURI.java:1762) at org.archive.spring.KeyedProperties.get(KeyedProperties.java:63) at org.archive.crawler.prefetch.FrontierPreparer.getPreferenceDepthHops(FrontierPreparer.java:67) at org.archive.crawler.prefetch.FrontierPreparer.getSchedulingDirective(FrontierPreparer.java:196) at org.archive.crawler.prefetch.FrontierPreparer.prepare(FrontierPreparer.java:164) at org.archive.crawler.frontier.WorkQueueFrontier.schedule(WorkQueueFrontier.java:353) at org.archive.crawler.frontier.AbstractFrontier.addedSeed(AbstractFrontier.java:791) at org.archive.modules.seeds.SeedModule.publishAddedSeed(SeedModule.java:60) at org.archive.modules.seeds.TextSeedModule.seedLine(TextSeedModule.java:183) at org.archive.modules.seeds.TextSeedModule.announceSeedsFromReader(TextSeedModule.java:148) at org.archive.modules.seeds.TextSeedModule.announceSeeds(TextSeedModule.java:121) at org.archive.modules.seeds.TextSeedModule.announceSeeds(TextSeedModule.java:114) at org.archive.crawler.framework.CrawlController.requestCrawlStart(CrawlController.java:352) at org.archive.crawler.framework.CrawlJob$1.run(CrawlJob.java:434)

    JIRA | 6 years ago | Noah Levitt
    java.lang.NullPointerException
  2. 0

    If a seed matches a SheetAssociation but the target sheet doesn't exist, you get this, and the crawl does not proceed. Exception in thread "bad-sheet-overlay launchthread" java.lang.NullPointerException at org.archive.crawler.spring.SheetOverlaysManager.getOverlayMap(SheetOverlaysManager.java:172) at org.archive.modules.CrawlURI.getOverlayMap(CrawlURI.java:1762) at org.archive.spring.KeyedProperties.get(KeyedProperties.java:63) at org.archive.crawler.prefetch.FrontierPreparer.getPreferenceDepthHops(FrontierPreparer.java:67) at org.archive.crawler.prefetch.FrontierPreparer.getSchedulingDirective(FrontierPreparer.java:196) at org.archive.crawler.prefetch.FrontierPreparer.prepare(FrontierPreparer.java:164) at org.archive.crawler.frontier.WorkQueueFrontier.schedule(WorkQueueFrontier.java:353) at org.archive.crawler.frontier.AbstractFrontier.addedSeed(AbstractFrontier.java:791) at org.archive.modules.seeds.SeedModule.publishAddedSeed(SeedModule.java:60) at org.archive.modules.seeds.TextSeedModule.seedLine(TextSeedModule.java:183) at org.archive.modules.seeds.TextSeedModule.announceSeedsFromReader(TextSeedModule.java:148) at org.archive.modules.seeds.TextSeedModule.announceSeeds(TextSeedModule.java:121) at org.archive.modules.seeds.TextSeedModule.announceSeeds(TextSeedModule.java:114) at org.archive.crawler.framework.CrawlController.requestCrawlStart(CrawlController.java:352) at org.archive.crawler.framework.CrawlJob$1.run(CrawlJob.java:434)

    JIRA | 6 years ago | Noah Levitt
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.archive.crawler.spring.SheetOverlaysManager.getOverlayMap()
    2. org.archive.crawler
      SheetOverlaysManager.getOverlayMap
      1. org.archive.crawler.spring.SheetOverlaysManager.getOverlayMap(SheetOverlaysManager.java:172)
      1 frame
    3. org.archive.modules
      CrawlURI.getOverlayMap
      1. org.archive.modules.CrawlURI.getOverlayMap(CrawlURI.java:1762)
      1 frame
    4. org.archive.spring
      KeyedProperties.get
      1. org.archive.spring.KeyedProperties.get(KeyedProperties.java:63)
      1 frame
    5. org.archive.crawler
      AbstractFrontier.addedSeed
      1. org.archive.crawler.prefetch.FrontierPreparer.getPreferenceDepthHops(FrontierPreparer.java:67)
      2. org.archive.crawler.prefetch.FrontierPreparer.getSchedulingDirective(FrontierPreparer.java:196)
      3. org.archive.crawler.prefetch.FrontierPreparer.prepare(FrontierPreparer.java:164)
      4. org.archive.crawler.frontier.WorkQueueFrontier.schedule(WorkQueueFrontier.java:353)
      5. org.archive.crawler.frontier.AbstractFrontier.addedSeed(AbstractFrontier.java:791)
      5 frames
    6. org.archive.modules
      TextSeedModule.announceSeeds
      1. org.archive.modules.seeds.SeedModule.publishAddedSeed(SeedModule.java:60)
      2. org.archive.modules.seeds.TextSeedModule.seedLine(TextSeedModule.java:183)
      3. org.archive.modules.seeds.TextSeedModule.announceSeedsFromReader(TextSeedModule.java:148)
      4. org.archive.modules.seeds.TextSeedModule.announceSeeds(TextSeedModule.java:121)
      5. org.archive.modules.seeds.TextSeedModule.announceSeeds(TextSeedModule.java:114)
      5 frames
    7. org.archive.crawler
      CrawlJob$1.run
      1. org.archive.crawler.framework.CrawlController.requestCrawlStart(CrawlController.java:352)
      2. org.archive.crawler.framework.CrawlJob$1.run(CrawlJob.java:434)
      2 frames