aem 6.2 cfp16 install package got issue

Avatar

Avatar

tomshenhao

Avatar

tomshenhao

tomshenhao

13-08-2018

I just install the latest cfp16 patch to my test environment. After it, I found one issue.

When I install the code package, we will met issue  javax.jcr.PathNotFoundException.

I have to refresh the crx/packmge console and manually install sub packages.

And repeat several times, it will finally finish the installation without error.

I have done the same installation to other test environment with installed with cfp13 patch.

No issue at all.

It seems related to cfp patch (cfp14 / cfp15 / cfp16)

Here is the detail of the error.

Starting installation of subpackage tnz:dealer-portal.all:4.15.0.12132
Creating snapshot for package tnz:dealer-portal.all:4.15.0.12132
A META-INF
A META-INF/MANIFEST.MF
A META-INF/vault
A META-INF/vault/config.xml
A META-INF/vault/filter.xml
A META-INF/vault/nodetypes.cnd

A META-INF/vault/properties.xml

A /.content.xml

A /etc

A /etc/.content.xml

A /etc/packages

A /etc/packages/.content.xml

- Aggregation status: 2 of 0 prepared, 1 collected

A META-INF/vault/definition/.content.xml

Collecting import information...

Installing node types...

Installing privileges...

Importing content...

A /etc/packages/dealerportal

A /etc/packages/dealerportal/install

A /etc/packages/dealerportal/install/dealer-portal.ui.apps-4.15.0.12132.zip

A /etc/packages/dealerportal/install/dealer-portal.ui.apps-4.15.0.12132.zip/jcr:content

A /etc/packages/dealerportal/install/dealer-portal.ui.apps-4.15.0.12132.zip/jcr:content/jcr:data

saving approx 5 nodes...

Package imported.

Error during processing:

javax.jcr.PathNotFoundException: Node /etc/packages/Dealer portal does not exist. at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.checkProtectedNode(SessionDelegate.java:378) at org.apache.jackrabbit.oak.jcr.session.WorkspaceImpl.move(WorkspaceImpl.java:188) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:434) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:359) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:529) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:359) at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.install(JcrPackageImpl.java:353) at com.day.crx.packaging.impl.J2EEPackageManager.consoleInstall(J2EEPackageManager.java:355) at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:193) at com.day.crx.packaging.impl.PackageManagerServlet.doPost(PackageManagerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:644) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79) at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74) at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:138) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74) at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135) at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:124) at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:748) 

Error: Node /etc/packages/Dealer portal does not exist.