java.lang.NullPointerException

JIRA | Gordon Mohr | 9 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

    In 2.x test crawl, receiving thousands of local-to-a-processor alerts. Example: Oct 17, 2007 5:26:06 PM org.archive.modules.extractor.Extractor handleException WARNING: Exception (in thread 'ToeThread #51: http://www.sunlife.com.ph/Images/obanner.swf'; in processor 'ExtractorSWF') java.lang.NullPointerException at org.archive.modules.extractor.CrawlUriSWFAction.getURL(CrawlUriSWFAction.java:75) at com.anotherbigidea.flash.readers.ActionParser.processRecords(ActionParser.java:105) at com.anotherbigidea.flash.readers.ActionParser.parse(ActionParser.java:73) at com.anotherbigidea.flash.readers.TagParser.parseDoAction(TagParser.java:976) at com.anotherbigidea.flash.readers.TagParser.tag(TagParser.java:193) at org.archive.modules.extractor.ExtractorSWF$1.readOneTag(ExtractorSWF.java:127) at com.anotherbigidea.flash.readers.SWFReader.readTags(SWFReader.java:102) at com.anotherbigidea.flash.readers.SWFReader.readFile(SWFReader.java:92) at org.archive.modules.extractor.ExtractorSWF.innerExtract(ExtractorSWF.java:133) at org.archive.modules.extractor.ContentExtractor.extract(ContentExtractor.java:41) at org.archive.modules.extractor.Extractor.innerProcess(Extractor.java:80) at org.archive.modules.Processor.innerProcessResult(Processor.java:152) at org.archive.modules.Processor.process(Processor.java:118) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:297) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:152) Oct 17, 2007 5:26:25 PM org.archive.modules.extractor.Extractor handleException Besides the fact that CrawlUriSWFAction.getURL should probably handle a null more gracefully, that this exception can be caught (and is in fact reported) as a nonfatal error means it does not need to be a WARNING log event (and thus alert).

    JIRA | 9 years ago | Gordon Mohr
    java.lang.NullPointerException
  2. 0

    In 2.x test crawl, receiving thousands of local-to-a-processor alerts. Example: Oct 17, 2007 5:26:06 PM org.archive.modules.extractor.Extractor handleException WARNING: Exception (in thread 'ToeThread #51: http://www.sunlife.com.ph/Images/obanner.swf'; in processor 'ExtractorSWF') java.lang.NullPointerException at org.archive.modules.extractor.CrawlUriSWFAction.getURL(CrawlUriSWFAction.java:75) at com.anotherbigidea.flash.readers.ActionParser.processRecords(ActionParser.java:105) at com.anotherbigidea.flash.readers.ActionParser.parse(ActionParser.java:73) at com.anotherbigidea.flash.readers.TagParser.parseDoAction(TagParser.java:976) at com.anotherbigidea.flash.readers.TagParser.tag(TagParser.java:193) at org.archive.modules.extractor.ExtractorSWF$1.readOneTag(ExtractorSWF.java:127) at com.anotherbigidea.flash.readers.SWFReader.readTags(SWFReader.java:102) at com.anotherbigidea.flash.readers.SWFReader.readFile(SWFReader.java:92) at org.archive.modules.extractor.ExtractorSWF.innerExtract(ExtractorSWF.java:133) at org.archive.modules.extractor.ContentExtractor.extract(ContentExtractor.java:41) at org.archive.modules.extractor.Extractor.innerProcess(Extractor.java:80) at org.archive.modules.Processor.innerProcessResult(Processor.java:152) at org.archive.modules.Processor.process(Processor.java:118) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:297) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:152) Oct 17, 2007 5:26:25 PM org.archive.modules.extractor.Extractor handleException Besides the fact that CrawlUriSWFAction.getURL should probably handle a null more gracefully, that this exception can be caught (and is in fact reported) as a nonfatal error means it does not need to be a WARNING log event (and thus alert).

    JIRA | 9 years ago | Gordon Mohr
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.archive.modules.extractor.CrawlUriSWFAction.getURL()
    2. org.archive.modules
      CrawlUriSWFAction.getURL
      1. org.archive.modules.extractor.CrawlUriSWFAction.getURL(CrawlUriSWFAction.java:75)
      1 frame
    3. GWT incubator
      TagParser.tag
      1. com.anotherbigidea.flash.readers.ActionParser.processRecords(ActionParser.java:105)
      2. com.anotherbigidea.flash.readers.ActionParser.parse(ActionParser.java:73)
      3. com.anotherbigidea.flash.readers.TagParser.parseDoAction(TagParser.java:976)
      4. com.anotherbigidea.flash.readers.TagParser.tag(TagParser.java:193)
      4 frames
    4. org.archive.modules
      ExtractorSWF$1.readOneTag
      1. org.archive.modules.extractor.ExtractorSWF$1.readOneTag(ExtractorSWF.java:127)
      1 frame
    5. GWT incubator
      SWFReader.readFile
      1. com.anotherbigidea.flash.readers.SWFReader.readTags(SWFReader.java:102)
      2. com.anotherbigidea.flash.readers.SWFReader.readFile(SWFReader.java:92)
      2 frames
    6. org.archive.modules
      Processor.process
      1. org.archive.modules.extractor.ExtractorSWF.innerExtract(ExtractorSWF.java:133)
      2. org.archive.modules.extractor.ContentExtractor.extract(ContentExtractor.java:41)
      3. org.archive.modules.extractor.Extractor.innerProcess(Extractor.java:80)
      4. org.archive.modules.Processor.innerProcessResult(Processor.java:152)
      5. org.archive.modules.Processor.process(Processor.java:118)
      5 frames
    7. org.archive.crawler
      ToeThread.run
      1. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:297)
      2. org.archive.crawler.framework.ToeThread.run(ToeThread.java:152)
      2 frames