[Hippo-cms7-user BETA] Errors when creating a new type

Björn Lindström bjorn.lindstrom at indivirtual.com
Fri Nov 14 09:54:00 CET 2008


Hi Frank,

 

Yes I was also a bit surprised because when I tried this in 6.4 the nullpointer was very consistent. We did not change anything else to the repository between the first and second "Update all content" try.  

 

Another minor issue is that the OK button in the Update all content popup is only working when clicking on the top part of it. The same for the Finish button in the popup displayed when updating content.

 

Cheers

Bjorn

 

 

From: hippo-cms7-user-bounces at lists.onehippo.com [mailto:hippo-cms7-user-bounces at lists.onehippo.com] On Behalf Of Frank van Lankvelt
Sent: donderdag 13 november 2008 17:22
To: Hippo CMS7 user list
Subject: RE: [Hippo-cms7-user BETA] Errors when creating a new type

 

Hi Bjorn,

 

the VersionException near the top seems to be an interaction between versioning and remodeling.  I've added it to HREPTWO-1668.

I'm actually surprised that the remodeling did succeed after a restart; did you start from a clean repository?

 

The NPE looks (relatively) harmless, as it occurs in the cms frontend, not the repository.  It is probably related to the fact that the cms has to log out and in after remodeling.  Some plugins don't handle their models as careful as they should.

 

cheers, Frank



f.vanlankvelt at onehippo.com          www.onehippo.com
Amsterdam Hippo B.V. Oosteinde 11   1017 WT   Amsterdam   +31(0)20-5224466
San Francisco Hippo USA Inc. 101 H Street, suite Q   Petaluma   CA 94952-3329   +1-877-41-HIPPO

	
________________________________


	From: hippo-cms7-user-bounces at lists.onehippo.com [mailto:hippo-cms7-user-bounces at lists.onehippo.com] On Behalf Of Björn Lindström
	Sent: 12 November 2008 17:40
	To: Hippo CMS7 user list
	Subject: [Hippo-cms7-user BETA] Errors when creating a new type

	Hi all,

	 

	Have a problem with creating a new type in our production environment. I create a new type and when I do "Update all content" I get a nullpointer. See the stack trace below. After having restarted the ecm the "Update all content" finishes successfully, but in the logs there are the same errors but instead of the last nullpointer a 

	javax.jcr.RepositoryException: this session has been closed 

	 

	Thanks for any ideas.

	 

	Regards

	Bjorn

	 

	 

	javax.jcr.version.VersionException: /content/nl/nl/pagecontent/Business_x0020_Lease/extranet/Link_x0020_to_x0020_extranet/Link_x0020_to_x0020_extranet: cannot remove a child of a checked-in node
	        at org.apache.jackrabbit.core.ItemImpl.internalRemove(ItemImpl.java:859)
	        at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:1060)
	        at org.hippoecm.repository.decorating.ItemDecorator.remove(ItemDecorator.java:154)
	        at org.hippoecm.repository.impl.NodeDecorator.remove(NodeDecorator.java:80)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:584)
	        at org.hippoecm.repository.standardworkflow.Remodeling.copyNode(Remodeling.java:262)
	        at org.hippoecm.repository.standardworkflow.Remodeling.copyType(Remodeling.java:315)
	        at org.hippoecm.repository.standardworkflow.Remodeling.visit(Remodeling.java:446)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:583)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:601)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.traverse(Remodeling.java:606)
	        at org.hippoecm.repository.standardworkflow.Remodeling.remodel(Remodeling.java:665)
	        at org.hippoecm.repository.standardworkflow.RemodelWorkflowImpl.updateModel(RemodelWorkflowImpl.java:109)
	        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:651)
	        at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:483)
	        at $Proxy37.updateModel(Unknown Source)
	        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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
	        at sun.rmi.transport.Transport$1.run(Transport.java:153)
	        at java.security.AccessController.doPrivileged(Native Method)
	        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
	        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
	        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
	        at java.lang.Thread.run(Thread.java:595)

	12.11.2008 09:49:37 ERROR [org.hippoecm.frontend.plugin.workflow.WorkflowPlugin.updateModel():128] could not setup workflow model

	javax.jcr.RepositoryException: this session has been closed

	        at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:136)

	        at org.apache.jackrabbit.rmi.server.ServerNode.isNodeType(ServerNode.java:199)

	        at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)

	        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	        at java.lang.reflect.Method.invoke(Method.java:585)

	        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)

	        at sun.rmi.transport.Transport$1.run(Transport.java:153)

	        at java.security.AccessController.doPrivileged(Native Method)

	        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)

	        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)

	        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)

	        at java.lang.Thread.run(Thread.java:595)

	        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)

	        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)

	        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)

	        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)

	        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)

	        at $Proxy6.isNodeType(Unknown Source)

	        at org.apache.jackrabbit.rmi.client.ClientNode.isNodeType(ClientNode.java:364)

	        at org.hippoecm.frontend.model.WorkflowsModel.initialize(WorkflowsModel.java:85)

	        at org.hippoecm.frontend.model.WorkflowsModel.<init>(WorkflowsModel.java:160)

	        at org.hippoecm.frontend.plugin.workflow.WorkflowPlugin.updateModel(WorkflowPlugin.java:113)

	        at org.hippoecm.frontend.plugin.workflow.WorkflowPlugin.onFlush(WorkflowPlugin.java:200)

	        at org.hippoecm.frontend.Home$1.flush(Home.java:74)

	        at org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelDialog.execute(RemodelDialog.java:118)

	        at org.hippoecm.frontend.dialog.AbstractWorkflowDialog.ok(AbstractWorkflowDialog.java:112)

	        at org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelDialog.remodel(RemodelDialog.java:72)

	        at org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelWizard$Step2$1.getLazyLoadComponent(RemodelWizard.java:88)

	        at org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanel$1.respond(AjaxLazyLoadPanel.java:66)

	        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)

	12.11.2008 09:49:37 ERROR [org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelWizard$Step2$1.getLazyLoadComponent():91] 

	java.lang.NullPointerException

	        at org.hippoecm.frontend.editor.builder.PreviewPlugin.onFlush(PreviewPlugin.java:246)

	        at org.hippoecm.frontend.Home$1.flush(Home.java:74)

	        at org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelDialog.execute(RemodelDialog.java:118)

	        at org.hippoecm.frontend.dialog.AbstractWorkflowDialog.ok(AbstractWorkflowDialog.java:112)

	        at org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelDialog.remodel(RemodelDialog.java:72)

	        at org.hippoecm.frontend.plugins.standardworkflow.remodel.RemodelWizard$Step2$1.getLazyLoadComponent(RemodelWizard.java:88)

	        at org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanel$1.respond(AjaxLazyLoadPanel.java:66)

	        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)

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onehippo.org/pipermail/hippo-cms7-user/attachments/20081114/b7069854/attachment.htm>


More information about the Hippo-cms7-user mailing list