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

NullPointerException

    XMLWordPrintable

    Details

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

      Description

      $ gradle makeScript
      :seisFile:compileJava UP-TO-DATE
      :seisFile:processResources UP-TO-DATE
      :seisFile:classes UP-TO-DATE
      :seisFile:jar UP-TO-DATE
      :TauP:compileJava UP-TO-DATE
      :TauP:processResources

      FAILURE: Build aborted because of an internal error.

      • What went wrong:
        Build aborted because of an unexpected internal error. Please file an issue at: www.gradle.org.
      • Try:
        Run with -d option to get additional debug info.
      • Exception is:
        java.lang.NullPointerException: null
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:92)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.walkDir(DefaultDirectoryWalker.java:115)
        at org.gradle.api.internal.file.DefaultDirectoryWalker.start(DefaultDirectoryWalker.java:74)
        at org.gradle.api.internal.file.FileSet.visit(FileSet.java:93)
        at org.gradle.api.internal.file.FileSet.visit(FileSet.java:40)
        at org.gradle.api.internal.file.AbstractFileTree.getFiles(AbstractFileTree.java:36)
        at org.gradle.api.internal.file.CompositeFileCollection.getFiles(CompositeFileCollection.java:36)
        at org.gradle.api.internal.file.CompositeFileCollection.getFiles(CompositeFileCollection.java:36)
        at org.gradle.api.internal.file.AbstractFileCollection.iterator(AbstractFileCollection.java:61)
        at org.gradle.api.internal.changedetection.DefaultFileSnapshotter.snapshot(DefaultFileSnapshotter.java:41)
        at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$TaskConfiguration.<init>(DefaultTaskArtifactStateRepository.java:271)
        at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$TaskConfiguration.<init>(DefaultTaskArtifactStateRepository.java:260)
        at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$HistoricExecution.calcCurrentState(DefaultTaskArtifactStateRepository.java:122)
        at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$HistoricExecution.isUpToDate(DefaultTaskArtifactStateRepository.java:127)
        at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.isUpToDate(DefaultTaskArtifactStateRepository.java:287)
        at org.gradle.api.internal.changedetection.ShortCircuitTaskArtifactStateRepository$1.isUpToDate(ShortCircuitTaskArtifactStateRepository.java:34)
        at org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute(ExecutionShortCircuitTaskExecuter.java:40)
        at org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57)
        at org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35)
        at org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:32)
        at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:224)
        at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:165)
        at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:158)
        at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:77)
        at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:161)
        at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:177)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80)
        at org.gradle.launcher.Main.execute(Main.java:93)
        at org.gradle.launcher.Main.main(Main.java:42)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:54)

      BUILD FAILED

      Total time: 8.631 secs
      das-admins-macbook-pro-15:~/dev/seis/TauP crotwell$

        Attachments

          Activity

            People

            Assignee:
            adammurdoch Adam Murdoch
            Reporter:
            crotwell Philip Crotwell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: