Maven Build failure - RepositoryException: Inaccessible value (500) | Community
Skip to main content
kishore_polsani
Level 4
July 20, 2018
Question

Maven Build failure - RepositoryException: Inaccessible value (500)

  • July 20, 2018
  • 3 replies
  • 6013 views

Hi,

I am facing an intermittent issue, sometimes maven build is getting failed and not able to install the packages. I can access package manager console and logged with admin creds. There is enough disk space on server. Any pointers?

AEM Version: AEM 6.2

Maven Version: Apache Maven 3.0.4

Error logs:

[ERROR] Request failed: org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.RepositoryException: Inaccessible value (500)

[INFO]

------------------------------------------------------------------------

[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:install (install-content-package) on project myproject-all: Error while installing package. Check log for details. -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:install (install-content-package) on project myproject-all: Error while installing package. Check log for details.

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

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

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

at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoFailureException: Error while installing package. Check log for details.

at com.day.jcr.vault.maven.mgr.PackageInstallMojo.uploadPackage(PackageInstallMojo.java:281)

at com.day.jcr.vault.maven.mgr.PackageInstallMojo.execute(PackageInstallMojo.java:200)

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

... 20 more

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

paradox8071
Level 2
July 20, 2018

make sure that there is no debugger process attached .

rajramo
April 25, 2020
Most likely the issue is due to debugger with Java 9 and above. From Java-9 and above when you attach debugger remotely , you need to specify the IP along with the port. If you attach the debugger correctly with JDK 9 and above then things should be working fine.
edubey
Level 10
July 20, 2018

Maven version seems to be old.

Can you try with version 3.5.4 or greater than 3.3

kishore_polsani
Level 4
July 20, 2018

Package is installed to author instance but not to publish.