Jump to content

Execution failed for task ':recompileMc'. > java.lang.NullPointerException (no error message)


Recommended Posts

Posted
 ./gradlew setupDecompWorkspace
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-ee3e3df
  https://github.com/MinecraftForge/ForgeGradle
#################################################
                 Powered by MCP
             http://modcoderpack.com
     by: Searge, ProfMobius, R4wk, ZeuX
     Fesh0r, IngisKahn, bspkrs, LexManos
#################################################

> Task :recompileMc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':recompileMc'.
> java.lang.NullPointerException (no error message)
./gradlew setupDecompWorkspace --stacktrace

> Configure project :
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.

> Task :recompileMc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':recompileMc'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':recompileMc'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
        at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
        at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:273)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:258)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: java.lang.NullPointerException
        at net.minecraftforge.gradle.user.TaskRecompileMc.getExtPath(TaskRecompileMc.java:107)
        at net.minecraftforge.gradle.user.TaskRecompileMc.doStuff(TaskRecompileMc.java:82)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:786)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:753)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
        ... 31 more
 ./gradlew setupDecompWorkspace --info
The client will now receive all logging from the daemon (pid: 15936). The daemon log file: C:\Users\Li\.gradle\daemon\4.9\daemon-15936.out.log
Starting 4th build in daemon [uptime: 26 mins 20.368 secs, performance: 100%, no major garbage collections]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file 'C:\Users\Li\Documents\forge-1.12.2-14.23.4.2757-mdk\settings.gradle'.
Projects loaded. Root project using build file 'C:\Users\Li\Documents\forge-1.12.2-14.23.4.2757-mdk\build.gradle'.
Included projects: [root project 'forge-1.12.2-14.23.4.2757-mdk']

This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
file or directory 'C:\Users\Li\Documents\forge-1.12.2-14.23.4.2757-mdk\src\api\resources', not founde-1.12.2-14.23.4.2757-mdk\build.gradle'.
All projects evaluated.
Selected primary task 'setupDecompWorkspace' from project :
Tasks to be executed: [task ':deobfCompileDummyTask', task ':deobfProvidedDummyTask', task ':getVersionJson', task ':extractUserdev', task ':extractDependencyATs', task ':extractMcpData', task ':extractMcpMappings', task ':genSrgs', task ':downloadClient', task ':downloadServer', task ':splitServerJar', task ':mergeJars', task ':deobfMcSRG', task ':decompileMc', task ':fixMcSources', task ':applySourcePatches', task ':remapMcSources', task ':recompileMc', task ':extractNatives', task ':getAssetIndex', task ':getAssets', task ':makeStart', task ':setupDecompWorkspace']
:deobfCompileDummyTask (Thread[Daemon worker Thread 4,5,main]) started.

> Task :deobfCompileDummyTask
Task ':deobfCompileDummyTask' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
:deobfCompileDummyTask (Thread[Daemon worker Thread 4,5,main]) completed. Took 0.146 secs.
:deobfProvidedDummyTask (Thread[Task worker for ':',5,main]) started.

> Task :deobfProvidedDummyTask
Task ':deobfProvidedDummyTask' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
:deobfProvidedDummyTask (Thread[Task worker for ':',5,main]) completed. Took 0.019 secs.
:getVersionJson (Thread[Task worker for ':',5,main]) started.

> Task :getVersionJson
Task ':getVersionJson' is not up-to-date because:
  Task.upToDateWhen is false.
:getVersionJson (Thread[Task worker for ':',5,main]) completed. Took 1.743 secs.
:extractUserdev (Thread[Task worker for ':',5,main]) started.

> Task :extractUserdev UP-TO-DATE
Skipping task ':extractUserdev' as it is up-to-date.
:extractUserdev (Thread[Task worker for ':',5,main]) completed. Took 0.046 secs.
:extractDependencyATs (Thread[Task worker for ':',5,main]) started.

> Task :extractDependencyATs SKIPPED
Skipping task ':extractDependencyATs' as task onlyIf is false.
:extractDependencyATs (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
:extractMcpData (Thread[Task worker for ':',5,main]) started.

> Task :extractMcpData SKIPPED
Skipping task ':extractMcpData' as task onlyIf is false.
:extractMcpData (Thread[Task worker for ':',5,main]) completed. Took 4.414 secs.
:extractMcpMappings (Thread[Task worker for ':',5,main]) started.

> Task :extractMcpMappings SKIPPED
Skipping task ':extractMcpMappings' as task onlyIf is false.
:extractMcpMappings (Thread[Task worker for ':',5,main]) completed. Took 2.742 secs.
:genSrgs (Thread[Task worker for ':',5,main]) started.

> Task :genSrgs SKIPPED
Skipping task ':genSrgs' as task onlyIf is false.
:genSrgs (Thread[Task worker for ':',5,main]) completed. Took 1.143 secs.
:downloadClient (Thread[Task worker for ':',5,main]) started.

> Task :downloadClient SKIPPED
Skipping task ':downloadClient' as task onlyIf is false.
:downloadClient (Thread[Task worker for ':',5,main]) completed. Took 0.667 secs.
:downloadServer (Thread[Task worker for ':',5,main]) started.

> Task :downloadServer SKIPPED
Skipping task ':downloadServer' as task onlyIf is false.
:downloadServer (Thread[Task worker for ':',5,main]) completed. Took 2.718 secs.
:splitServerJar (Thread[Task worker for ':',5,main]) started.

> Task :splitServerJar SKIPPED
Skipping task ':splitServerJar' as task onlyIf is false.
:splitServerJar (Thread[Task worker for ':',5,main]) completed. Took 7.576 secs.
:mergeJars (Thread[Task worker for ':',5,main]) started.

> Task :mergeJars SKIPPED
Skipping task ':mergeJars' as task onlyIf is false.
:mergeJars (Thread[Task worker for ':',5,main]) completed. Took 1.533 secs.

> Task :decompileMc SKIPPED
Skipping task ':decompileMc' as task onlyIf is false.
:decompileMc (Thread[Task worker for ':',5,main]) completed. Took 1.438 secs.
:fixMcSources (Thread[Task worker for ':',5,main]) started. Took 1.417 secs.

> Task :fixMcSources SKIPPED
Skipping task ':fixMcSources' as task onlyIf is false.
:fixMcSources (Thread[Task worker for ':',5,main]) completed. Took 3.204 secs.
:applySourcePatches (Thread[Task worker for ':',5,main]) started.

> Task :applySourcePatches SKIPPED
Skipping task ':applySourcePatches' as task onlyIf is false.
:applySourcePatches (Thread[Task worker for ':',5,main]) completed. Took 1.792 secs.
:remapMcSources (Thread[Task worker for ':',5,main]) started.

> Task :remapMcSources SKIPPED
Skipping task ':remapMcSources' as task onlyIf is false.
:remapMcSources (Thread[Task worker for ':',5,main]) completed. Took 1.17 secs.
:recompileMc (Thread[Task worker for ':',5,main]) started.

> Task :recompileMc
No output file found.
Task ':recompileMc' is not up-to-date because:
  Task has failed previously.

> Task :recompileMc FAILED
:recompileMc (Thread[Task worker for ':',5,main]) completed. Took 36.223 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':recompileMc'.
> java.lang.NullPointerException (no error message)

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.