neo4j/community — Issue #275: [Neo4j] Graph.db was Corrupted
Author: gustavoboby
Created: 2012-02-24 16:57:06+00:00
State: open

Hi guy's,
I have a problem when i trie to execute the query above:
http> POST /db/data/cypher { "query": "start x =
node:index_padrao(Tipo='Perfil') WHERE x.Email AND
x.Email='luiz.boxxx@xxxxx.com.br' return x" }

The exception:
==> 400 Bad Request
==> {
==> "message" : "Position[19500176] requested for high id[19449875],
store is ok[true] recovery[false]",
==> "exception" :
"org.neo4j.kernel.impl.nioneo.store.InvalidRecordException:
Position[19500176] requested for high id[19449875], store is ok[true]
recovery[false]",
==> "stacktrace" :
[ "org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.acquireWindow(Commo nAbstractStore.java:
554)",
"org.neo4j.kernel.impl.nioneo.store.PropertyStore.getLightRecord(PropertySt ore.java:
348)",
"org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getPropertyRecordChain(Rea dTransaction.java:
184)",
"org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.loadProperties(ReadTransac tion.java:
214)",
"org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.nodeLoadProperties(ReadTra nsaction.java:
238)",
"org.neo4j.kernel.impl.persistence.PersistenceManager.loadNodeProperties(Pe rsistenceManager.java:
113)",
"org.neo4j.kernel.impl.core.NodeManager.loadProperties(NodeManager.java:
732)",
"org.neo4j.kernel.impl.core.NodeImpl.loadProperties(NodeImpl.java:
121)",
"org.neo4j.kernel.impl.core.Primitive.ensureFullProperties(Primitive.java:
569)",
"org.neo4j.kernel.impl.core.Primitive.hasProperty(Primitive.java:
293)",
"org.neo4j.kernel.impl.core.NodeProxy.hasProperty(NodeProxy.java:
150)", "org.neo4j.cypher.commands.Has.isMatch(Predicate.scala:139)",
"org.neo4j.cypher.commands.And.isMatch(Predicate.scala:43)",
"org.neo4j.cypher.internal.pipes.FilterPipe$$anonfun$createResults
$1.apply(FilterPipe.scala:29)",
"org.neo4j.cypher.internal.pipes.FilterPipe$$anonfun$createResults
$1.apply(FilterPipe.scala:29)", "scala.collection.TraversableLike$
$anonfun$filter$1.apply(TraversableLike.scala:213)",
"scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:59)",
"scala.collection.immutable.List.foreach(List.scala:45)",
"scala.collection.TraversableLike$class.filter(TraversableLike.scala:
212)", "scala.collection.immutable.List.filter(List.scala:45)",
"org.neo4j.cypher.internal.pipes.FilterPipe.createResults(FilterPipe.scala:
29)",
"org.neo4j.cypher.internal.pipes.ExtractPipe.createResults(ExtractPipe.scal a:
41)",
"org.neo4j.cypher.internal.pipes.ColumnFilterPipe.createResults(ColumnFilte rPipe.scala:
33)", "org.neo4j.cypher.internal.ExecutionPlanImpl$$anonfun
$6.apply(ExecutionPlanImpl.scala:120)",
"org.neo4j.cypher.internal.ExecutionPlanImpl$$anonfun
$6.apply(ExecutionPlanImpl.scala:118)",
"org.neo4j.cypher.internal.ExecutionPlanImpl.execute(ExecutionPlanImpl.scal a:
34)", "org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:
72)", "org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:
68)",
"org.neo4j.cypher.javacompat.ExecutionEngine.execute(ExecutionEngine.java:
73)",
"org.neo4j.server.rest.web.CypherService.cypher(CypherService.java:
71)", "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)",
"sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)",
"sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)",
"java.lang.reflect.Method.invoke(Unknown Source)",
"com.sun.jersey.spi.container.JavaMethodInvokerFactory
$1.invoke(JavaMethodInvokerFactory.java:60)",
"com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDis patchProvider
$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:
205)",
"com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatc her.dispatch(ResourceJavaMethodDispatcher.java:
75)",
"com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule. java:
288)",
"com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClas sRule.java:
108)",
"com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPat hRule.java:
147)",
"com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootRe sourceClassesRule.java:
84)",
"com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(W ebApplicationImpl.java:
1469)",
"com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(W ebApplicationImpl.java:
1400)",
"com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(We bApplicationImpl.java:
1349)",
"com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(We bApplicationImpl.java:
1339)",
"com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.jav a:
416)",
"com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletConta iner.java:
537)",
"com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletConta iner.java:
699)", "javax.servlet.http.HttpServlet.service(HttpServlet.java:820)",
"org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)", "org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)",
"org.neo4j.server.statistic.StatisticFilter.doFilter(StatisticFilter.java:
62)", "org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)",
"org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)",
"org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)",
"org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)",
"org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:
114)",
"org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)", "org.mortbay.jetty.Server.handle(Server.java:326)",
"org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)", "org.mortbay.jetty.HttpConnection
$RequestHandler.content(HttpConnection.java:943)",
"org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)",
"org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)",
"org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)",
"org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
410)", "org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)" ]
==> }

There was probably a forced shutdown of the server.

Thank's