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

Regression: NullPointerException in Gradle 2.1-rc-1

    XMLWordPrintable

    Details

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

      Description

      Executing `gradle assemble` on [1]https://github.com/huxi/sulky throws a `NullPointerException` with Gradle 2.1-rc-1.

      See [2]https://travis-ci.org/huxi/sulky/jobs... for the build and [3]http://pastebin.com/sZbtqEHy for the stacktrace.

      The task that throws the exception looks like this:

      task javadocAll(type: Javadoc) {
      destinationDir = file("$buildDir/javadocAll")
      source = files { subprojects.collect

      { it.sourceSets.main.java }

      }
      classpath = files { subprojects.collect

      { it.sourceSets.main.compileClasspath }

      }
      }

      ----------------------------------------------------------------------------------------
      [1] https://github.com/huxi/sulky
      [2] https://travis-ci.org/huxi/sulky/jobs/33060922
      [3] http://pastebin.com/sZbtqEHy

        Attachments

          Activity

            People

            Assignee:
            erdi Marcin Erdmann
            Reporter:
            forums Gradle Forums
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: