jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Kwiecień <ra...@consol.pl>
Subject Re: cluster feature - bug ?
Date Wed, 21 Feb 2007 14:18:54 GMT
Hi,

I can still reproduce that problem with version from branch 1.2
(http://svn.apache.org/repos/asf/jackrabbit/branches/1.2).
Did I check out correct sources ?

$ ./remove.sh
Deleting nodes ...
Node delete: node_0 63029a57-8396-4757-a3df-fbe72426b1c6
Node delete: node_1 e021d594-e76c-46cb-a5ba-a78114bcea85
Node delete: node_2 f83188d6-b8dc-4403-89ad-fe7880f774e9
Node delete: node_3 9022aefc-7132-4b80-8884-29584488e39a
Node delete: node_4 29bbe859-6eb6-46be-87ad-8354213a4452
Node delete: node_5 88cee426-c301-492b-93c9-383aaf07e93b
Node delete: node_6 99845b77-484c-4778-aee3-2efc92e8cb65
Node delete: node_7 90dec3a8-f807-4844-8a0f-7fe7eccea4a9
Node delete: node_8 51d9550e-7b5d-4e91-9466-968512885ddd
Node delete: node_9 12d232ec-005e-48ff-b3bd-354181741656
Node delete: node_10 3d119daa-50fe-4d48-917f-26f9124baa65
Node delete: node_11 9a9f62b4-202f-4c9e-9a82-dfa36d5bce4e
21-lut-2007 14:30:43 ERROR [lusterNode] Unexpected error while preparing log 
entry.
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.cluster.FileRevision.get(FileRevision.java:139)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.sync(FileJournal.java:221)
        at 
org.apache.jackrabbit.core.cluster.AbstractJournal.begin(AbstractJournal.java:252)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.updatePrepared(ClusterNode.java:398)
        at org.apache.jackrabbit.core.cluster.ClusterNode.access$000
(ClusterNode.java:40)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updatePrepared(ClusterNode.java:558)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:647)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:778)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:808)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
        at 
org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:313)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:302)
        at 
org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:308)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1204)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:823)
        at Remove.remove(Remove.java:36)
        at Remove.main(Remove.java:12)
21-lut-2007 14:30:44 ERROR [lusterNode] Unexpected error while committing log 
entry.
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.cluster.AbstractJournal.commit(AbstractJournal.java:525)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.updateCommitted(ClusterNode.java:424)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updateCommitted(ClusterNode.java:565)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:712)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:808)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
        at 
org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:313)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:302)
        at 
org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:308)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1204)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:823)
        at Remove.remove(Remove.java:36)
        at Remove.main(Remove.java:12)
Node delete: node_12 adc93d3f-a6a6-4891-82d5-bcd9bb03d0cb
21-lut-2007 14:30:44 ERROR [Dispatcher] Synchronous EventConsumer threw 
exception.
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:141)
        at 
org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDocument(NodeIndexer.java:115)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:475)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex$2.next(SearchIndex.java:318)
        at 
org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:321)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:306)
        at 
org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:460)
        at 
org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:231)
        at 
org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:201)
        at 
org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:430)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.externalUpdate(SharedItemStateManager.java:835)
        at 
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.externalUpdate(RepositoryImpl.java:1952)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode$SyncListener.end(ClusterNode.java:799)
        at 
org.apache.jackrabbit.core.cluster.AbstractJournal.process(AbstractJournal.java:220)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.process(FileJournal.java:255)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.sync(FileJournal.java:229)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.sync(ClusterNode.java:217)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.run(ClusterNode.java:189)
        at java.lang.Thread.run(Thread.java:595)
Node delete: node_13 5cf52f7c-6e2f-4065-8dc6-19a49f4dc736
Node delete: node_14 d5ad0177-6d90-4afc-8aaa-ccee66e62163
Node delete: node_15 ae095d79-5662-4c1b-9f2e-78d37ce6e876
Node delete: node_16 4dcfa5b5-2c66-40a2-8c27-1e13211c5771
Node delete: node_17 89fb0492-1731-472e-a935-9c1e5dcd7c63
21-lut-2007 14:30:49 ERROR [lusterNode] Unexpected error while syncing of 
journal: null
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.cluster.FileRevision.get(FileRevision.java:139)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.sync(FileJournal.java:221)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.sync(ClusterNode.java:217)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.run(ClusterNode.java:189)
        at java.lang.Thread.run(Thread.java:595)
