java.lang.reflect.InvocationTargetException

SpringSource Issue Tracker | Andreas Nyberg | 2 years ago
  1. 0

    Clean install of http://download.springsource.com/release/ECLIPSE/kepler/SR2/eclipse-jee-kepler-SR2-macosx-cocoa-x86_64.tar.gz Clean install of GradleIDE only from http://dist.springsource.com/release/TOOLS/update/e4.3/: Gradle IDE 3.5.1.201404300713-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group Pivotal Software, Inc. What steps will reproduce the problem? 1. Block the default Gradle User Home path by replacing it with a file: touch ~/.gradle 2. Preferences > Gradle > Gradle User Home: Directory: "/Users/middlewareman/.gradle1" 3. File > Import > Import Gradle Project (a project that has a wrapper configured) I have observed this problem perhaps a year ago as well. I recall environment variable GRADLE_USER_HOME was ignored as well. This is very problematic in my work environment since the default location resides on a slow remote filesystem. -- Error Details -- Date: Sat Jul 05 14:57:38 BST 2014 Message: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) Severity: Error Product: Eclipse 2.0.2.20140224-0000 (org.eclipse.epp.package.jee.product) Plugin: org.springsource.ide.eclipse.gradle.core Session Data: eclipse.buildId=4.3.2.M20140221-1700 java.version=1.8.0_05 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/middlewareman/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/middlewareman/.eclipse_keyring -showlocation Exception Stack Trace: java.lang.reflect.InvocationTargetException at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:92) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.core.runtime.CoreException: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:284) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:633) at org.springsource.ide.eclipse.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:654) at org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:516) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:84) ... 1 more Caused by: org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-1.12-rc-2-bin.zip'. at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:112) at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:36) at org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:40) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:98) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:81) at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58) at org.gradle.tooling.internal.consumer.connection.LoggingInitializerConsumerActionExecutor.run(LoggingInitializerConsumerActionExecutor.java:44) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46) at org.gradle.tooling.internal.consumer.DefaultModelBuilder.get(DefaultModelBuilder.java:48) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider.buildModel(GradleModelProvider.java:385) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:290) at org.springsource.ide.eclipse.gradle.core.GradleProject.getModelProvider(GradleProject.java:569) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:629) ... 4 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) at org.gradle.wrapper.Install.createDist(Install.java:44) at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:108) at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:36) at org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:40) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:98) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:81) at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58) at org.gradle.tooling.internal.consumer.connection.LoggingInitializerConsumerActionExecutor.run(LoggingInitializerConsumerActionExecutor.java:44) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:236) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49) ... 13 more

    SpringSource Issue Tracker | 2 years ago | Andreas Nyberg
    java.lang.reflect.InvocationTargetException
  2. 0

    Clean install of http://download.springsource.com/release/ECLIPSE/kepler/SR2/eclipse-jee-kepler-SR2-macosx-cocoa-x86_64.tar.gz Clean install of GradleIDE only from http://dist.springsource.com/release/TOOLS/update/e4.3/: Gradle IDE 3.5.1.201404300713-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group Pivotal Software, Inc. What steps will reproduce the problem? 1. Block the default Gradle User Home path by replacing it with a file: touch ~/.gradle 2. Preferences > Gradle > Gradle User Home: Directory: "/Users/middlewareman/.gradle1" 3. File > Import > Import Gradle Project (a project that has a wrapper configured) I have observed this problem perhaps a year ago as well. I recall environment variable GRADLE_USER_HOME was ignored as well. This is very problematic in my work environment since the default location resides on a slow remote filesystem. -- Error Details -- Date: Sat Jul 05 14:57:38 BST 2014 Message: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) Severity: Error Product: Eclipse 2.0.2.20140224-0000 (org.eclipse.epp.package.jee.product) Plugin: org.springsource.ide.eclipse.gradle.core Session Data: eclipse.buildId=4.3.2.M20140221-1700 java.version=1.8.0_05 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/middlewareman/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/middlewareman/.eclipse_keyring -showlocation Exception Stack Trace: java.lang.reflect.InvocationTargetException at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:92) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.core.runtime.CoreException: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:284) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:633) at org.springsource.ide.eclipse.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:654) at org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:516) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:84) ... 1 more Caused by: org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-1.12-rc-2-bin.zip'. at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:112) at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:36) at org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:40) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:98) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:81) at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58) at org.gradle.tooling.internal.consumer.connection.LoggingInitializerConsumerActionExecutor.run(LoggingInitializerConsumerActionExecutor.java:44) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46) at org.gradle.tooling.internal.consumer.DefaultModelBuilder.get(DefaultModelBuilder.java:48) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider.buildModel(GradleModelProvider.java:385) at org.springsource.ide.eclipse.gradle.core.GradleModelProvider$GroupedModelProvider.ensureModels(GradleModelProvider.java:290) at org.springsource.ide.eclipse.gradle.core.GradleProject.getModelProvider(GradleProject.java:569) at org.springsource.ide.eclipse.gradle.core.GradleProject.getGradleModel(GradleProject.java:629) ... 4 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) at org.gradle.wrapper.Install.createDist(Install.java:44) at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:108) at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:36) at org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:40) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:98) at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:81) at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58) at org.gradle.tooling.internal.consumer.connection.LoggingInitializerConsumerActionExecutor.run(LoggingInitializerConsumerActionExecutor.java:44) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55) at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:236) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49) ... 13 more

    SpringSource Issue Tracker | 2 years ago | Andreas Nyberg
    java.lang.reflect.InvocationTargetException
  3. 0

    FileNotFoundException: log.hpl when CWD != app's CWD

    GitHub | 2 years ago | FauxFaux
    java.io.FileNotFoundException: log.hpl (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error en localizacion Colombia Adempiere 360 y ubuntu 12.04

    adempiere | 1 year ago | habuitragot
    java.io.FileNotFoundException: /home/Descargas/GeografiaColombiaCompleta_20090225.zip (No such file or directory)
  6. 0

    pbs when building Burgess and Lund's HAL model!

    Google Groups | 3 years ago | Toumouh Adil
    java.lang.RuntimeException: /home/adil/workspace/arabic6/termvectors.bin (No such file or directory)

  1. Andreas Häber 1 times, last 2 weeks ago
  2. tyson925 5 times, last 7 months ago
  3. rp 13 times, last 8 months ago
30 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /Users/middlewareman/.gradle/wrapper/dists/gradle-1.12-rc-2-bin/3itujejoglhrarak87mte40sj4/gradle-1.12-rc-2-bin.zip.lck (Not a directory)

    at java.io.RandomAccessFile.open()
  2. Java RT
    RandomAccessFile.<init>
    1. java.io.RandomAccessFile.open(Native Method)
    2. java.io.RandomAccessFile.<init>(RandomAccessFile.java:236)
    2 frames
  3. org.gradle.wrapper
    Install.createDist
    1. org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
    2. org.gradle.wrapper.Install.createDist(Install.java:44)
    2 frames
  4. org.gradle.tooling
    DefaultAsyncConsumerActionExecutor$1$1.run
    1. org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:108)
    2. org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:36)
    3. org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:40)
    4. org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:98)
    5. org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:81)
    6. org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58)
    7. org.gradle.tooling.internal.consumer.connection.LoggingInitializerConsumerActionExecutor.run(LoggingInitializerConsumerActionExecutor.java:44)
    8. org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55)
    8 frames
  5. Gradle Core
    DefaultExecutorFactory$StoppableExecutorImpl$1.run
    1. org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames