YaCy-Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000614YaCy[All Projects] Generalpublic2015-11-03 10:072015-11-29 05:32
Reporteroyvinds 
Assigned ToBuBu 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
ETAnone 
PlatformOSOS Version
Product VersionYaCy 1.8 
Target VersionFixed in Version 
Summary0000614: NaturalOrder.java:148 NullPointerException after "not enough memory"
Descriptionyacy told me it wanted 16GB of free memory and I tried restarting it without doing so. Now it refuses to start and has errors in the log.

I 2015/11/03 10:03:50 HostQueue opened HostQueue /home/yacy/DATA/INDEX/freeworld/QUEUES/CrawlerCoreStacks/www.pjw.info.80 with 1 urls.
I 2015/11/03 10:03:50 HostQueue opened HostQueue /home/yacy/DATA/INDEX/freeworld/QUEUES/CrawlerCoreStacks/www.newsmax.com.80 with 766 urls.
I 2015/11/03 10:03:50 HostQueue opened HostQueue /home/yacy/DATA/INDEX/freeworld/QUEUES/CrawlerCoreStacks/dbg.tumblr.com.80 with 1 urls.
W 2015/11/03 10:03:50 ConcurrentLog java.lang.NullPointerException
java.lang.NullPointerException
        at net.yacy.cora.order.NaturalOrder.compare(NaturalOrder.java:148)
        at net.yacy.kelondro.index.RAMIndexCluster$1.compare(RAMIndexCluster.java:339)
        at net.yacy.kelondro.index.RAMIndexCluster$1.compare(RAMIndexCluster.java:336)
        at net.yacy.kelondro.util.StackIterator.next(StackIterator.java:91)
        at net.yacy.kelondro.index.RowHandleMap$2.next(RowHandleMap.java:501)
        at net.yacy.kelondro.index.RowHandleMap$2.next(RowHandleMap.java:492)
        at net.yacy.kelondro.table.Table.<init>(Table.java:213)
        at net.yacy.crawler.HostQueue.openStack(HostQueue.java:229)
        at net.yacy.crawler.HostQueue.openAllStacks(HostQueue.java:135)
        at net.yacy.crawler.HostQueue.init(HostQueue.java:116)
        at net.yacy.crawler.HostQueue.<init>(HostQueue.java:102)
        at net.yacy.crawler.HostBalancer.<init>(HostBalancer.java:88)
        at net.yacy.crawler.data.NoticedURL.<init>(NoticedURL.java:70)
        at net.yacy.crawler.data.CrawlQueues.<init>(CrawlQueues.java:91)
        at net.yacy.search.Switchboard.<init>(Switchboard.java:884)
        at net.yacy.yacy.startup(yacy.java:206)
        at net.yacy.yacy.main(yacy.java:699)
W 2015/11/03 10:03:50 ConcurrentLog java.lang.NullPointerException
java.lang.NullPointerException
        at net.yacy.cora.order.NaturalOrder.compare(NaturalOrder.java:148)
        at net.yacy.kelondro.index.RAMIndexCluster$1.compare(RAMIndexCluster.java:339)
        at net.yacy.kelondro.index.RAMIndexCluster$1.compare(RAMIndexCluster.java:336)
        at net.yacy.kelondro.util.StackIterator.next(StackIterator.java:91)
        at net.yacy.kelondro.index.RowHandleMap$2.next(RowHandleMap.java:501)
        at net.yacy.kelondro.index.RowHandleMap$2.next(RowHandleMap.java:492)
        at net.yacy.kelondro.table.Table.<init>(Table.java:213)
        at net.yacy.crawler.HostQueue.openStack(HostQueue.java:229)
        at net.yacy.crawler.HostQueue.openAllStacks(HostQueue.java:135)
        at net.yacy.crawler.HostQueue.init(HostQueue.java:116)
        at net.yacy.crawler.HostQueue.<init>(HostQueue.java:102)
        at net.yacy.crawler.HostBalancer.<init>(HostBalancer.java:88)
        at net.yacy.crawler.data.NoticedURL.<init>(NoticedURL.java:70)
        at net.yacy.crawler.data.CrawlQueues.<init>(CrawlQueues.java:91)
        at net.yacy.search.Switchboard.<init>(Switchboard.java:884)
        at net.yacy.yacy.startup(yacy.java:206)
        at net.yacy.yacy.main(yacy.java:699)
I 2015/11/03 10:03:50 HostQueue opened HostQueue /home/yacy/DATA/INDEX/freeworld/QUEUES/CrawlerCoreStacks/stluciajazz.org.80 with 31 urls.
I 2015/11/03 10:03:50 HostQueue opened HostQueue /home/yacy/DATA/INDEX/freeworld/QUEUES/CrawlerCoreStacks/strib.mn.80 with 1 urls.
W 2015/11/03 10:03:50 ConcurrentLog java.lang.NullPointerException
java.lang.NullPointerException
        at net.yacy.cora.order.NaturalOrder.compare(NaturalOrder.java:148)
        at net.yacy.kelondro.index.RAMIndexCluster$1.compare(RAMIndexCluster.java:339)
TagsNo tags attached.
Attached Fileslog file icon yacy01.log [^] (1,048,615 bytes) 2015-11-03 10:07

- Relationships

-  Notes
(0001140)
BuBu (developer)
2015-11-29 05:32

with the info provided it can't be reproduced exactly (which data result in a not initialisized entry).
The log excerpt gives no hint of YaCy not starting (just still hasn't finished to read/init the crawl queue).
Two recent commits have been made, both addressing the issue (error during init and startup with init of larger crawl queue) and assumed to fix it with version
v1.83/9514

- Issue History
Date Modified Username Field Change
2015-11-03 10:07 oyvinds New Issue
2015-11-03 10:07 oyvinds File Added: yacy01.log
2015-11-29 05:32 BuBu Note Added: 0001140
2015-11-29 05:32 BuBu Status new => resolved
2015-11-29 05:32 BuBu Resolution open => fixed
2015-11-29 05:32 BuBu Assigned To => BuBu


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker