Have you also tried ant clean before building? On Friday 28 October 2011 17:06:12 Bai Shen wrote: > Ah, okay. Missed that part. > > And yes, It's consistent. > > On Fri, Oct 28, 2011 at 10:12 AM, lewis john mcgibbney < > > [email protected]> wrote: > > Hi Bai, > > > > OK so the FATAL logging in LogUtil relates to the following [1]. As you > > can see, although there is a FATAL tag, it actualy logs 'error' anyway. > > If you look at the JIRA issues, I've committed myself to removing > > LogUtil from both > > trunk and Nutchgora, this will allow us to leverage full functionality > > from the Slf4j and Log4j framework we currently have implemented on a > > majority basis. > > > > With regards to the NPE as Markus suggested can you reproduce > > consistently? > > > > [1] > > > > http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/util/L > > ogUtil.java?r1=1175075&r2=1177290&diff_format=h > > > > On Fri, Oct 28, 2011 at 3:53 PM, Markus Jelsma > > > > <[email protected]>wrote: > > > Do you get this consistently? Are you compiling from svn? > > > > > > On Friday 28 October 2011 15:30:42 Bai Shen wrote: > > > > I'm running the latest version of 1.4 and I'm seeing the error Markus > > > > described in Nutch bug 1078. I'm not sure exactly what's causing it, > > > > but > > > > > I > > > > > > > also wanted to point out that LogUtil still contains FATAL > > > > references. > > > > > > > > 2011-09-22 19:36:02,046 ERROR org.apache.nutch.util.LogUtil: Cannot > > > > log with method [null] > > > > java.lang.NullPointerException > > > > > > > > at org.apache.nutch.util.LogUtil$1.flush(LogUtil.java:103) > > > > at java.io.PrintStream.write(PrintStream.java:432) > > > > at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) > > > > at > > > > sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272) > > > > > > at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:85) > > > > at > > > > > > java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:168) > > > > > > > at java.io.PrintStream.newLine(PrintStream.java:496) > > > > at java.io.PrintStream.println(PrintStream.java:774) > > > > at java.lang.Throwable.printStackTrace(Throwable.java:461) > > > > at > > > > org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.ja > > v > > > > > > a:197) at > > > > org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:665) > > > > > > -- > > > Markus Jelsma - CTO - Openindex > > > http://www.linkedin.com/in/markus17 > > > 050-8536620 / 06-50258350 > > > > -- > > *Lewis*
-- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350

