Hi Lewis.

The patch have a problem.

T newObj = (T) obj.clone();

The code line is not true, because (T) isn't clonable.

2015-08-25 10:06 GMT+03:00 Cihad Guzel <[email protected]>:

> Thanks Lewis.
>
> I try it and report back.
>
> 2015-08-25 9:59 GMT+03:00 Lewis John Mcgibbney <[email protected]>
> :
>
>> Hi Cihad,
>> Can you please try the patch below on Gora master branch
>>
>> https://issues.apache.org/jira/plugins/servlet/mobile#issue/GORA-228
>>
>> Then re-run your tests replacing the Gora core module with the newly
>> patched version. Can you report back here and also comment on the issue of
>> this fixes the problem.
>> Thank you very much.
>> Lewis
>>
>>
>> On Monday, August 24, 2015, Cihad Guzel <[email protected]> wrote:
>>
>>> I developed it on nutch 2.x branch
>>>
>>> 2015-08-25 9:56 GMT+03:00 Cihad Guzel <[email protected]>:
>>>
>>>>
>>>> Hi Lewis.
>>>>
>>>> There are some error for Nutch Tests. The nutch test methods is
>>>> ignored. I have consulted Talat and I changed datastore configuration from
>>>> MemStore to HBaseStore for testing. I run only one test at a sitting. I
>>>> have ignored the other test method. So, The test run successfully.  If I
>>>> run multi test method, provide error. I don't understand it.
>>>>
>>>>
>>>>
>>>> 2015-08-25 8:02 GMT+03:00 Lewis John Mcgibbney <
>>>> [email protected]>:
>>>>
>>>>> Hi Cihad,
>>>>>
>>>>> Which version of Nutch 2.X are you working with when you get these
>>>>> errors?
>>>>>
>>>>> On Sat, Aug 15, 2015 at 11:04 AM, <[email protected]>
>>>>> wrote:
>>>>>
>>>>> >
>>>>> >
>>>>> > I run TestInjector. But there are an exeption as follow:
>>>>> >
>>>>> > 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:125)
>>>>> > at
>>>>> org.apache.nutch.util.CrawlTestUtil.readContents(CrawlTestUtil.java:114)
>>>>> > at org.apache.nutch.crawl.TestInjector.readDb(TestInjector.java:108)
>>>>> > at
>>>>> org.apache.nutch.crawl.TestInjector.testInject(TestInjector.java:68)
>>>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> > at
>>>>> >
>>>>> >
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>> > at ...
>>>>> >
>>>>> > How to solve it? How to run nutch tests?
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>> --
>>>>> *Lewis*
>>>>>
>>>>
>>>>
>>>
>>
>> --
>> *Lewis*
>>
>>
>

Reply via email to