Re: [Neo] NPE during XA transaction

2009-11-11 Thread Andreas Guenther
Well, as it turns out all my fault as another backup process I have kicked in 
and interfered with my reprocessing. After I synchronized these two competing 
resources everything runs as smooth as usual again. 

Sorry for bothering but we are close to end of our release cycle ;)
-Andreas

P.S.
Neo rocks!

 -Ursprüngliche Nachricht-
 Von: Andreas Guenther andreas.guent...@web.de
 Gesendet: 11.11.09 20:57:51
 An: user@lists.neo4j.org
 Betreff: [Neo] NPE during XA transaction


 Hi,
 
 I am trying to reprocess requests available from a queue into my neo store. I 
 intentionally avoid using the bulk load feature. The idea behind the feature 
 is to have the ability synchronizing neo with the database in case neo missed 
 transactions and also to be able to reconstruct the store from scratch if 
 needed. Everything works just fine when processing the queue in production, 
 that is, where requests come in infrequently, all distributed during the day. 
 It unfortunately fails when trying to reprocess them in fast order. It 
 consistently happens after approx 2000 processing requests.
 
 Any idea what could have caused the NPE as pasted below? Looks like the 
 'LogBuffer writeBuffer' got assigned to NULL at one point, probably during 
 either releaseCurrentLogFile() or close(). Anything related to log rotation, 
 maybe? This happens on Linux with Neo4j 1.0-b10.
 
 Any workarounds or explanations appreciated,
 -Andreas
 
 org.neo4j.impl.transaction.TransactionFailureException: Unable to commit 
 transaction
 ...
 Caused by: java.lang.NullPointerException
 at 
 org.neo4j.impl.transaction.xaframework.XaLogicalLog.done(XaLogicalLog.java:462)
 at 
 org.neo4j.impl.transaction.xaframework.XaResourceManager.commit(XaResourceManager.java:400)
 at 
 org.neo4j.impl.transaction.xaframework.XaResourceHelpImpl.commit(XaResourceHelpImpl.java:64)
 at 
 org.neo4j.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:514)
 at org.neo4j.impl.transaction.TxManager.commit(TxManager.java:573)
 at org.neo4j.impl.transaction.TxManager.commit(TxManager.java:543)
 at 
 org.neo4j.impl.transaction.TransactionImpl.commit(TransactionImpl.java:102)
 at 
 org.neo4j.api.core.EmbeddedNeoImpl$TransactionImpl.finish(EmbeddedNeoImpl.java:395)
 __
 GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
 Jetzt freischalten unter http://movieflat.web.de
 
 ___
 Neo mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 


__
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

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


Re: [Neo] NPE during XA transaction

2009-11-11 Thread Mattias Persson
Great to hear that this worked out for you in the end.

/ Mattias

2009/11/11 Andreas Guenther andreas.guent...@web.de:
 Well, as it turns out all my fault as another backup process I have kicked in 
 and interfered with my reprocessing. After I synchronized these two competing 
 resources everything runs as smooth as usual again.

 Sorry for bothering but we are close to end of our release cycle ;)
 -Andreas

 P.S.
 Neo rocks!

Thanks, I know :)


 -Ursprüngliche Nachricht-
 Von: Andreas Guenther andreas.guent...@web.de
 Gesendet: 11.11.09 20:57:51
 An: user@lists.neo4j.org
 Betreff: [Neo] NPE during XA transaction


 Hi,

 I am trying to reprocess requests available from a queue into my neo store. 
 I intentionally avoid using the bulk load feature. The idea behind the 
 feature is to have the ability synchronizing neo with the database in case 
 neo missed transactions and also to be able to reconstruct the store from 
 scratch if needed. Everything works just fine when processing the queue in 
 production, that is, where requests come in infrequently, all distributed 
 during the day. It unfortunately fails when trying to reprocess them in fast 
 order. It consistently happens after approx 2000 processing requests.

 Any idea what could have caused the NPE as pasted below? Looks like the 
 'LogBuffer writeBuffer' got assigned to NULL at one point, probably during 
 either releaseCurrentLogFile() or close(). Anything related to log rotation, 
 maybe? This happens on Linux with Neo4j 1.0-b10.

 Any workarounds or explanations appreciated,
 -Andreas

 org.neo4j.impl.transaction.TransactionFailureException: Unable to commit 
 transaction
 ...
 Caused by: java.lang.NullPointerException
         at 
 org.neo4j.impl.transaction.xaframework.XaLogicalLog.done(XaLogicalLog.java:462)
         at 
 org.neo4j.impl.transaction.xaframework.XaResourceManager.commit(XaResourceManager.java:400)
         at 
 org.neo4j.impl.transaction.xaframework.XaResourceHelpImpl.commit(XaResourceHelpImpl.java:64)
         at 
 org.neo4j.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:514)
         at org.neo4j.impl.transaction.TxManager.commit(TxManager.java:573)
         at org.neo4j.impl.transaction.TxManager.commit(TxManager.java:543)
         at 
 org.neo4j.impl.transaction.TransactionImpl.commit(TransactionImpl.java:102)
         at 
 org.neo4j.api.core.EmbeddedNeoImpl$TransactionImpl.finish(EmbeddedNeoImpl.java:395)
 __
 GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
 Jetzt freischalten unter http://movieflat.web.de

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



 __
 GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
 Jetzt freischalten unter http://movieflat.web.de

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




-- 
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user