This is a bug. Thanks for reporting the issue. I have created a ticket for it:

https://trac.neo4j.org/ticket/59#preview

-Johan

On Mon, Jun 9, 2008 at 10:20 AM, Andreas Ronge <[EMAIL PROTECTED]> wrote:
> Hi
>
> When using the neo built from trunk
> (https://svn.neo4j.org/components/neo/trunk, revision 1756) I get the
> following exception when I try to find a node that does not exist.
>
> org.neo4j.impl.nioneo.store.StoreFailureException: Position[10]
> requested for operation is high id[2] or store is flagged as
> dirty[true]
> org/neo4j/impl/nioneo/store/CommonAbstractStore.java:348:in `acquireWindow'
> org/neo4j/impl/nioneo/store/NodeStore.java:149:in `loadLightNode'
> org/neo4j/impl/nioneo/xa/NeoTransaction.java:450:in `nodeLoadLight'
> org/neo4j/impl/nioneo/xa/NeoStoreXaConnection.java:194:in `loadLightNode'
> org/neo4j/impl/nioneo/xa/NioNeoDbPersistenceSource.java:217:in `nodeLoadLight'
> org/neo4j/impl/persistence/PersistenceManager.java:50:in `loadLightNode'
> org/neo4j/impl/core/NodeManager.java:300:in `getNodeById'
> org/neo4j/api/core/EmbeddedNeo.java:93:in `getNodeById'
>
>
> However, when I use neo-1.0-b6.jar I get the correct exception.
>
> org.neo4j.impl.core.NotFoundException:
> org.neo4j.impl.persistence.PersistenceException: java.io.IOException:
> Position[10] high id[2] storeOk=true
> org/neo4j/impl/core/NodeManager.java:255:in `getNodeById'
> org/neo4j/api/core/EmbeddedNeo.java:113:in `getNodeById'
> sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
> sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
> sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
>
> /Andreas
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to