Hi have an issue with a 5.1 Installation. The repository works fine in all the 
functionalities with the exception of publishing. On selecting the publish tab 
the below error is returned. I checked the repository with CRX and it seems not 
corrupted. The repository is implemented on a mysql db with documents on file 
system. The ref 6dc90d12-a47e-44f7-9d1d-c04dfd929515 doesn't seem to exist in 
the repository but it's present in the file 
NXRuntime/nxsearch-compass/index/nxdocs/_ig0.cfs (looked with grep).
Any idea?

Many thanks.

Alessandro

00:00:42,506 DEBUG [AbstractJTATransaction] Joining an existing compass 
transcation on thread [http-0.0.0.0-8080-4]
00:00:42,568 DEBUG [LuceneSearchEngine] RESOURCE QUERY 
[+(+(+ecm:path:/default-domain/sections +ecm:primaryType:Section) 
+(+MatchAllDocsQuery -(ecm:primaryType:HiddenFolder ecm:primaryType:Comment 
ecm:primaryType:UserDataRoot ecm:primaryType:CommentRoot 
ecm:primaryType:Post))) +(+MatchAllDocsQuery 
-ecm:currentLifeCycleState:deleted)] HITS [2139]
00:00:45,123 ERROR [STDERR] 22-mag-2009 0.00.45 
com.sun.facelets.FaceletViewHandler handleRenderException
GRAVE: Error Rendering View[/view_documents.xhtml]
javax.faces.FacesException: javax.el.ELException: 
/incl/tabs/document_publish.xhtml @18,75 rendered="#{documents != null and 
documentVersioning.uidDataAvailable}": Error while evaluation 
MethodValueExpression #{publishActions.getSectionsModel()}
        at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373)
Caused by: javax.el.ELException: /incl/tabs/document_publish.xhtml @18,75 
rendered="#{documents != null and documentVersioning.uidDataAvailable}": Error 
while evaluation MethodValueExpression #{publishActions.getSectionsModel()}
        at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
        at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:370)
        ... 67 more
Caused by: javax.el.ELException: /incl/tabs/document_publish.xhtml @16,81 
value="#{publishActions.getSectionsModel()}": 
org.nuxeo.ecm.core.api.ClientException: Failed to resolve document ref: 
6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:74)
        at 
org.nuxeo.ecm.platform.ui.web.binding.MethodValueExpression.getValue(MethodValueExpression.java:112)
        at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)
        at com.sun.el.parser.AstNotEqual.getValue(AstNotEqual.java:41)
        at com.sun.el.parser.AstAnd.getValue(AstAnd.java:41)
        at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
        at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
        ... 68 more
Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to resolve document 
ref: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:329)
        at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at o
00:00:45,126 ERROR [STDERR] 
rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
        at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
        at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
        at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
00:00:45,128 ERROR [STDERR] tor.intercept(JavaBeanInterceptor.java:80)
        at 
org.nuxeo.ecm.platform.publishing.PublishActionsBean$$EnhancerByCGLIB$$5e8b83eb.getSectionsModel(<generated>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
        at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
        at 
org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:102)
        at 
org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
        at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
        ... 74 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.model.NoSuchDocumentException. message: No such document: No 
such document width uuid: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.nuxeo.ecm.core.repository.jcr.JCRSession.getDocumentByUUID(JCRSession.java:249)
        at 
org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:67)
        at 
org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:326)
        ... 184 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
javax.jcr.ItemNotFoundException. message: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:496)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:325)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:472)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:441)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:789)
        at 
org.nuxeo.ecm.core.repository.jcr.JCRSession.getDocumentByUUID(JCRSession.java:246)
        ... 186 more
00:00:45,132 ERROR [STDERR] 22-mag-2009 0.00.45 
com.sun.faces.lifecycle.LifecycleImpl phase
AVVERTENZA: executePhase(RENDER_RESPONSE 
6,org.apache.myfaces.trinidadinternal.context.facescontextfactoryimpl$cacherender...@7b18e1)
 threw exception
javax.faces.FacesException: javax.el.ELException: 
/incl/tabs/document_publish.xhtml @18,75 rendered="#{documents != null and 
documentVersioning.uidDataAvailable}": Error while evaluation 
MethodValueExpression #{publishActions.getSectionsModel()}
        at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:880)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
        at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
Caused by: javax.el.ELException: /incl/tabs/document_publish.xhtml @18,75 
rendered="#{documents != null and documentVersioning.uidDataAvailable}": Error 
while evaluation MethodValueExpression #{publishActions.getSectionsModel()}
        at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
        at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:370)
        ... 67 more
Caused by: javax.el.ELException: /incl/tabs/document_publish.xhtml @16,81 
value="#{publishActions.getSectionsModel()}": 
org.nuxeo.ecm.core.api.ClientException: Failed to resolve document ref: 
6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:74)
        at 
org.nuxeo.ecm.platform.ui.web.binding.MethodValueExpression.getValue(MethodValueExpression.java:112)
        at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)
        at com.sun.el.parser.AstNotEqual.getValue(AstNotEqual.java:41)
        at com.sun.el.parser.AstAnd.getValue(AstAnd.java:41)
        at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
        at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
        ... 68 more
Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to resolve document 
ref: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:329)
        at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM
00:00:45,134 ERROR [STDERR] ethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
        at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
        at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
00:00:45,136 ERROR [STDERR] nvocation(JavaBeanInterceptor.java:145)
        at 
org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:80)
        at 
org.nuxeo.ecm.platform.publishing.PublishActionsBean$$EnhancerByCGLIB$$5e8b83eb.getSectionsModel(<generated>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
        at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
        at 
org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:102)
        at 
org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
        at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
        ... 74 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.model.NoSuchDocumentException. message: No such document: No 
such document width uuid: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.nuxeo.ecm.core.repository.jcr.JCRSession.getDocumentByUUID(JCRSession.java:249)
        at 
org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:67)
        at 
org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:326)
        ... 184 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
javax.jcr.ItemNotFoundException. message: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:496)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:325)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:472)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:441)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:789)
        at 
org.nuxeo.ecm.core.repository.jcr.JCRSession.getDocumentByUUID(JCRSession.java:246)
        ... 186 more
00:00:45,137 DEBUG [JTASyncTransaction$JTATransactionSynchronization] 
Committing compass transaction using JTA synchronization beforeCompletion on 
thread [http-0.0.0.0-8080-4]
00:00:45,139 DEBUG [AjaxPhaseListener] Process after phase RENDER_RESPONSE 6
00:00:45,142 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
org.nuxeo.ecm.core.api.WrappedException: Exception: 
javax.jcr.ItemNotFoundException. message: 6dc90d12-a47e-44f7-9d1d-c04dfd929515
        at 
org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:496)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:325)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:472)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:441)
        at 
org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:789)
--
Posted by "alexvan" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2476#6746>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to