Jakub Kotowski schrieb:
> Mattias Persson schrieb:
>> I updated the version and corrected some tests which were troublesome
>> with the new version so it should be available in index-util (version
>> 0.9-SNAPSHOT) within an hour.
>>
>> It'd be great if you could report back about any encountered problem!
> 
> Thanks again for the quick fix, it seems to work fine so far.
> 
> Well, except for one problem I came across now. I'm using Neo in a
> JavaEE application running on JBoss on Ubuntu linux. I had JBoss in my
> home directory which is mounted via NFS. I moved it to a local drive and
> created a link from the home directory to the local directory so that I
> could use it the same way as before. However, I started getting the
> NullPointerException on indexService.getSingleNode() again. It seems
> like something in the Neo IndexService doesn't like symbolic links. 
After playing with it more, the culprit seems to be not the symbolic
link but the local drive :-/ When I delete the neo4j directory with the
db and start the application from the local drive then I'm getting the
NPEs - even if I shut the server down and start it again. When I delete
the neo directory and start jboss from the directory on the nfs drive
then it works fine, without NPEs. When I then start the application from
the local drive again (without deleting the neo dir) then it again works
fine, without NPEs.
I have no idea why this is happening.. I verified that the index service
is being initialized in the same thread that uses it later when the
exception occurs so it shouldn't be a problem with some asynchronicity
introduced by JBoss.

Best,
Jakub



> The
> rest of our application (also using Lucene) seemed to have no problem
> with it. When I moved JBoss back the exception disappeared again.
> 
> Cheers,
> Jakub
> 
> 
>> / Mattias
>>
>> 2009/11/12 Jakub Kotowski <jakubkotow...@gmx.net>:
>>> Mattias Persson schrieb:
>>>> Yep, I'm looking at it right now and I think it's a minor operation to
>>>> do... I'll let you know!
>>> Great and thanks for the fast answer!
>>>
>>> Jakub
>>>
>>>
>>>> 2009/11/12 Jakub Kotowski <jakubkotow...@gmx.net>:
>>>>> Hi,
>>>>>
>>>>> I'm new to Neo4j and I'm trying to use it in our project where we
>>>>> already are using lucene-core-2.9.1.jar. The problem is that when using
>>>>> this jar version I'm getting a NullPointerException upon a call to
>>>>> indexService.getSingleNode(). This does not happen with the
>>>>> lucene-core-2.4.0.jar library that comes with neo.
>>>>>
>>>>> What would be the best way out of this problem? Are you going to switch
>>>>> to the 2.9 Lucene anytime soon? I've noticed that there already is a
>>>>> ticket for this:
>>>>>
>>>>> https://trac.neo4j.org/ticket/203
>>>>>
>>>>> Best regards,
>>>>> Jakub
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Neo mailing list
>>>>> User@lists.neo4j.org
>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>
>>>>
>>> _______________________________________________
>>> Neo mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>>
>>
> 
> 

_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to