Node delete: node_18 918e534b-7b41-4507-b2b7-7a3a312509ba
Node delete: node_19 0cc3ea1b-47d1-44c8-85cd-fa890ec020d4
Node delete: node_20 81131e4a-8af9-41d3-a977-d8188a0bacb5
Node delete: node_21 f9b185cf-4bfb-4cfe-9212-028f516dff12
Node delete: node_22 e35586e3-99c1-4713-a2af-d6d559656a9b
Node delete: node_23 3684edf2-e0f0-4063-b314-911f591f5a17
21-lut-2007 14:30:54 ERROR [lusterNode] Unexpected error while preparing log 
entry.
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.cluster.FileRevision.get(FileRevision.java:139)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.sync(FileJournal.java:221)
        at 
org.apache.jackrabbit.core.cluster.AbstractJournal.begin(AbstractJournal.java:252)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.updatePrepared(ClusterNode.java:398)
        at org.apache.jackrabbit.core.cluster.ClusterNode.access$000
(ClusterNode.java:40)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updatePrepared(ClusterNode.java:558)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:647)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:778)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:808)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
        at 
org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:313)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:302)
        at 
org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:308)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1204)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:823)
        at Remove.remove(Remove.java:36)
        at Remove.main(Remove.java:12)
21-lut-2007 14:30:54 ERROR [lusterNode] Unexpected error while committing log 
entry.
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.cluster.AbstractJournal.commit(AbstractJournal.java:525)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.updateCommitted(ClusterNode.java:424)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updateCommitted(ClusterNode.java:565)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:712)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:808)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
        at 
org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:313)
        at 
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:302)
        at 
org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:308)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1204)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:823)
        at Remove.remove(Remove.java:36)
        at Remove.main(Remove.java:12)
Node delete: node_24 dcb54732-7e17-4093-9362-9dff7b278f28
21-lut-2007 14:30:54 ERROR [Dispatcher] Synchronous EventConsumer threw 
exception.
java.lang.NullPointerException
        at 
org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:141)
        at 
org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDocument(NodeIndexer.java:115)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:475)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex$2.next(SearchIndex.java:318)
        at 
org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:321)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:306)
        at 
org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:460)
        at 
org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:231)
        at 
org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:201)
        at 
org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:430)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.externalUpdate(SharedItemStateManager.java:835)
        at 
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.externalUpdate(RepositoryImpl.java:1952)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode$SyncListener.end(ClusterNode.java:799)
        at 
org.apache.jackrabbit.core.cluster.AbstractJournal.process(AbstractJournal.java:220)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.process(FileJournal.java:255)
        at 
org.apache.jackrabbit.core.cluster.FileJournal.sync(FileJournal.java:229)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.sync(ClusterNode.java:217)
        at 
org.apache.jackrabbit.core.cluster.ClusterNode.run(ClusterNode.java:189)
        at java.lang.Thread.run(Thread.java:595)
javax.jcr.InvalidItemStateException: /: the item cannot be saved because it 
has been modified externally.
        at 
org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:342)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1069)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:823)
        at Remove.remove(Remove.java:36)
        at Remove.main(Remove.java:12)

$ ./create.sh
Creating 200 nodes ...
Node created: node_0 63029a57-8396-4757-a3df-fbe72426b1c6
...
Node created: node_199 86d84b2b-ccfe-4f8a-b44b-ef7182f3a550
$ ./create.sh
Creating 200 nodes ...
javax.jcr.ItemNotFoundException: 63029a57-8396-4757-a3df-fbe72426b1c6
        at 
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:467)
        at 
org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:323)
        at 
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:796)
        at 
org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:740)
        at 
org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:687)
        at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1912)
        at Create.create(Create.java:30)
        at Create.main(Create.java:12)


-- 
Rafał Kwiecień
ConSol* Consulting & Solutions Software Poland Sp. z o.o.
ul. Piastowska 44C, 30-070 Kraków 
http://www.consol.pl/

Mime
View raw message