Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3089

1.12 fails with NullPointerException on missing dependency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-rc-1

      Description

      Starting from 1.12 Gradle fails with NullPointerException as a reason on missing dependency:

      • What went wrong:
        Could not resolve all dependencies for configuration ':testCompile'.
        > Could not resolve junit:junit:4.111.
        Required by:
        info.solidsoft.gradle.pitest:gradle-pitest-plugin:0.33.1-SNAPSHOT
        > java.lang.NullPointerException (no error message)

      Gradle 1.11 fails with:

      • What went wrong:
        Could not resolve all dependencies for configuration ':testCompile'.
        > Could not find junit:junit:4.111.
        Required by:
        info.solidsoft.gradle.pitest:gradle-pitest-plugin:0.33.1-SNAPSHOT

      which doesn't suggest anything unexpected (I've got a bug report where the user suspected some additional bug in my plugin instead of just missing dependency).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: