GradleTaskBuildFailed[-23]

Published by MRS_DEATh on Thu, 10/25/2018 - 17:25
Status
Outdated
Type
Product/platform
Not applicable
Priority
Normal
Issue description

How to fix this bug?

 

this is console:

Executing gradle command: clean runClient
Microsoft Windows [Version 10.0.17134.1]
(c) 2018 Microsoft Corporation. Wszelkie prawa zastrzeľone.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk64\"
C:\Pylo\MCreator175\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175\forge>gradlew -Dorg.gradle.jvmargs="-Xms128m -Xmx7089m" clean runClient 
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-9bc34b4        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 1002/1196   83%
:makeStart
:runClient
2018-10-25 19:24:41,333 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-10-25 19:24:41,334 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[19:24:41] [main/INFO] [GradleStart]: Extra: []
[19:24:41] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, D:/Users/mkala/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[19:24:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[19:24:41] [main/INFO] [FML]: Forge Mod Loader version 13.20.1.2386 for Minecraft 1.11.2 loading
[19:24:41] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 10:amd64:10.0, installed at C:\Pylo\MCreator175\jdk64\jre
[19:24:41] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[19:24:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[19:24:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[19:24:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[19:24:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:24:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
2018-10-25 19:24:41,663 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-10-25 19:24:41,691 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-10-25 19:24:41,692 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[19:24:41] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[19:24:42] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[19:24:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:24:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:24:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[19:24:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:24:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:24:42] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[19:24:43] [Client thread/INFO]: Setting user: Player889
[19:24:46] [Client thread/WARN]: Skipping bad option: lastServer:
[19:24:46] [Client thread/INFO]: LWJGL Version: 2.9.4
[19:24:47] [Client thread/INFO] [FML]: -- System Details --
Details:
   Minecraft Version: 1.11.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 505450104 bytes (482 MB) / 738721792 bytes (704 MB) up to 1900019712 bytes (1812 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: 
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 398.11' Renderer: 'GeForce GT 1030/PCIe/SSE2'
[19:24:47] [Client thread/INFO] [FML]: MinecraftForge v13.20.1.2386 Initialized
[19:24:47] [Client thread/INFO] [FML]: Replaced 232 ore recipes
[19:24:48] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[19:24:48] [Client thread/INFO] [FML]: Searching C:\Pylo\MCreator175\forge\run\mods for mods
[19:24:49] [Client thread/INFO] [testenvironmentmod]: Mod testenvironmentmod is missing the required element 'name'. Substituting testenvironmentmod
[19:24:49] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[19:24:49] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, testenvironmentmod] at CLIENT
[19:24:49] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, testenvironmentmod] at SERVER
[19:24:50] [Thread-6/INFO] [FML]: Using sync timing. 200 frames of Display.update took 96789844 nanos
[19:24:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testenvironmentmod
[19:24:50] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[19:24:50] [Client thread/INFO] [FML]: Found 445 ObjectHolder annotations
[19:24:50] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:24:50] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:24:50] [Client thread/INFO] [FML]: Applying holder lookups
[19:24:50] [Client thread/INFO] [FML]: Holder lookups applied
[19:24:50] [Client thread/INFO] [FML]: Applying holder lookups
[19:24:50] [Client thread/INFO] [FML]: Holder lookups applied
[19:24:50] [Client thread/INFO] [FML]: Applying holder lookups
[19:24:50] [Client thread/INFO] [FML]: Holder lookups applied
[19:24:50] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:24:50] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotio…
[19:24:50] [Client thread/INFO] [FML]: Applying holder lookups
[19:24:50] [Client thread/INFO] [FML]: Holder lookups applied
[19:24:50] [Client thread/INFO] [FML]: Injecting itemstacks
[19:24:50] [Client thread/INFO] [FML]: Itemstack injection complete
[19:24:50] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[19:24:52] [Sound Library Loader/INFO]: Starting up SoundSystem...
[19:24:53] [Thread-8/INFO]: Initializing LWJGL OpenAL
[19:24:53] [Thread-8/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[19:24:53] [Thread-8/INFO]: OpenAL initialized.
[19:24:53] [Sound Library Loader/INFO]: Sound engine started
[19:24:56] [Client thread/INFO] [FML]: Max texture size: 16384
[19:24:56] [Client thread/INFO]: Created: 16x16 textures-atlas
[19:24:57] [Client thread/INFO] [FML]: OBJLoader: Domain testenvironmentmod has been added.
[19:24:57] [Client thread/FATAL] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
[19:24:57] [Client thread/FATAL] [FML]: 
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   minecraft{1.11.2} [Minecraft] (minecraft.jar) 
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar) 
   UCHI   forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar) 
   UCHE   testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar) 
[19:24:57] [Client thread/FATAL] [FML]: The following problems were captured during this phase
[19:24:57] [Client thread/ERROR] [FML]: Caught exception from testenvironmentmod (java.lang.ClassCastException: mod.mcreator.mcreator_spust$Itemspust cannot be cast to java.lang.Character)
[19:24:57] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600
// I let you down. Sorry :(
Time: 10/25/18 7:24 PM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from testenvironmentmod (testenvironmentmod)
Caused by: java.lang.ClassCastException: mod.mcreator.mcreator_spust$Itemspust cannot be cast to java.lang.Character
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:247)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:282)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:277)
   at mod.mcreator.mcreator_garlacz.load(mcreator_garlacz.java:52)
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:309)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:649)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
AL lib: (EE) alc_cleanup: 1 device not closed
   at sun.reflect.DelegatingMethodAccessorImpl   at java.lang.reflect.Method.invoke(Method.java:498)
.invoke(DelegatingMethodAccessorImpl.java:43)
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
   at com.google.common.eventbus.EventBus.post(EventBus.java:275)
   at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148)
   at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:828)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:357)
   at net.minecraft.client.Minecraft.init(Minecraft.java:562)
   at net.minecraft.client.Minecraft.run(Minecraft.java:387)
   at net.minecraft.client.main.Main.main(Main.java:118)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main(GradleStart.java:26)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
   Minecraft Version: 1.11.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 246997488 bytes (235 MB) / 888143872 bytes (847 MB) up to 1900019712 bytes (1812 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: MCP 9.38 Powered by Forge 13.20.1.2386 5 mods loaded, 5 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   minecraft{1.11.2} [Minecraft] (minecraft.jar) 
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar) 
   UCHI   forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar) 
   UCHE   testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar) 
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 398.11' Renderer: 'GeForce GT 1030/PCIe/SSE2'
[19:24:57] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600
:runClient FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
* What went wrong:
Total time: 29.253 secs
Execution failed for task ':runClient'.
> Process 'command 'C:\Pylo\MCreator175\jdk64\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 29703 milliseconds

Issue comments

You are using MCreator v1.7.9 try update it MCreator to 1.8.0



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.