Nutch
  1. Nutch
  2. NUTCH-1291

Fetcher to stringify exception on // unexpected exception

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: fetcher
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      During development we sometimes saw a less than helpful exception e.g. fetch of http://www.openindex.io/en/home.html failed with: java.lang.NullPointerException. This error must be a bit more descriptive.

        Activity

        Hide
        Markus Jelsma added a comment -

        Patch for 1.5.

        Show
        Markus Jelsma added a comment - Patch for 1.5.
        Hide
        Lewis John McGibbney added a comment -

        It's a plus 1 from me mate

        Show
        Lewis John McGibbney added a comment - It's a plus 1 from me mate
        Hide
        Markus Jelsma added a comment -

        Committed for 1.5 in rev. 1295119. We now have a proper stack trace when things go wrong.

        Show
        Markus Jelsma added a comment - Committed for 1.5 in rev. 1295119. We now have a proper stack trace when things go wrong.
        Hide
        Hudson added a comment -

        Integrated in nutch-trunk-maven #176 (See https://builds.apache.org/job/nutch-trunk-maven/176/)
        NUTCH-1291 Fetcher to stringify exception on // unexpected exception (Revision 1295119)

        Result = SUCCESS
        markus :
        Files :

        • /nutch/trunk/CHANGES.txt
        • /nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
        Show
        Hudson added a comment - Integrated in nutch-trunk-maven #176 (See https://builds.apache.org/job/nutch-trunk-maven/176/ ) NUTCH-1291 Fetcher to stringify exception on // unexpected exception (Revision 1295119) Result = SUCCESS markus : Files : /nutch/trunk/CHANGES.txt /nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
        Hide
        Ferdy Galema added a comment -

        Yeah I noticed the exact same too during Nutchgora debugging. I just created NUTCH-1292 for this.

        Show
        Ferdy Galema added a comment - Yeah I noticed the exact same too during Nutchgora debugging. I just created NUTCH-1292 for this.
        Hide
        Hudson added a comment -

        Integrated in Nutch-trunk #1773 (See https://builds.apache.org/job/Nutch-trunk/1773/)
        NUTCH-1291 Fetcher to stringify exception on // unexpected exception (Revision 1295119)

        Result = SUCCESS
        markus : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1295119
        Files :

        • /nutch/trunk/CHANGES.txt
        • /nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
        Show
        Hudson added a comment - Integrated in Nutch-trunk #1773 (See https://builds.apache.org/job/Nutch-trunk/1773/ ) NUTCH-1291 Fetcher to stringify exception on // unexpected exception (Revision 1295119) Result = SUCCESS markus : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1295119 Files : /nutch/trunk/CHANGES.txt /nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java

          People

          • Assignee:
            Markus Jelsma
            Reporter:
            Markus Jelsma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development