Jump to content

[UNSOLVED] Trying to set up environment - setupDecompWorkspace error


oJosephV

Recommended Posts

Hi everyone :)

First-time poster, not sure if right forum.

I've been trying to get into modding. I've installed the JDK, updated my system environment variables accordingly & installed Eclipse, but when trying to use use the cmd.exe command 'gradlew setupDecompWorkspace' in my forge folder, [Using Forge MDK 1.10.2 12.18.3.2185], I'm getting errors. I've assigned 3G RAM to gradle & tried a few online fixes.

[Apologise for formatting, first-time poster]

WITHOUT --info;

 

#################################################
         ForgeGradle 2.2-SNAPSHOT-7f5a769
  https://github.com/MinecraftForge/ForgeGradle
#################################################
               Powered by MCP unknown
            http://modcoderpack.com
         by: Searge, ProfMobius, Fesh0r,
         R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG SKIPPED

:decompileMc
----- End of the daemon log -----


FAILURE: Build failed with an exception.

* What went wrong:
Could not dispatch a message to the daemon.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
> Building 56% > :decompileMc
C:\Users\Jacob\Desktop\Minecraft Modding\Forge>

 

-WITH --info; [[Included in self-reply]]

 

 

 

Edited by oJosephV
Link to comment
Share on other sites

C:\Users\Jacob\Desktop\Minecraft Modding\Forge>gradlew setupDecompWorkspace --in
fo
To honour the JVM settings for this build a new JVM will be forked. Please consi
der using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.

Starting daemon process: workingDir = C:\Users\Jacob\.gradle\daemon\2.14, daemon
Args: [C:\Program Files\Java\jdk1.8.0_121\bin\java.exe, -Xmx3G, -Dfile.encoding=
windows-1252, -Duser.country=GB, -Duser.language=en, -Duser.variant, -cp, C:\Use
rs\Jacob\.gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-
2.14\lib\gradle-launcher-2.14.jar, org.gradle.launcher.daemon.bootstrap.GradleDa
emon, 2.14]
Starting process 'Gradle build daemon'. Working directory: C:\Users\Jacob\.gradl
e\daemon\2.14 Command: C:\Program Files\Java\jdk1.8.0_121\bin\java.exe -Xmx3G -D
file.encoding=windows-1252 -Duser.country=GB -Duser.language=en -Duser.variant -
cp C:\Users\Jacob\.gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rx
k\gradle-2.14\lib\gradle-launcher-2.14.jar org.gradle.launcher.daemon.bootstrap.
GradleDaemon 2.14
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 3.086 secs.
Connected to daemon DaemonInfo{pid=2104, address=[e357f2a4-06d9-4eda-a81a-428ff5
566d30 port:50152, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=false, lastBu
sy=1491772147565, context=DefaultDaemonContext[uid=3d603e77-ed6b-4f86-b0e1-91072
92135b8,javaHome=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir=C:\Users\J
acob\.gradle\daemon,pid=2104,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.encodin
g=windows-1252,-Duser.country=GB,-Duser.language=en,-Duser.variant]}. Dispatchin
g request BuildAndStop{id=b025204d-73ba-4a1d-ae47-d2d2a09b6bcf.1, currentDir=C:\
Users\Jacob\Desktop\Minecraft Modding\Forge}.
Received result org.gradle.launcher.daemon.protocol.BuildStarted@3688eb5b from d
aemon DaemonInfo{pid=2104, address=[e357f2a4-06d9-4eda-a81a-428ff5566d30 port:50
152, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], idle=false, lastBusy=14917721475
65, context=DefaultDaemonContext[uid=3d603e77-ed6b-4f86-b0e1-9107292135b8,javaHo
me=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir=C:\Users\Jacob\.gradle\d
aemon,pid=2104,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.encoding=windows-1252
,-Duser.country=GB,-Duser.language=en,-Duser.variant]} (build should be starting
).
The client will now receive all logging from the daemon (pid: 2104). The daemon
log file: C:\Users\Jacob\.gradle\daemon\2.14\daemon-2104.out.log
Executing build with daemon context: DefaultDaemonContext[uid=3d603e77-ed6b-4f86
-b0e1-9107292135b8,javaHome=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir
=C:\Users\Jacob\.gradle\daemon,pid=2104,idleTimeout=120000,daemonOpts=-Xmx3G,-Df
ile.encoding=windows-1252,-Duser.country=GB,-Duser.language=en,-Duser.variant]
Starting Build
Settings evaluated using settings file 'C:\master\settings.gradle'.
Projects loaded. Root project using build file 'C:\Users\Jacob\Desktop\Minecraft
 Modding\Forge\build.gradle'.
Included projects: [root project 'Forge']
Evaluating root project 'Forge' using build file 'C:\Users\Jacob\Desktop\Minecra
ft Modding\Forge\build.gradle'.
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: BuildAndStop{id=b025204d-73ba-4a1d-ae47-d2d2a09b6bcf.1, curr
entDir=C:\Users\Jacob\Desktop\Minecraft Modding\Forge}
Attempting to read last messages from the daemon log...
Daemon pid: 21040/1 projects > root project
  log file: C:\Users\Jacob\.gradle\daemon\2.14\daemon-2104.out.log
----- Last  20 lines from daemon log file - daemon-2104.out.log -----
22:09:08.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting
to acquire exclusive lock on daemon addresses registry.
22:09:08.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acq
uired.
22:09:08.620 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasin
g lock on daemon addresses registry.
22:09:08.620 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator]
updating lastActivityAt to 1491772148620
22:09:08.620 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator]
daemon is running. Sleeping until state changes.
22:09:08.635 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondW
ithBusy] Daemon is about to start building BuildAndStop{id=b025204d-73ba-4a1d-ae
47-d2d2a09b6bcf.1, currentDir=C:\Users\Jacob\Desktop\Minecraft Modding\Forge}. D
ispatching build started information...
22:09:08.635 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConn
ection] thread 17: dispatching class org.gradle.launcher.daemon.protocol.BuildSt
arted
22:09:08.653 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvir
onment] Configuring env variables: {configsetroot=C:\Windows\ConfigSetRoot, PROC
ESSOR_LEVEL=6, FP_NO_HOST_CHECK=NO, SESSIONNAME=Console, ALLUSERSPROFILE=C:\Prog
ramData, PROCESSOR_ARCHITECTURE=AMD64, PSModulePath=C:\Windows\system32\WindowsP
owerShell\v1.0\Modules\, SystemDrive=C:, DIRNAME=C:\Users\Jacob\Desktop\Minecraf
t Modding\Forge\, USERNAME=Jacob, CMD_LINE_ARGS=setupDecompWorkspace --info, Pro
gramFiles(x86)=C:\Program Files (x86), APP_HOME=C:\Users\Jacob\Desktop\Minecraft
 Modding\Forge\, DEFAULT_JVM_OPTS=-Xmx3072M, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.V
BE;.JS;.JSE;.WSF;.WSH;.MSC, ProgramData=C:\ProgramData, ProgramW6432=C:\Program
Files, HOMEPATH=\Users\Jacob, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Ste
pping 7, GenuineIntel, ProgramFiles=C:\Program Files, PUBLIC=C:\Users\Public, wi
ndir=C:\Windows, =::=::\, _SKIP=2, LOCALAPPDATA=C:\Users\Jacob\AppData\Local, US
ERDOMAIN=Jacob-PC, LOGONSERVER=\\JACOB-PC, JAVA_HOME=C:\Program Files\Java\jdk1.
8.0_121, PROMPT=$P$G, asl.log=Destination=file, =C:=C:\Users\Jacob\Desktop\Minec
raft Modding\Forge, APPDATA=C:\Users\Jacob\AppData\Roaming, JAVA_EXE=C:\Program
Files\Java\jdk1.8.0_121/bin/java.exe, CommonProgramFiles=C:\Program Files\Common
 Files, Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\M
icrosoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Share
d\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Window
s\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;;C
:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessComm
on\;C:\Users\Jacob\AppData\Local\Smartbar\Application\;C:\Program Files (x86)\Sk
ype\Phone\;C:\Program Files\Java\jdk1.8.0_121\bin;, OS=Windows_NT, COMPUTERNAME=
JACOB-PC, PROCESSOR_REVISION=2a07, CLASSPATH=C:\Users\Jacob\Desktop\Minecraft Mo
dding\Forge\\gradle\wrapper\gradle-wrapper.jar, CommonProgramW6432=C:\Program Fi
les\Common Files, ComSpec=C:\Windows\system32\cmd.exe, APP_BASE_NAME=gradlew, Sy
stemRoot=C:\Windows, TEMP=C:\Users\Jacob\AppData\Local\Temp, HOMEDRIVE=C:, USERP
ROFILE=C:\Users\Jacob, TMP=C:\Users\Jacob\AppData\Local\Temp, CommonProgramFiles
(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=2}
22:09:08.670 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About
to start relaying all logs to the client via the connection.
22:09:08.670 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The cli
ent will now receive all logging from the daemon (pid: 2104). The daemon log fil
e: C:\Users\Jacob\.gradle\daemon\2.14\daemon-2104.out.log
22:09:08.686 [DEBUG] [org.gradle.launcher.daemon.server.exec.RequestStopIfSingle
UsedDaemon] Requesting daemon stop after processing BuildAndStop{id=b025204d-73b
a-4a1d-ae47-d2d2a09b6bcf.1, currentDir=C:\Users\Jacob\Desktop\Minecraft Modding\
Forge}
22:09:08.686 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator]
Stop as soon as idle requested. The daemon is busy: true
22:09:08.686 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator]
daemon stop has been requested. Sleeping until state changes.
22:09:08.702 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The d
aemon has started executing the build.
22:09:08.702 [INFO] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Execut
ing build with daemon context: DefaultDaemonContext[uid=3d603e77-ed6b-4f86-b0e1-
9107292135b8,javaHome=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir=C:\Us
ers\Jacob\.gradle\daemon,pid=2104,idleTimeout=120000,daemonOpts=-Xmx3G,-Dfile.en
coding=windows-1252,-Duser.country=GB,-Duser.language=en,-Duser.variant]
Starting Build
Settings evaluated using settings file 'C:\master\settings.gradle'.
Projects loaded. Root project using build file 'C:\Users\Jacob\Desktop\Minecraft
 Modding\Forge\build.gradle'.
