Jump to content

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


Li-nger

Recommended Posts

 ./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)

 

Link to comment
Share on other sites

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I'm opening the forge 1.8.9 installer properly I click install with the client option selected, it says it installs properly but when I go into my files and also when I go into the minecraft launcher, it's just not there.  JVM info: Oracle Corporation - 1.8.0_431 - 25.431-b10 java.net.preferIPv4Stack=true Found java version 1.8.0_431 Considering minecraft client jar Considering library net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9: Not Downloading {Wrong Side} Considering library net.minecraft:launchwrapper:1.12: Not Downloading {Wrong Side} Considering library org.ow2.asm:asm-all:5.0.3: Not Downloading {Wrong Side} Considering library jline:jline:2.13: Not Downloading {Wrong Side} Considering library com.typesafe.akka:akka-actor_2.11:2.3.3 Considering library com.typesafe:config:1.2.1 Considering library org.scala-lang:scala-actors-migration_2.11:1.1.0 Considering library org.scala-lang:scala-compiler:2.11.1 Considering library org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2 Considering library org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2 Considering library org.scala-lang:scala-library:2.11.1 Considering library org.scala-lang:scala-parser-combinators_2.11:1.0.1 Considering library org.scala-lang:scala-reflect:2.11.1 Considering library org.scala-lang:scala-swing_2.11:1.0.1 Considering library org.scala-lang:scala-xml_2.11:1.0.2 Considering library lzma:lzma:0.0.1: Not Downloading {Wrong Side} Considering library net.sf.jopt-simple:jopt-simple:4.6: Not Downloading {Wrong Side} Considering library java3d:vecmath:1.5.2 Considering library net.sf.trove4j:trove4j:3.0.3 Extracting: /forge-1.8.9-11.15.1.2318-1.8.9-universal.jar To: C:\Users\Ian\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.8.9-11.15.1.2318-1.8.9\forge-1.8.9-11.15.1.2318-1.8.9.jar That's the installer log and I have no idea if anything is wrong.
    • https://mclo.gs/NQ786zI   I don’t understand what I need to do.
    • I am wanting to give the armour in my mod special properties, but I have no idea how to do so.   For the first armour set I want it to be the case that when the full set is worn it has the properties of a carved pumpkin, making it so you won't aggravate endermen when you look at them.    The second, and presumably harder property is that for the second set I would like it to be the case that when the full set is worn, you can walk over the void without falling. (I was considering using the levitation to accomplish this but I wanted to check beforehand).   Would both of these specialities be achievable for each armour set and how exactly would they both be done? Help would be much appreciated. 
    • I finally got my Forge server up and running thanks to the help of the people on this forum and played fine for a day. Now since I started playing today, the server runs for 20-30 minutes then freezes and kicks everyone out but stays up and running but won't let anyone connect. Here is the latest debug log and crashlog from the server. Thank you for reading & helping   https://gist.github.com/Dwolfwoood/d0410e581c86772694f1d8007431c409   https://gist.github.com/Dwolfwoood/b5d521fd071dbfcc816949924757fef9
    • I got the infamous crash log that you get when you have a mod or multiple mods that are incompatible with the version being used. however.. I have no idea which ones are wrong. I was hoping the forums could help me figure it out. does the crsh report tell me and im just dumb?  
  • Topics

×
×
  • Create New...

Important Information

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