Lewis John McGibbney created GORA-226:
-----------------------------------------
Summary: java.util.NoSuchElementException when attempting to
obtain TreeMap.firstKey in MemStore#execute
Key: GORA-226
URL: https://issues.apache.org/jira/browse/GORA-226
Project: Apache Gora
Issue Type: Sub-task
Components: gora-core
Affects Versions: 0.3
Environment: gora-core 0.3, Nutch 2.x HEAD
Reporter: Lewis John McGibbney
Fix For: 0.4
Tests [0] and [1] fail identically with the following stack trace
{code}
Testcase: testInject took 1.931 sec
Caused an ERROR
null
java.util.NoSuchElementException
at java.util.TreeMap.key(TreeMap.java:1221)
at java.util.TreeMap.firstKey(TreeMap.java:285)
at org.apache.gora.memory.store.MemStore.execute(MemStore.java:122)
at
org.apache.nutch.util.CrawlTestUtil.readContents(CrawlTestUtil.java:112)
at org.apache.nutch.crawl.TestInjector.readDb(TestInjector.java:104)
at org.apache.nutch.crawl.TestInjector.testInject(TestInjector.java:62)
{code}
TreeMap is here [2]
[0]
http://svn.apache.org/viewvc/nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestInjector.java?view=markup
[1]
http://svn.apache.org/viewvc/nutch/branches/2.x/src/test/org/apache/nutch/fetcher/TestFetcher.java?view=markup
[2] http://docs.oracle.com/javase/6/docs/api/java/util/TreeMap.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira