# Old Forum Archive

**URL:** https://discuss.gradle.org/c/old-forum/13.md?page=4

[Latest](https://discuss.gradle.org/latest.md) · [Categories](https://discuss.gradle.org/categories.md) · [Tags](https://discuss.gradle.org/tags.md)

**Page:** 5

---

## [java.lang.NoClassDefFoundError for closure with Gradle version 3.0](https://discuss.gradle.org/t/java-lang-noclassdeffounderror-for-closure-with-gradle-version-3-0/19568)

<div class="topic-metadata">

**Author:** [@Horcrux7](https://discuss.gradle.org/u/Horcrux7)\
**Replies:** 3\
**Last updated:** [September 16, 2016, 12:28pm UTC](https://discuss.gradle.org/t/java-lang-noclassdeffounderror-for-closure-with-gradle-version-3-0/19568 "2016-09-16T12:28:25Z")

</div>

We receive a java.lang.NoClassDefFoundError with Gradle 3.0 but it work with 2.14.1 org.gradle.tooling.BuildException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/grad…

---

## [Error while downloading dependencies from Amazon S3](https://discuss.gradle.org/t/error-while-downloading-dependencies-from-amazon-s3/18712)

<div class="topic-metadata">

**Author:** [@Mashnin](https://discuss.gradle.org/u/Mashnin)\
**Replies:** 7\
**Last updated:** [September 16, 2016, 9:54am UTC](https://discuss.gradle.org/t/error-while-downloading-dependencies-from-amazon-s3/18712 "2016-09-16T09:54:36Z")

</div>

Gradle Version: 2.14.1 Operating System: Windows 7 x64, Ubuntu 14.04 We have some big projects with a lot of modules, which we publish and download from Amazon S3. After we publish new versions of modules our builds of…

---

## [NPE while resolving dependencies from cache with gradle 2.14.1](https://discuss.gradle.org/t/npe-while-resolving-dependencies-from-cache-with-gradle-2-14-1/19507)

<div class="topic-metadata">

**Author:** [@ManfredSchenkIOSB](https://discuss.gradle.org/u/ManfredSchenkIOSB)\
**Replies:** 3\
**Last updated:** [September 15, 2016, 9:39pm UTC](https://discuss.gradle.org/t/npe-while-resolving-dependencies-from-cache-with-gradle-2-14-1/19507 "2016-09-15T21:39:49Z")

</div>

We are facing some NPEs during dependency resolving from cache in our build environment. Unfortunetaly it doesn't happen in every build but justs sporadic. From my understanding of the source code mentioned in the stackt…

---

## [Gradle Experimental having problem finding modules imports](https://discuss.gradle.org/t/gradle-experimental-having-problem-finding-modules-imports/19560)

<div class="topic-metadata">

**Author:** [@MoBaT](https://discuss.gradle.org/u/MoBaT)\
**Replies:** 1\
**Last updated:** [September 15, 2016, 9:34pm UTC](https://discuss.gradle.org/t/gradle-experimental-having-problem-finding-modules-imports/19560 "2016-09-15T21:34:26Z")

</div>

Gradle Version: gradle-experimental:0.7.3 Operating System and JVM version: Windows 10 and jdk1.8.0\_102 Is this a regression? If yes, which version of Gradle do you know it last worked for? It works on Gradle 2.14.1 and…

---

## [JavaExec does not handle Spaces in Classpath](https://discuss.gradle.org/t/javaexec-does-not-handle-spaces-in-classpath/19558)

<div class="topic-metadata">

**Author:** [@jjstreet](https://discuss.gradle.org/u/jjstreet)\
**Replies:** 1\
**Last updated:** [September 15, 2016, 5:55pm UTC](https://discuss.gradle.org/t/javaexec-does-not-handle-spaces-in-classpath/19558 "2016-09-15T17:55:45Z")

</div>

Gradle Version: 2.12, 2.14, 3.0 Operating System and JVM version: Windows 10 x64, JDK 8 Is this a regression? If yes, which version of Gradle do you know it last worked for? Not a regression This is related to ope…

---

## [Different classifiers with different unique snapshot IDs doesn't work well](https://discuss.gradle.org/t/different-classifiers-with-different-unique-snapshot-ids-doesnt-work-well/19557)

<div class="topic-metadata">

**Author:** [@flozano](https://discuss.gradle.org/u/flozano)\
**Replies:** 0\
**Last updated:** [September 15, 2016, 1:41pm UTC](https://discuss.gradle.org/t/different-classifiers-with-different-unique-snapshot-ids-doesnt-work-well/19557 "2016-09-15T13:41:04Z")

</div>

Gradle Version: verified from 2.9 to 3.0 Operating System and JVM version: OS X, Linux, JDK 1.8 Is this a regression? No I have artifact-1.0-SNAPSHOT.jar and artifact-1.0-SNAPSHOT-tests.jar deployed by same project. m…

---

## [Gradle failed to sync on Android Studio on mac](https://discuss.gradle.org/t/gradle-failed-to-sync-on-android-studio-on-mac/19450)

<div class="topic-metadata">

**Author:** [@ayushr2](https://discuss.gradle.org/u/ayushr2)\
**Replies:** 6\
**Last updated:** [September 14, 2016, 6:13am UTC](https://discuss.gradle.org/t/gradle-failed-to-sync-on-android-studio-on-mac/19450 "2016-09-14T06:13:44Z")

</div>

Gradle failed to sync on Android Studio on my mac. I have tried so much but I am not able to overcome this error. It says that it is caused due to: " ch.qos.logback.classic.loggercontext cannot be cast to org.gradle.int…

---

## [@Mutate ModelMap task dependencies weirdness](https://discuss.gradle.org/t/mutate-modelmap-task-dependencies-weirdness/19521)

<div class="topic-metadata">

**Author:** [@mkobit](https://discuss.gradle.org/u/mkobit)\
**Replies:** 0\
**Last updated:** [September 14, 2016, 2:45am UTC](https://discuss.gradle.org/t/mutate-modelmap-task-dependencies-weirdness/19521 "2016-09-14T02:45:27Z")

</div>

Example build.gradle group 'com.mkobit.test' version '1.0-SNAPSHOT' class MyPlugin implements Plugin\<Project\> { @Override void apply(final Project project) { project.tasks.create('firstTask') { doFirst…

---

## [Parallel execution of gradle processes leads to NPE - regression in 2.14](https://discuss.gradle.org/t/parallel-execution-of-gradle-processes-leads-to-npe-regression-in-2-14/19254)

<div class="topic-metadata">

**Author:** [@sebek64](https://discuss.gradle.org/u/sebek64)\
**Replies:** 8\
**Last updated:** [September 13, 2016, 9:45pm UTC](https://discuss.gradle.org/t/parallel-execution-of-gradle-processes-leads-to-npe-regression-in-2-14/19254 "2016-09-13T21:45:49Z")

</div>

Gradle Version: 2.14, 3.0 Operating System: Debian Linux (stable), OpenJDK 8 from backports Is this a regression? If yes, which version of Gradle do you know it last worked for? 2.13 We use gradle-cargo-plugin (ve…

---

## [Unable to serialize @Input List\<String\> from @Managed item in a Task using @Nested](https://discuss.gradle.org/t/unable-to-serialize-input-list-string-from-managed-item-in-a-task-using-nested/19518)

<div class="topic-metadata">

**Author:** [@Appu\_Goundan](https://discuss.gradle.org/u/Appu_Goundan)\
**Replies:** 0\
**Last updated:** [September 13, 2016, 9:07pm UTC](https://discuss.gradle.org/t/unable-to-serialize-input-list-string-from-managed-item-in-a-task-using-nested/19518 "2016-09-13T21:07:15Z")

</div>

I believe this is a bug, but maybe it's just not a supported features (seems unlikely) Looks similar to this, but with a @Nested tag : https://discuss.gradle.org/t/workaround-for-input-list-string-args-is-not-serializa…

---

## [Gradle 3.0 OSX EL Captian JDK1.8 AndroidStudio 2.1.3 Gradle sync failed org/gradle/internal/installation/beacon/InstallationBeacon : Unsupported major.minor version 51.0](https://discuss.gradle.org/t/gradle-3-0-osx-el-captian-jdk1-8-androidstudio-2-1-3-gradle-sync-failed-org-gradle-internal-installation-beacon-installationbeacon-unsupported-major-minor-version-51-0/19355)

<div class="topic-metadata">

**Author:** [@decazuk](https://discuss.gradle.org/u/decazuk)\
**Replies:** 3\
**Last updated:** [September 13, 2016, 5:52pm UTC](https://discuss.gradle.org/t/gradle-3-0-osx-el-captian-jdk1-8-androidstudio-2-1-3-gradle-sync-failed-org-gradle-internal-installation-beacon-installationbeacon-unsupported-major-minor-version-51-0/19355 "2016-09-13T17:52:42Z")

</div>

When I update gradle from 2.14 to 3.0, Android Studio gradle sync with this error. I can build apk in command line with ./gradlew build.

---

## [Classpath order is not deterministic with Gradle 3.1 RC1](https://discuss.gradle.org/t/classpath-order-is-not-deterministic-with-gradle-3-1-rc1/19503)

<div class="topic-metadata">

**Author:** [@Alexey\_Tsvetkov](https://discuss.gradle.org/u/Alexey_Tsvetkov)\
**Replies:** 1\
**Last updated:** [September 13, 2016, 1:25pm UTC](https://discuss.gradle.org/t/classpath-order-is-not-deterministic-with-gradle-3-1-rc1/19503 "2016-09-13T13:25:21Z")

</div>

Git repo: https://github.com/tsvtkv/android-dagger It's an android project that uses kotlin and dagger. I've added classpath printing to kotlin and java tasks (in doFirst). Running 'assembleDebug' multiple times, I've no…

---

## [Java compile errors when jar task has include closure](https://discuss.gradle.org/t/java-compile-errors-when-jar-task-has-include-closure/19499)

<div class="topic-metadata">

**Author:** [@carlo\_lf](https://discuss.gradle.org/u/carlo_lf)\
**Replies:** 1\
**Last updated:** [September 13, 2016, 12:57pm UTC](https://discuss.gradle.org/t/java-compile-errors-when-jar-task-has-include-closure/19499 "2016-09-13T12:57:42Z")

</div>

Until recently I had a jar task definition like this: jar { exclude '\*/.xml' } For some reason we didn't want to include Xml files from 'src/main/resources'. This policy changed, and it was decided t…

---

## [Corrupt artifact cache?](https://discuss.gradle.org/t/corrupt-artifact-cache/19315)

<div class="topic-metadata">

**Author:** [@Remon\_Sinnema](https://discuss.gradle.org/u/Remon_Sinnema)\
**Replies:** 1\
**Last updated:** [September 13, 2016, 12:02pm UTC](https://discuss.gradle.org/t/corrupt-artifact-cache/19315 "2016-09-13T12:02:00Z")

</div>

Gradle Version: 3.0 (daemon: yes, parallel: no) Operating System: Linux (Haven's seen it on Windows so far) Is this a regression? Yes. 2.14.1 worked reliably. I get this error sometimes after switching to 3.0: Could no…

---

## [Sudden ClassNotFound exceptions, sometimes related to changed dependencies](https://discuss.gradle.org/t/sudden-classnotfound-exceptions-sometimes-related-to-changed-dependencies/11403)

<div class="topic-metadata">

**Author:** [@huxi](https://discuss.gradle.org/u/huxi)\
**Replies:** 11\
**Last updated:** [September 13, 2016, 9:24am UTC](https://discuss.gradle.org/t/sudden-classnotfound-exceptions-sometimes-related-to-changed-dependencies/11403 "2016-09-13T09:24:54Z")

</div>

This will be a “bug report from hell”, unfortunately. Sometimes (i.e. this is not reproducible and it’s also quite rare) our Jenkins CI server produces ClassNotFound exceptions after a dependency has been updated. This…

---

## [Gradle test runner does not mark junit test case as failed if exception is encountered missing stack trace](https://discuss.gradle.org/t/gradle-test-runner-does-not-mark-junit-test-case-as-failed-if-exception-is-encountered-missing-stack-trace/19482)

<div class="topic-metadata">

**Author:** [@clarkstuth](https://discuss.gradle.org/u/clarkstuth)\
**Replies:** 1\
**Last updated:** [September 13, 2016, 9:10am UTC](https://discuss.gradle.org/t/gradle-test-runner-does-not-mark-junit-test-case-as-failed-if-exception-is-encountered-missing-stack-trace/19482 "2016-09-13T09:10:13Z")

</div>

Link to example project: https://github.com/clarkstuth/gradle-failure-scenario Gradle logged the following stack trace when it encountered a null pointer exception during a junit test execution. The test was not marke…

---

## [Gradle not syncing on Android Studio](https://discuss.gradle.org/t/gradle-not-syncing-on-android-studio/19493)

<div class="topic-metadata">

**Author:** [@ayushr2](https://discuss.gradle.org/u/ayushr2)\
**Replies:** 0\
**Last updated:** [September 13, 2016, 5:11am UTC](https://discuss.gradle.org/t/gradle-not-syncing-on-android-studio/19493 "2016-09-13T05:11:23Z")

</div>

Can someone please help me with this problem. here is a screenshot. What should I do? It is urgent.

---

## [Missing dependency org/gradle/api/internal/DynamicObject prevents extending plugin task](https://discuss.gradle.org/t/missing-dependency-org-gradle-api-internal-dynamicobject-prevents-extending-plugin-task/19472)

<div class="topic-metadata">

**Author:** [@djohnsonmach](https://discuss.gradle.org/u/djohnsonmach)\
**Replies:** 2\
**Last updated:** [September 12, 2016, 9:23pm UTC](https://discuss.gradle.org/t/missing-dependency-org-gradle-api-internal-dynamicobject-prevents-extending-plugin-task/19472 "2016-09-12T21:23:51Z")

</div>

Gradle Version: 3.0 & nightly builds Operating System and JVM version: Mac OSX and Java 1.8.0\_66 Is this a regression? If yes, which version of Gradle do you know it last worked for? Yes, 2.13 (have not tried any interm…

---

## [Gradle 3.0 Copy task no longer gets task dependencies from with call](https://discuss.gradle.org/t/gradle-3-0-copy-task-no-longer-gets-task-dependencies-from-with-call/19444)

<div class="topic-metadata">

**Author:** [@Wesley\_Hartford](https://discuss.gradle.org/u/Wesley_Hartford)\
**Replies:** 1\
**Last updated:** [September 12, 2016, 10:27am UTC](https://discuss.gradle.org/t/gradle-3-0-copy-task-no-longer-gets-task-dependencies-from-with-call/19444 "2016-09-12T10:27:54Z")

</div>

Gradle Version: 3.0 Operating System and JVM version: Linux, OpenJDK 1.8.0\_91 Is this a regression? If yes, which version of Gradle do you know it last worked for? Build scan of working build with gradle version 2.14.…

---

## [Scala compilation performance decrease in Gradle 2.12+](https://discuss.gradle.org/t/scala-compilation-performance-decrease-in-gradle-2-12/19412)

<div class="topic-metadata">

**Author:** [@jacobilsoe](https://discuss.gradle.org/u/jacobilsoe)\
**Replies:** 1\
**Last updated:** [September 12, 2016, 9:30am UTC](https://discuss.gradle.org/t/scala-compilation-performance-decrease-in-gradle-2-12/19412 "2016-09-12T09:30:19Z")

</div>

After upgrading from Gradle 2.11 to 2.12 (and later) we have seen a significant performance decrease in scala compilation. I have created a sample with 50 subprojects each one having a single scala source file. I have d…

---

## [Building Gradle 3.0 from source fails](https://discuss.gradle.org/t/building-gradle-3-0-from-source-fails/19425)

<div class="topic-metadata">

**Author:** [@Tilo\_Dickopp](https://discuss.gradle.org/u/Tilo_Dickopp)\
**Replies:** 1\
**Last updated:** [September 12, 2016, 9:13am UTC](https://discuss.gradle.org/t/building-gradle-3-0-from-source-fails/19425 "2016-09-12T09:13:07Z")

</div>

I'm trying to build Gardle 3.0 from source and get an error in org.gradle.cleanup.EmptyDirectoryCheckTest when compiling buildSrc. I'm on Windows 10 and the error has to do with 8.3 filenames: Condition not satisf…

---

## [Strange class not found error for closure](https://discuss.gradle.org/t/strange-class-not-found-error-for-closure/18982)

<div class="topic-metadata">

**Author:** [@swpalmer](https://discuss.gradle.org/u/swpalmer)\
**Replies:** 22\
**Last updated:** [September 12, 2016, 6:52am UTC](https://discuss.gradle.org/t/strange-class-not-found-error-for-closure/18982 "2016-09-12T06:52:42Z")

</div>

\* What went wrong: A problem occurred evaluating script. \> ThingUtilsPluginConvention$\_parseVersion\_closure3 \* Try: Run with --info or --debug option to get more log output. \* Exception is: org.gradle.api.GradleScript…

---

## [Bug in Jacoco Plugin](https://discuss.gradle.org/t/bug-in-jacoco-plugin/19429)

<div class="topic-metadata">

**Author:** [@Tilo\_Dickopp](https://discuss.gradle.org/u/Tilo_Dickopp)\
**Replies:** 2\
**Last updated:** [September 9, 2016, 3:58am UTC](https://discuss.gradle.org/t/bug-in-jacoco-plugin/19429 "2016-09-09T03:58:22Z")

</div>

I've run into a bug with the Jacoco plugin, that seems to be caused either by Windows or by Java limitations for long path names. It happens when the "wrong" path is passed as -javaagent when spawning new JVMs. I am cons…

---

## [Build Failed with Exception](https://discuss.gradle.org/t/build-failed-with-exception/19402)

<div class="topic-metadata">

**Author:** [@mharrisr](https://discuss.gradle.org/u/mharrisr)\
**Replies:** 2\
**Last updated:** [September 9, 2016, 3:25am UTC](https://discuss.gradle.org/t/build-failed-with-exception/19402 "2016-09-09T03:25:23Z")

</div>

Days left I have no clue to sort this issue out, can anyone please find me a solution to this issue: Executing tasks: \[:app:assembleDebug, :appGradeLib:assembleDebug, :googleplayserviceslib:assembleDebug\] Configuration…

---

## [Generate junit test report fails on Jenkins with Android N device](https://discuss.gradle.org/t/generate-junit-test-report-fails-on-jenkins-with-android-n-device/18728)

<div class="topic-metadata">

**Author:** [@RDev](https://discuss.gradle.org/u/RDev)\
**Replies:** 4\
**Last updated:** [September 8, 2016, 11:50am UTC](https://discuss.gradle.org/t/generate-junit-test-report-fails-on-jenkins-with-android-n-device/18728 "2016-09-08T11:50:31Z")

</div>

Gradle Version: 2.14.1 Operating System: Jenkins (Win 7 64bit), Testdevice (Nexus 9 OS 7.0) Is this a regression? If yes, which version of Gradle do you know it last worked for? Logoutput on Jenkins: 07:13:29.613 \[D…

---

## [Native prebuilt library: platform-specific headers](https://discuss.gradle.org/t/native-prebuilt-library-platform-specific-headers/17418)

<div class="topic-metadata">

**Author:** [@zgmnkv](https://discuss.gradle.org/u/zgmnkv)\
**Replies:** 4\
**Last updated:** [September 7, 2016, 1:26pm UTC](https://discuss.gradle.org/t/native-prebuilt-library-platform-specific-headers/17418 "2016-09-07T13:26:58Z")

</div>

Hi, I'm trying to find a way to specify different headers for a prebuilt library depending on target platform. According to the sample from samples/native-binaries/prebuilt I can set sharedLibraryFile for a binary, but h…

---

## [2.12 \> Multi module project with multiple integration tests](https://discuss.gradle.org/t/2-12-multi-module-project-with-multiple-integration-tests/19263)

<div class="topic-metadata">

**Author:** [@appienvanveen](https://discuss.gradle.org/u/appienvanveen)\
**Replies:** 5\
**Last updated:** [September 7, 2016, 9:48am UTC](https://discuss.gradle.org/t/2-12-multi-module-project-with-multiple-integration-tests/19263 "2016-09-07T09:48:12Z")

</div>

(:dummy-plugin:integrationTest ( (building.DummyIntegrationSpec \> initializationError FAILED ( java.lang.ArrayStoreException ( (1 test completed, 1 failed (:dummy-plugin:integrationTest FAILED (:dummy-plugin:…

---

## [Composite builds IDEA integration should de-duplicate submodule names](https://discuss.gradle.org/t/composite-builds-idea-integration-should-de-duplicate-submodule-names/19391)

<div class="topic-metadata">

**Author:** [@Szczepan\_Faber](https://discuss.gradle.org/u/Szczepan_Faber)\
**Replies:** 1\
**Last updated:** [September 6, 2016, 10:53pm UTC](https://discuss.gradle.org/t/composite-builds-idea-integration-should-de-duplicate-submodule-names/19391 "2016-09-06T22:53:02Z")

</div>

I was using Gradle nightly build from last week to test out composite builds and IDEA integration. I found a problem: when 2 composite participants have submodule with the same name, only one of those submodules appears …

---

## [Plugin org.sonarqube dependencies missing in repository](https://discuss.gradle.org/t/plugin-org-sonarqube-dependencies-missing-in-repository/19378)

<div class="topic-metadata">

**Author:** [@jrodan](https://discuss.gradle.org/u/jrodan)\
**Replies:** 1\
**Last updated:** [September 6, 2016, 4:37pm UTC](https://discuss.gradle.org/t/plugin-org-sonarqube-dependencies-missing-in-repository/19378 "2016-09-06T16:37:12Z")

</div>

FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'Workspace'. Could not resolve all dependencies for configuration ':classpath'. Could not resolve org.sonarsource…

---

## [Bug in Gradle 3.0 - java.lang.UnsupportedOperationException](https://discuss.gradle.org/t/bug-in-gradle-3-0-java-lang-unsupportedoperationexception/19332)

<div class="topic-metadata">

**Author:** [@eschizoid](https://discuss.gradle.org/u/eschizoid)\
**Replies:** 6\
**Last updated:** [September 6, 2016, 3:04pm UTC](https://discuss.gradle.org/t/bug-in-gradle-3-0-java-lang-unsupportedoperationexception/19332 "2016-09-06T15:04:23Z")

</div>

After executing ./gradlew clean build --stacktrace, I am getting the following error: \* Exception is: java.lang.UnsupportedOperationException at org.springframework.boot.gradle.exclude.ApplyExcludeRules.addExc…

[Previous page](https://discuss.gradle.org/c/old-forum/13.md?page=3)

[Next page](https://discuss.gradle.org/c/old-forum/13.md?page=5)
