asepaprianto / crawler4j

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

sleepycat "75 min" IllegalArgumentException #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

When used crawler4j-3.3 on a computer with locale set to Turkish, 

PageFetcher pageFetcher = new PageFetcher(config);   

line gives the following exception:

Exception in thread "main" java.lang.ExceptionInInitializerError at 
com.sleepycat.je.EnvironmentConfig.setTransactional(EnvironmentConfig.java:2270)
    at edu.uci.ics.crawler4j.crawler.CrawlController.<init>(CrawlController.java:91)
    at crawler.Crawler.main(Crawler.java:73)
Caused by: java.lang.IllegalArgumentException: Duration argument has unknown 
unit name: 75 min
    at com.sleepycat.je.utilint.PropUtil.parseDuration(PropUtil.java:108)
    at com.sleepycat.je.config.DurationConfigParam.<init>(DurationConfigParam.java:41)
    at com.sleepycat.je.config.EnvironmentParams.<clinit>(EnvironmentParams.java:402)

This post explains the problem:

https://forums.oracle.com/forums/thread.jspa?threadID=1049233

Original issue reported on code.google.com by nes...@gmail.com on 14 May 2012 at 10:48

GoogleCodeExporter commented 9 years ago
upgrading je-4.0.92 to je-5.0.48 solved the problem but I dont know if this 
upgrade is gonna create different compatibility issues. 

Is there any spesific reason why je-4 is used over je-5?

Original comment by nes...@gmail.com on 14 May 2012 at 11:50

GoogleCodeExporter commented 9 years ago
upgrading je-4.0.92 to je-5.0.48 how can i do that ? 

Original comment by muhammet...@gmail.com on 7 Mar 2014 at 10:18

GoogleCodeExporter commented 9 years ago
Fixed in v3.6

Revision hash of fix: 89318e22cfa4

Original comment by avrah...@gmail.com on 11 Aug 2014 at 1:55