[jira] [Updated] (NUTCH-1063) OutlinkExtractor test generates an exception but does not fail

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (NUTCH-1063) OutlinkExtractor test generates an exception but does not fail

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NUTCH-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Nagel updated NUTCH-1063:
-----------------------------------
    Fix Version/s: 1.16

> OutlinkExtractor test generates an exception but does not fail
> --------------------------------------------------------------
>
>                 Key: NUTCH-1063
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1063
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Julien Nioche
>            Priority: Major
>             Fix For: 1.16
>
>
> Testsuite: org.apache.nutch.parse.TestOutlinkExtractor
> Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
> ------------- Standard Output ---------------
> 2011-07-19 15:06:36,073 ERROR parse.OutlinkExtractor (OutlinkExtractor.java:getOutlinks(121)) - getOutlinks
> java.lang.NullPointerException
> at org.apache.oro.text.regex.PatternMatcherInput.<init>(Unknown Source)
> at org.apache.nutch.parse.OutlinkExtractor.getOutlinks(OutlinkExtractor.java:95)
> at org.apache.nutch.parse.OutlinkExtractor.getOutlinks(OutlinkExtractor.java:72)
> at org.apache.nutch.parse.TestOutlinkExtractor.testGetNoOutlinks(TestOutlinkExtractor.java:40)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
> at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)