[Hippo-cms7-user BETA] Publishing...

Bart van der Schans schans at onehippo.com
Wed Oct 8 12:45:37 CEST 2008


Hi Bjorn,

It could be this issue is already solved. Could you please email your 
repository.xml en version of the jackrabbit-core-1.4*.jar?

Regards,
Bart


On 8-10-2008 9:52, Björn Lindström wrote:
> Hi all,
>
> Anyone else having publishing problems?? I see some strange behavior.
>
> I add a link to an asset or an image to a document and then view it in
> preview, all looks fine. When I publish the document the image
> disappears (in the cms I only see a red dot where the image used to be)!
> In the console, the property jcr:data is empty when it before contained
> “binary data (xxx bytes)”. I have seen the same behavior for links to
> assets where the jcr:data property is empty after publishing.
>
> What does the publishing do that may cause this? I tried this on a clean
> repository and then everything works fine so I guess it is in my
> environment. There are no errors in the database log, the exception
> below is from tomcat but im not sure if this is the cause or just
> because jcr:data is null.
>
> Thanks for any ideas.
>
> Bjorn
>
> 08.10.2008 09:10:45 ERROR
> [org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin.execute():220]
> Invalid data to save
>
> javax.jcr.RepositoryException: standards plugin invalid: null: null
>
>          at
> org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocation.invoke(WorkflowManagerImpl.java:626)
>
>          at
> org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:451)
>
>          at $Proxy11.publish(Unknown Source)
>
>          at
> org.hippoecm.frontend.plugins.reviewedactions.FullReviewedActionsWorkflowPlugin$4.execute(FullReviewedActionsWorkflowPlugin.java:115)
>
>          at
> org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin.execute(AbstractWorkflowPlugin.java:211)
>
>          at
> org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin.access$000(AbstractWorkflowPlugin.java:51)
>
>          at
> org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin$2.onClick(AbstractWorkflowPlugin.java:133)
>
>          at
> org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:65)
>
>          at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
>
>          at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:293)
>
>          at
> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
>
>          at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
>
>          at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171)
>
>          at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
>
>          at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
>
>          at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
>
>          at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
>
>          at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>
>          at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
>          at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>
>          at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>
>          at java.lang.Thread.run(Thread.java:595)
>
> Caused by: java.lang.reflect.InvocationTargetException
>
>          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
> org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocation.invoke(WorkflowManagerImpl.java:617)
>
>          ... 29 more
>
> Caused by: javax.jcr.RepositoryException: failed to write property
> state:
> 9c6c81b5-1fc2-43b7-a7c5-67d7f2ab4f7d/{http://www.jcp.org/jcr/1.0}data:
> failed to write property state:
> 9c6c81b5-1fc2-43b7-a7c5-67d7f2ab4f7d/{http://www.jcp.org/jcr/1.0}data
>
>          at
> org.apache.jackrabbit.core.version.AbstractVersionManager.checkin(AbstractVersionManager.java:381)
>
>          at
> org.apache.jackrabbit.core.version.VersionManagerImpl$2.run(VersionManagerImpl.java:302)
>
>          at
> org.apache.jackrabbit.core.version.VersionManagerImpl$DynamicESCFactory.doSourced(VersionManagerImpl.java:579)
>
>          at
> org.apache.jackrabbit.core.version.VersionManagerImpl.checkin(VersionManagerImpl.java:298)
>
>          at
> org.apache.jackrabbit.core.version.XAVersionManager.checkin(XAVersionManager.java:162)
>
>          at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2962)
>
>          at
> org.hippoecm.repository.decorating.NodeDecorator.checkin(NodeDecorator.java:388)
>
>          at
> org.hippoecm.repository.standardworkflow.VersionWorkflowImpl.version(VersionWorkflowImpl.java:152)
>
>          ... 34 more
>
> Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed
> to write property state:
> 9c6c81b5-1fc2-43b7-a7c5-67d7f2ab4f7d/{http://www.jcp.org/jcr/1.0}data
>
>          at
> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(DatabasePersistenceManager.java:487)
>
>          at
> org.apache.jackrabbit.core.persistence.AbstractPersistenceManager.store(AbstractPersistenceManager.java:75)
>
>          at
> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(DatabasePersistenceManager.java:282)
>
>          at
> org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:688)
>
>          at
> org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:857)
>
>          at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:324)
>
>          at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:300)
>
>          at
> org.apache.jackrabbit.core.version.AbstractVersionManager$WriteOperation.save(AbstractVersionManager.java:180)
>
>          at
> org.apache.jackrabbit.core.version.AbstractVersionManager.checkin(AbstractVersionManager.java:378)
>
>          ... 41 more
>
> Caused by: java.lang.NullPointerException
>
>          at java.io.FileInputStream.<init>(FileInputStream.java:103)
>
>          at
> org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(BLOBInTempFile.java:145)
>
>          at
> org.apache.jackrabbit.core.persistence.util.Serializer.serialize(Serializer.java:198)
>
>          at
> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(DatabasePersistenceManager.java:476)
>
>          ... 49 more
>
> java.lang.reflect.InvocationTargetException
>
>          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
> org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocation.invoke(WorkflowManagerImpl.java:617)
>
>          at
> org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:451)
>
>          at $Proxy11.publish(Unknown Source)
>
>          at
> org.hippoecm.frontend.plugins.reviewedactions.FullReviewedActionsWorkflowPlugin$4.execute(FullReviewedActionsWorkflowPlugin.java:115)
>
>          at
> org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin.execute(AbstractWorkflowPlugin.java:211)
>
>          at
> org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin.access$000(AbstractWorkflowPlugin.java:51)
>
>          at
> org.hippoecm.frontend.plugin.workflow.AbstractWorkflowPlugin$2.onClick(AbstractWorkflowPlugin.java:133)
>
>          at
> org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:65)
>
>          at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
>
>          at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:293)
>
>          at
> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
>
>          at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
>
>          at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171)
>
>          at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
>
>          at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
>
>          at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
>
>          at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
>
>          at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>
>          at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
>          at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>
>          at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>
>          at java.lang.Thread.run(Thread.java:595)
>
> Caused by: javax.jcr.RepositoryException: failed to write property
> state:
> 9c6c81b5-1fc2-43b7-a7c5-67d7f2ab4f7d/{http://www.jcp.org/jcr/1.0}data:
> failed to write property state:
> 9c6c81b5-1fc2-43b7-a7c5-67d7f2ab4f7d/{http://www.jcp.org/jcr/1.0}data
>
>          at
> org.apache.jackrabbit.core.version.AbstractVersionManager.checkin(AbstractVersionManager.java:381)
>
>          at
> org.apache.jackrabbit.core.version.VersionManagerImpl$2.run(VersionManagerImpl.java:302)
>
>          at
> org.apache.jackrabbit.core.version.VersionManagerImpl$DynamicESCFactory.doSourced(VersionManagerImpl.java:579)
>
>          at
> org.apache.jackrabbit.core.version.VersionManagerImpl.checkin(VersionManagerImpl.java:298)
>
>          at
> org.apache.jackrabbit.core.version.XAVersionManager.checkin(XAVersionManager.java:162)
>
>          at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2962)
>
>          at
> org.hippoecm.repository.decorating.NodeDecorator.checkin(NodeDecorator.java:388)
>
>          at
> org.hippoecm.repository.standardworkflow.VersionWorkflowImpl.version(VersionWorkflowImpl.java:152)
>
>          ... 34 more
>
> Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed
> to write property state:
> 9c6c81b5-1fc2-43b7-a7c5-67d7f2ab4f7d/{http://www.jcp.org/jcr/1.0}data
>
>          at
> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(DatabasePersistenceManager.java:487)
>
>          at
> org.apache.jackrabbit.core.persistence.AbstractPersistenceManager.store(AbstractPersistenceManager.java:75)
>
>          at
> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(DatabasePersistenceManager.java:282)
>
>          at
> org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:688)
>
>          at
> org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:857)
>
>          at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:324)
>
>          at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:300)
>
>          at
> org.apache.jackrabbit.core.version.AbstractVersionManager$WriteOperation.save(AbstractVersionManager.java:180)
>
>          at
> org.apache.jackrabbit.core.version.AbstractVersionManager.checkin(AbstractVersionManager.java:378)
>
>          ... 41 more
>
> Caused by: java.lang.NullPointerException
>
>          at java.io.FileInputStream.<init>(FileInputStream.java:103)
>
>          at
> org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(BLOBInTempFile.java:145)
>
>          at
> org.apache.jackrabbit.core.persistence.util.Serializer.serialize(Serializer.java:198)
>
>          at
> org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(DatabasePersistenceManager.java:476)
>
>          ... 49 more
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Hippo-cms7-user mailing list
> Hippo-cms7-user at lists.hippo.nl
> http://lists.hippo.nl/mailman/listinfo/hippo-cms7-user


-- 
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  info at onehippo.com
-----------------------------------------------------------------



More information about the Hippo-cms7-user mailing list