ryanqq / paoding

Automatically exported from code.google.com/p/paoding
0 stars 0 forks source link

log4j:ERROR Error occured while converting date. #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start app in server

What is the expected output? What do you see instead?
new exception output

What version of the product are you using? On what operating system?
paoding-analysis-2.0.4-beta
common logging:1.0.4

Please provide any additional information below.
严重: log4j:ERROR Error occured while converting date.
严重: java.lang.NullPointerException
严重:     at java.lang.System.arraycopy(Native Method)
严重:     at java.lang.AbstractStringBuilder.getChars
(AbstractStringBuilder.java:328)
严重:     at java.lang.StringBuffer.getChars(StringBuffer.java:201)
严重:     at org.apache.log4j.helpers.ISO8601DateFormat.format
(ISO8601DateFormat.java:128)
严重:     at java.text.DateFormat.format(DateFormat.java:316)
严重:     at 
org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert
(PatternParser.java:444)
严重:     at org.apache.log4j.helpers.PatternConverter.format
(PatternConverter.java:64)
严重:     at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
严重:     at org.apache.log4j.WriterAppender.subAppend
(WriterAppender.java:301)
严重:     at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
严重:     at org.apache.log4j.AppenderSkeleton.doAppend
(AppenderSkeleton.java:230)
严重:     at 
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
(AppenderAttachableImpl.java:65)
严重:     at org.apache.log4j.Category.callAppenders(Category.java:203)
严重:     at org.apache.log4j.Category.forcedLog(Category.java:388)
严重:     at org.apache.log4j.Category.log(Category.java:853)
严重:     at org.apache.commons.logging.impl.Log4JLogger.error
(Log4JLogger.java:257)
严重:     at 
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting
(Detector.java:119)
严重:     at net.paoding.analysis.dictionary.support.detection.Detector.run
(Detector.java:105)
严重:     at java.lang.Thread.run(Thread.java:619)
信息:  553079 
[net.paoding.analysis.dictionary.support.detection.Detector :: ERROR ]
java.lang.NullPointerException
    at org.apache.commons.logging.LogFactory.getCachedFactory
(LogFactory.java:979)
    at org.apache.commons.logging.LogFactory.getFactory
(LogFactory.java:435)
    at org.apache.commons.logging.LogFactory.getLog
(LogFactory.java:685)
    at net.paoding.analysis.knife.FileDictionaries.<init>
(FileDictionaries.java:55)
    at 
net.paoding.analysis.knife.PaodingMaker.readUnCompiledDictionaries
(PaodingMaker.java:509)
    at net.paoding.analysis.knife.PaodingMaker.access$100
(PaodingMaker.java:52)
    at net.paoding.analysis.knife.PaodingMaker$1.run
(PaodingMaker.java:389)
    at net.paoding.analysis.knife.PaodingMaker$1$1.on
(PaodingMaker.java:413)
    at 
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting
(Detector.java:114)
    at net.paoding.analysis.dictionary.support.detection.Detector.run
(Detector.java:105)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by xiangzho...@gmail.com on 27 Aug 2009 at 8:08