java.lang.NullPointerException

JIRA | Gordon Mohr | 10 years ago
  1. 0

    A FR test crawl got a flurry (4) of these at the beginning: Title: Problem occured processing 'http://abex.fr/' Time: Dec. 21, 2004 02:13:14 GMT Level: SEVERE Message: Problem java.lang.NullPointerException occured when trying to process 'http://abex.fr/' at step ABOUT_TO_BEGIN_PROCESSOR Associated Throwable: java.lang.NullPointerException Stacktrace: java.lang.NullPointerException at org.archive.util.TextUtils.freeMatcher(TextUtils.java:99) at org.archive.util.TextUtils.matches(TextUtils.java:159) at org.archive.crawler.filter.URIRegExpFilter.innerAccepts(URIRegExpFilter.jav a:73) at org.archive.crawler.framework.Filter.accepts(Filter.java:93) at org.archive.crawler.filter.OrFilter.innerAccepts(OrFilter.java:96) at org.archive.crawler.framework.Filter.accepts(Filter.java:93) at org.archive.crawler.framework.CrawlScope.excludeAccepts(CrawlScope.java:316 ) at org.archive.crawler.framework.CrawlScope.innerAccepts(CrawlScope.java:245) at org.archive.crawler.framework.Filter.accepts(Filter.java:93) at org.archive.crawler.prefetch.Preselector.innerProcess(Preselector.java:114) at org.archive.crawler.framework.Processor.process(Processor.java:102) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:264) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:140) Looks like another variant of [ 1002760 ] NPE in TextUtils.getMatcher -- http://sourceforge.net/tracker/index.php?func=detail&aid=1002760&group_id=7 3833&atid=539099 I think Stack's comment of 2004-11-12 12:09, that the put to both the patterns and the patternMatchers maps needs to be atomic, is the root of the problem, and the eventual null-check fix for 1002760 only works-around the problem.

    JIRA | 10 years ago | Gordon Mohr
    java.lang.NullPointerException
  2. 0
    samebug tip
    Assign onCickListener to imageView in ExpandableListView inside getChildView.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    The Fragment was destroyed, and getActivity() returned null. Don't destroy the Fragment.
  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 1 year ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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.util.TextUtils.freeMatcher()
    2. webarchive-commons
      TextUtils.matches
      1. org.archive.util.TextUtils.freeMatcher(TextUtils.java:99)
      2. org.archive.util.TextUtils.matches(TextUtils.java:159)
      2 frames
    3. org.archive.crawler
      ToeThread.run
      1. org.archive.crawler.filter.URIRegExpFilter.innerAccepts(URIRegExpFilter.java:73)
      2. org.archive.crawler.framework.Filter.accepts(Filter.java:93)
      3. org.archive.crawler.filter.OrFilter.innerAccepts(OrFilter.java:96)
      4. org.archive.crawler.framework.Filter.accepts(Filter.java:93)
      5. org.archive.crawler.framework.CrawlScope.excludeAccepts(CrawlScope.java:316)
      6. org.archive.crawler.framework.CrawlScope.innerAccepts(CrawlScope.java:245)
      7. org.archive.crawler.framework.Filter.accepts(Filter.java:93)
      8. org.archive.crawler.prefetch.Preselector.innerProcess(Preselector.java:114)
      9. org.archive.crawler.framework.Processor.process(Processor.java:102)
      10. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:264)
      11. org.archive.crawler.framework.ToeThread.run(ToeThread.java:140)
      11 frames