Included projects: [root project 'Forge']
Evaluating root project 'Forge' using build file 'C:\Users\Jacob\Desktop\Minecra
ft Modding\Forge\build.gradle'.
----- End of the daemon log -----


FAILURE: Build failed with an exception.

* What went wrong:
Could not dispatch a message to the daemon.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to
get more log output.
> Configuring > 0/1 projects > root project
C:\Users\Jacob\Desktop\Minecraft Modding\Forge>

Link to comment
Share on other sites

  • 3 weeks later...

Hey man, hopefully you have gotten this fixed by now, but instead of running "setupDecompWorkspace" try "setupDevWorkspace"

 

it seems to have worked for me at first glance. No idea if this will mess me up in the long run with modding. /shrug if it doesn't work for me ill quit trying to mod lol.

 

 

 

I got this idea from reading the README that comes with Forge.


"Tip:
If you do not care about seeing Minecraft's source code you can replace "setupDecompWorkspace" with one of the following:
"setupDevWorkspace": Will patch, deobfusicated, and gather required assets to run minecraft, but will not generated human readable source code.
"setupCIWorkspace": Same as Dev but will not download any assets. This is useful in build servers as it is the fastest because it does the least work.

Tip:
When using Decomp workspace, the Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes and usually can be accessed under the 'referenced libraries' section of your IDE.

Forge source installation"

 

Link to comment
Share on other sites

  • 2 weeks later...

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I’m truly grateful for the service of the Fastfund Cryptocurrency Recovery Team. I never would have imagined that I could recover my stolen bitcoins and regain access to my wallet after losing everything to a fake investment platform. It’s truly amazing the kind of service Fastfund Recovery provides, I was able to recover all that was stolen from me within 72 hours, Fastfund Recovery offers top-notch services and is very professional indeed. If you ever doubt the recovery of cryptocurrency once it is lost, I suggest you rethink and research more before losing hope. So many victims of cryptocurrencconcluded that it is impossible to recover their funds. SpyWall is here to provide that service for you. I highly recommend their services to everyone who wishes to recover any cryptocurrency Fastfund Recovery can be contacted via their E-mail address: Fastfundrecovery8 (At) gmail com. Telegram: (at)fastfundsrecovery I’m truly grateful for their service and work ethics.
    • At CAPTAIN WEBGENESIS, They stand behind their commitment to provide unmatched expertise, cutting-edge technology, and ethical practices for crypto recovery. Your trust to Captain WebGenesis means everything, and they are dedicated to staying up-to-date with the latest advancements in the field. By entrusting your crypto recovery needs to Captain WebGenesis, you can rest assured that your assets are in capable hands, ready to be recovered and restored. Their proven track record of success and focus on transparency and client communication set us apart as the gold standard in the industry. 
    • DINASTI555 WEBSITE TERPERCAYA GACOR ANTI BONCOS TRIK BERMAIN PASTI MENANG BESAR     ↓DAFTAR & LOGIN↓  Dinasti555 satu satu nya website gacor anti boncos 100% jika kalah modal di kembali kan 100% kedalam akun tanpa ribet , Dinasti555 juga merupakan website terperaya dari tahun 2022-2024 pasti withdraw berapapun kemenangan member di bayar seutuh nya , di mana lagi nyari situs seperti Dinasti555 yang telah teruji klinis oleh pihak PAGGCOR. Berikut Dinasti555 memberikan bocoran trik pola gacor pasti wd ga akan boncos : ⚠️ BOLEH BUYSPIN JIKA FEELING SEDANG BAGUS. ⚠️ GANTI GAME LAIN JIKA TIDAK BAGUS. ⚠️ INI HANYA BERSIFAT REKOMENDASI ‼️ ---------------------------------------------------- 👇 👇 👇 👇 👇 👇 👇 👇 👇 👇 👇 👇 Pola Pancingan RTP kemenangan mingguan 88 - 97% : 🥇 Spin Manual 20x 🥈 Spin Turbo 30x 🥉 Spin Cepat 20x Jika belum dapat FREESPIN, Boleh Langsung buy FITUR ( Bet 200, 400, 800, 1200 - Sesuaikan dengan keadaan saldo ) Salam JP 💎
    • Hello. I want to make jump boost boots. But I'm not going to use jumpboost effect. I want to give player extra force. I tried to make it like this: But when I jump "player.push" method doesn't always work but "sendSystemMessage" works absolutly fine. What i did wrong?
    • Yeah I had a similar idea, at some point I also just got the numBlocksCorrupted++ out of the if block so it would just do a loop numBlocksCorrupted amount of times but it still caused some troubles. I've ended up using an extra feature to generate the blob around the ore and its working wonders so I won't be scratching my head much longer with it
  • Topics

×
×
  • Create New...

Important Information

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