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.



  • 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.