Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [UNSOLVED] Trying to set up environment - setupDecompWorkspace error
The update for 1.13 is being worked on - please be patient. (Updated 02/14/19)
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 2
oJosephV

[UNSOLVED] Trying to set up environment - setupDecompWorkspace error

Started by oJosephV, April 9, 2017

6 posts in this topic

oJosephV    0

oJosephV

oJosephV    0

  • Tree Puncher
  • oJosephV
  • Members
  • 0
  • 5 posts
  • Report post
Posted April 9, 2017 (edited)

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 April 10, 2017 by oJosephV

Share this post


Link to post
Share on other sites

oJosephV    0

oJosephV

oJosephV    0

  • Tree Puncher
  • oJosephV
  • Members
  • 0
  • 5 posts
  • Report post
Posted April 9, 2017

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>

Share this post


Link to post
Share on other sites

oJosephV    0

oJosephV

oJosephV    0

  • Tree Puncher
  • oJosephV
  • Members
  • 0
  • 5 posts
  • Report post
Posted April 9, 2017

bump

Share this post


Link to post
Share on other sites

Leomelonseeds    27

Leomelonseeds

Leomelonseeds    27

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 27
  • 407 posts
  • Report post
Posted April 14, 2017

http://stackoverflow.com/questions/34940056/could-not-dispatch-a-message-to-the-daemon

Try that.

Share this post


Link to post
Share on other sites

colt    0

colt

colt    0

  • Tree Puncher
  • colt
  • Members
  • 0
  • 1 post
  • Report post
Posted May 5, 2017

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"

 

Share this post


Link to post
Share on other sites

Leomelonseeds    27

Leomelonseeds

Leomelonseeds    27

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 27
  • 407 posts
  • Report post
Posted May 16, 2017

No. Vanilla source code is important. Don't try to not include it. Lots of helpful info there.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 2
Go To Topic Listing ForgeGradle

  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • WaningMatrix
      [1.12] Better way to get UUID of a player?

      By WaningMatrix · Posted 15 minutes ago

      I don't really get how or what do you mean. Can you like specify it with a example block of code or something which works for Forge?
    • diesieben07
      forge with optifine 1.13.2

      By diesieben07 · Posted 31 minutes ago

      I am not sure what you mean. It is up to Optifine to add Forge compatibility. You would need to ask them for more info.
    • Nerdsjam
      Mods are not working...

      By Nerdsjam · Posted 1 hour ago

      I got it to work now. Thanks for the help anyways @diesieben07 and @DavidM
    • matieusz
      forge with optifine 1.13.2

      By matieusz · Posted 1 hour ago

      support added after?
    • diesieben07
      forge with optifine 1.13.2

      By diesieben07 · Posted 1 hour ago

      Optifine for 1.13.2 has not added Forge support yet.
  • Topics

    • WaningMatrix
      2
      [1.12] Better way to get UUID of a player?

      By WaningMatrix
      Started 4 hours ago

    • matieusz
      3
      forge with optifine 1.13.2

      By matieusz
      Started 1 hour ago

    • Nerdsjam
      4
      Mods are not working...

      By Nerdsjam
      Started Yesterday at 06:14 AM

    • DavidM
      6
      [1.13.2] Open GUI in Block#onBlockActivated

      By DavidM
      Started 3 hours ago

    • RedBullSlurpie
      3
      {1.13.2} Crops aren't dropping seeds, just the food ?

      By RedBullSlurpie
      Started 12 hours ago

  • Who's Online (See full list)

    • MX_wb
    • ZigTheHedge
    • Corey
    • d0048
    • ArisuOngaku
    • trexxet
    • Nuparu00
    • loordgek
    • derfl007
    • WaningMatrix
    • DavidM
    • V0idWa1k3r
    • T-Dark
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [UNSOLVED] Trying to set up environment - setupDecompWorkspace error
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community