java.lang.IllegalArgumentException: URI has an authority component

Hi All,   I upgraded application from version 8.18 to version 9.24. There were no error in version 8 and I was able run the application locally. But after upgrading it to v9, I can’t run it locally as it gives an error. I tried to find out the root cause. Does any knows why I get this error?   Stack trace :   java.lang.IllegalArgumentException: URI has an authority component     at java.base/<init>(     at org.gradle.internal.classloader.ClasspathUtil.getClasspathForClass(     at org.gradle.internal.installation.CurrentGradleInstallationLocator.findDistDir(     at org.gradle.internal.installation.CurrentGradleInstallationLocator.locateViaClass(     at org.gradle.internal.installation.CurrentGradleInstallationLocator.locateViaClassLoader(     at org.gradle.internal.installation.CurrentGradleInstallationLocator.locate(     at org.gradle.internal.installation.CurrentGradleInstallation.locate(     at org.gradle.internal.installation.CurrentGradleInstallation.get(     at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(     at     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(     at java.base/java.lang.reflect.Method.invoke(     at org.gradle.launcher.GradleMain.main(  
2 answers

That looks like you have an older Marketplace module that uses a Java Action that need upgrading.

I would suggest upgrading every module you are using in the Marketplace, and once upgraded remember to clean the userlib directory.

If you’ve not cleaned your userlib before, the following tool may help.

Good luck!


Are you opening the local application from a network drive? If you are, try opening the application from a letter drive, e.g. “C:\” instead of “\\”.