数据库是没有问题的,因为t_article表已经可以看到数据了,下面是错误日志。
14:16:19.423 INFO HttpUtils : URL:http://www.kaixinwx.com/book/60786.html,耗时:9
14:16:19.426 INFO ParseProcessor : key={2}:s={武侠修真}
14:16:19.461 ERROR ParseProcessor : 解析异常, 原因:null
java.lang.NullPointerException
at org.yi.spider.processor.ParseProcessor.getNovelCover(ParseProcessor.java:437)
at org.yi.spider.processor.ParseProcessor.parse(ParseProcessor.java:221)
at org.yi.spider.processor.ParseProcessor.process(ParseProcessor.java:107)
at org.yi.spider.processor.SpiderProcessor.collect(SpiderProcessor.java:106)
at org.yi.spider.processor.SpiderProcessor.process(SpiderProcessor.java:60)
at org.yi.spider.processor.SpiderProcessor.process(SpiderProcessor.java:44)
at org.yi.spider.StartApp.main(StartApp.java:41)
14:16:19.925 INFO HttpUtils : URL:http://www.kaixinwx.com/book/59531.html,耗时:8
14:16:19.928 INFO ParseProcessor : key={3}:s={都市言情}
14:16:19.929 INFO ParseProcessor : key={50}:s={都市言情}
14:16:19.961 ERROR ParseProcessor : 解析异常, 原因:null
java.lang.NullPointerException
at org.yi.spider.processor.ParseProcessor.getNovelCover(ParseProcessor.java:437)
at org.yi.spider.processor.ParseProcessor.parse(ParseProcessor.java:221)
at org.yi.spider.processor.ParseProcessor.process(ParseProcessor.java:107)
at org.yi.spider.processor.SpiderProcessor.collect(SpiderProcessor.java:106)
at org.yi.spider.processor.SpiderProcessor.process(SpiderProcessor.java:60)
at org.yi.spider.processor.SpiderProcessor.process(SpiderProcessor.java:44)
at org.yi.spider.StartApp.main(StartApp.java:41)