Stuck on Caching decompiled code

Published by fishcute on
Status
Fixed
Issue description

So I am trying out the new 1.8.3 MCreator, but when I set it up, it all goes well, until it gets stuck at "Caching decompiled code". I already searched through the other things but I'm not sure what would help. Also in console it says that the build is done, not sure if that is meant to be, but I wait for an hour, and it still goes. I try to re-install MCreator, but it didn't work. Then I tried doing the 32-bit one, thinking I had the wrong bit, but then some sort of error happened, so my computer was 64-bit. It is really annoying. Also in console it says "BUILD SUCCESSFUL". Does this mean that it has succeeded and failed "Caching decompiled code" or something else?

Here is the console text:
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.3, 64-bit, 12174 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms6000m -Xmx8000m" wrapper --gradle-version 4.4 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-7764e3e        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:wrapper
BUILD SUCCESSFUL
Total time: 9.464 secs
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 9804 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.3, 64-bit, 12174 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms6000m -Xmx8000m" setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG SKIPPED
:decompileMc SKIPPED
:fixMcSources SKIPPED
:applySourcePatches SKIPPED
:remapMcSources SKIPPED
:recompileMc SKIPPED
:extractNatives SKIPPED
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 1084/1305   83%
:makeStart
:setupDecompWorkspace
BUILD SUCCESSFUL in 27s
7 actionable tasks: 6 executed, 1 up-to-date
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 28093 milliseconds

 

If this is a duplicate, then please comment a link to another issue that can help me, or just help me. Thanks!

Issue comments

This is rather strange. Could you run MCreator with mcreator.bat and paste the contents of the command prompt when MCreator hangs on Caching decompiled code?

[Fri Apr 19 11:26:57 EDT 2019] [Launcher] Java version: 1.8.0_202, specification: 1.8, VM name: OpenJDK 64-Bit Server VM, VM vendor: BellSoft
[Fri Apr 19 11:26:57 EDT 2019] [Launcher] Current JAVA_HOME for running instance: C:\Pylo\MCreator183\jdk\jre
[Fri Apr 19 11:27:02 EDT 2019] [Launcher] Installation path: C:\Pylo\MCreator183
[Fri Apr 19 11:27:02 EDT 2019] [Launcher] User home of MCreator: C:\Users\alext\.mcreator\
[Fri Apr 19 11:27:05 EDT 2019] [WebIO] Reading from URL: https://mcreator.net/app
[Fri Apr 19 11:27:08 EDT 2019] Skipping update message ...
[Fri Apr 19 11:27:08 EDT 2019] [WebIO] Reading from URL: https://mcreator.net/app/motw
[Fri Apr 19 11:27:08 EDT 2019] [WebIO] Reading from URL: https://mcreator.net/app/news
[Fri Apr 19 11:27:14 EDT 2019] Checking Pylo user session
[Fri Apr 19 11:27:16 EDT 2019] Pylo sync status: true
[Fri Apr 19 11:27:16 EDT 2019] MCreator setup process started ...
[Fri Apr 19 11:27:16 EDT 2019] [GA] Tracking page: /1.8.3/launch
[Fri Apr 19 11:27:16 EDT 2019] [Setup] Path for MDK zip: C:\Users\alext\AppData\Local\Temp\minecraftforge6754183233239100798mdk
[Fri Apr 19 11:27:17 EDT 2019] [GradleBuilder] Patching build.gradle
[Fri Apr 19 11:32:20 EDT 2019] Exception in thread "AWT-EventQueue-0" [Fri Apr 19 11:35:17 EDT 2019] java.lang.NullPointerException
[Fri Apr 19 11:35:18 EDT 2019]  at co.pylo.mcreator.e.b.b(SourceFile:234)
[Fri Apr 19 11:35:18 EDT 2019]  at co.pylo.mcreator.g.b.a(SourceFile:165)
[Fri Apr 19 11:35:18 EDT 2019]  at co.pylo.mcreator.b.e.a(SourceFile:623)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventQueue.access$500(EventQueue.java:97)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventQueue$3.run(EventQueue.java:709)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventQueue$3.run(EventQueue.java:703)
[Fri Apr 19 11:35:18 EDT 2019]  at java.security.AccessController.doPrivileged(Native Method)
[Fri Apr 19 11:35:18 EDT 2019]  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[Fri Apr 19 11:35:18 EDT 2019]  at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Terminate batch job (Y/N)?

Or maybe can this be removed if possible because it really is "improving performance"

fishcute, could you go to folder C:/Users/alext/.mcreator/gradle/caches/minecraft/net/minecraftforge/forge/1.12.2-14.23.5.2768/snapshot/<some number>/ and paste the screenshot of this folder here?

Go in this folder and show the files in it.

And please paste the full path to this folder here too.

TheDiamondCrafter, please upload the picture on the internet, you posted a local file and I can't see it.

fishcute, the path in the file explorer above the folders. But more important is to show the contents of the 20171003 folder.

The current fix I see would be to:

  1. Completely uninstall MCreator
  2. Go to C:/Users/alext/.mcreator/ and delete folder gradle in it
  3. Install MCreator again

If this does not work, report back.

its not working its typing me caching decompiled code for a week!?!?!?!?!?!

how can i fix it

me i have

FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 7056 milliseconds

what is it error

euh no it is

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.3, 64-bit, 4001 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
(c) Microsoft Corporation, 2017. Tous droits r‚serv‚s.
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms1500m -Xmx500m" wrapper --gradle-version 4.4 
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 10428 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.3, 64-bit, 4001 MB, Windows 10 - cmd, JVM 1.8.0_202, JAVA_HOME: C:\Pylo\MCreator183\jdk
(c) Microsoft Corporation, 2017. Tous droits r‚serv‚s.
C:\Pylo\MCreator183\forge>gradlew -Dorg.gradle.java.home="C:/Pylo/MCreator183/jdk" -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms1500m -Xmx500m" setupDecompWorkspace --refresh-dependencies 
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator183\forge>
Task completed with return code 0 in 9499 milliseconds

 

wath man

You have set minimal amount of RAM to 1500M and maximum to 500M. This does not make much sense. Make minimal value smaller than maximal in preferences.