You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/02/12 19:35:24 UTC

[jira] [Resolved] (GORA-226) java.util.NoSuchElementException when attempting to obtain TreeMap.firstKey in MemStore#execute

     [ https://issues.apache.org/jira/browse/GORA-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved GORA-226.
---------------------------------------

    Resolution: Duplicate

Yes I think that this issue can be closed as it is addressed in GORA-228

> 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 was sent by Atlassian JIRA
(v6.1.5#6160)