gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Saputra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-226) java.util.NoSuchElementException when attempting to obtain TreeMap.firstKey in MemStore#execute
Date Sat, 08 Feb 2014 17:59:19 GMT

    [ https://issues.apache.org/jira/browse/GORA-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895649#comment-13895649
] 

Henry Saputra commented on GORA-226:
------------------------------------

Could this be dup of 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)

Mime
View raw message