com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN

JIRA | chinpeng | 8 years ago
  1. 0

    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1186) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1313) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2044) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1927) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:498) at org.archive.crawler.framework.Processor.process(Processor.java:115) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:161) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1458) at com.sleepycat.je.Database.openCursor(Database.java:516) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) ... 15 more 2009-5-4 22:21:35 org.archive.crawler.admin.StatisticsTracker writeReportFile 信息: wrote report: d:\jobs\1241446860095\mimetype-report.txt 2009-5-4 22:21:35 org.archive.crawler.framework.ToeThread recoverableProblem 严重: Problem com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN occured when trying to process 'http://adsclick.qq.com/adsclick?oid=1111225&loc=News_F_FL_text5&url=http://www.sdgj.com.cn/qq/zs/tf/flxx/1_2.html' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1186) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1313) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2044) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1927) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:498) at org.archive.crawler.framework.Processor.process(Processor.java:115) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:161) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1458) at com.sleepycat.je.Database.openCursor(Database.java:516) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) ... 15 more which one have a way to solve this question? help!!!!!

    JIRA | 8 years ago | chinpeng
    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN
  2. 0

    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1186) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1313) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2044) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1927) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:498) at org.archive.crawler.framework.Processor.process(Processor.java:115) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:161) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1458) at com.sleepycat.je.Database.openCursor(Database.java:516) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) ... 15 more 2009-5-4 22:21:35 org.archive.crawler.admin.StatisticsTracker writeReportFile 信息: wrote report: d:\jobs\1241446860095\mimetype-report.txt 2009-5-4 22:21:35 org.archive.crawler.framework.ToeThread recoverableProblem 严重: Problem com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN occured when trying to process 'http://adsclick.qq.com/adsclick?oid=1111225&loc=News_F_FL_text5&url=http://www.sdgj.com.cn/qq/zs/tf/flxx/1_2.html' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1186) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1313) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2044) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1927) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:498) at org.archive.crawler.framework.Processor.process(Processor.java:115) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:161) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1458) at com.sleepycat.je.Database.openCursor(Database.java:516) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) ... 15 more which one have a way to solve this question? help!!!!!

    JIRA | 8 years ago | chinpeng
    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN
  3. 0

    It's not the first time I see those, just never really cared about reporting. 07/28/2008 05:25:03 +0000 INFO org.archive.crawler.Heritrix invoke JMX invoke: shutdown [] com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:607) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:521) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1456) at com.sleepycat.je.Database.openCursor(Database.java:515) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) 07/28/2008 05:25:04 +0000 SCHWERWIEGEND org.archive.crawler.framework.ToeThread recoverableProblem Problem com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cu rsor Database state can't be DbState.CLOSED must be DbState.OPEN occured when trying to process 'http://someurlhere.com' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:607) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:521) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1456) at com.sleepycat.je.Database.openCursor(Database.java:515) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) ... 15 more I've seen this happening with older 1.1x heritrix releases, too - just wanted to report it for the sake of completeness.

    JIRA | 8 years ago | Olaf Freyer
    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The following exception stack occurred when terminating a small test crawl via the web UI. A subsequent crawl terminated normally on same settings. com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.2.23) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:447) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:380) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:607) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1193) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1327) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2056) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1939) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:500) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Caused by: com.sleepycat.je.DatabaseException: (JE 3.2.23) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1069) at com.sleepycat.je.Database.openCursor(Database.java:359) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:364) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:53) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:299) ... 15 more 07/05/2007 21:02:25 +0000 SEVERE org.archive.crawler.framework.ToeThread recoverableProblem Problem com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.2.23) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN occured when trying to process 'http://www.landsbokasafn.is/Apps/WebObjects/HI.woa/wa/header_logo_neg.gif' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.2.23) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:447) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:380) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:607) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1193) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1327) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2056) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1939) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:500) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Caused by: com.sleepycat.je.DatabaseException: (JE 3.2.23) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1069) at com.sleepycat.je.Database.openCursor(Database.java:359) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:364) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:53) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:299) ... 15 more 07/05/2007 21:02:25 +0000 SEVERE org.archive.crawler.framework.ToeThread run Fatal exception in ToeThread #29: http://www.landsbokasafn.is/Apps/WebObjects/HI.woa/wa/header_logo_neg.gif java.lang.NullPointerException at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157)

    JIRA | 9 years ago | Kristinn Sigurðsson
    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.2.23) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN
  6. 0

    It's not the first time I see those, just never really cared about reporting. 07/28/2008 05:25:03 +0000 INFO org.archive.crawler.Heritrix invoke JMX invoke: shutdown [] com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:607) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:521) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1456) at com.sleepycat.je.Database.openCursor(Database.java:515) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) 07/28/2008 05:25:04 +0000 SCHWERWIEGEND org.archive.crawler.framework.ToeThread recoverableProblem Problem com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cu rsor Database state can't be DbState.CLOSED must be DbState.OPEN occured when trying to process 'http://someurlhere.com' at step ABOUT_TO_BEGIN_PROCESSOR in HTTP com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.collections.StoredContainer.convertException(StoredContainer.java:466) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:390) at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:607) at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1187) at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1314) at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2045) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1928) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1000) at org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:521) at org.archive.crawler.framework.Processor.process(Processor.java:112) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:302) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:151) Caused by: com.sleepycat.je.DatabaseException: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN at com.sleepycat.je.Database.checkRequiredDbState(Database.java:1456) at com.sleepycat.je.Database.openCursor(Database.java:515) at com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369) at com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54) at com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30) at com.sleepycat.collections.DataCursor.init(DataCursor.java:171) at com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59) at com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309) ... 15 more I've seen this happening with older 1.1x heritrix releases, too - just wanted to report it for the sake of completeness.

    JIRA | 8 years ago | Olaf Freyer
    com.sleepycat.util.RuntimeExceptionWrapper: (JE 3.3.62) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sleepycat.je.DatabaseException

      (JE 3.3.74) Can't open a cursor Database state can't be DbState.CLOSED must be DbState.OPEN

      at com.sleepycat.je.Database.checkRequiredDbState()
    2. Berkeley DB Java Edition
      BlockIterator.hasNext
      1. com.sleepycat.je.Database.checkRequiredDbState(Database.java:1458)
      2. com.sleepycat.je.Database.openCursor(Database.java:516)
      3. com.sleepycat.collections.CurrentTransaction.openCursor(CurrentTransaction.java:369)
      4. com.sleepycat.collections.MyRangeCursor.openCursor(MyRangeCursor.java:54)
      5. com.sleepycat.collections.MyRangeCursor.<init>(MyRangeCursor.java:30)
      6. com.sleepycat.collections.DataCursor.init(DataCursor.java:171)
      7. com.sleepycat.collections.DataCursor.<init>(DataCursor.java:59)
      8. com.sleepycat.collections.BlockIterator.hasNext(BlockIterator.java:309)
      8 frames
    3. HttpClient
      HttpMethodBase.execute
      1. org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:608)
      2. org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1186)
      3. org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1313)
      4. org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2044)
      5. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1927)
      6. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999)
      6 frames
    4. webarchive-commons
      HttpRecorderGetMethod.execute
      1. org.archive.httpclient.HttpRecorderGetMethod.execute(HttpRecorderGetMethod.java:116)
      1 frame
    5. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      2. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      3. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      4. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      4 frames
    6. org.archive.crawler
      ToeThread.run
      1. org.archive.crawler.fetcher.FetchHTTP.innerProcess(FetchHTTP.java:498)
      2. org.archive.crawler.framework.Processor.process(Processor.java:115)
      3. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327)
      4. org.archive.crawler.framework.ToeThread.run(ToeThread.java:161)
      4 frames