Posted March 25, 201411 yr Hi guys I am having and issue with the command 'gradew setupDecompWorkspace' I have tried this on multiple computers, PC and Mac, and I am still getting the same issue. I have no idea why either. Any help would be appreciated. **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn MCP Data version : unknown **************************** :extractUserDev :getAssetsIndex :getAssets :copyAssets :extractNatives :genSrgs UP-TO-DATE :downloadMcpTools UP-TO-DATE :downloadClient SKIPPED :downloadServer SKIPPED :mergeJars SKIPPED :deobfuscateJar Applying SpecialSource... Applying Exceptor... Injecting source info... :decompile :doFmlPatchesPatching failed: net/minecraft/client/gui/GuiIngame.java Cannot find hunk target 2: Cannot find hunk target @ 0 1/2 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\fmlpatches.zip_bjh7akumkkh12c91hrqumojdr\net\minecraft\client\gui\GuiIngame.java.patch.rej Patching failed: net/minecraft/entity/player/EntityPlayer.java Cannot find hunk target 4: Cannot find hunk target @ 0 1/4 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\fmlpatches.zip_bjh7akumkkh12c91hrqumojdr\net\minecraft\entity\player\EntityPlayer.java.patch.rej :addFmlSources :remapJar :doForgePatchesPatching failed: net/minecraft/client/gui/achievement/GuiAchievements.java Cannot find hunk target 6: Cannot find hunk target @ 0 7: Cannot find hunk target @ 0 2/7 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\gui\achievement\GuiAchievements.java.patch.rej Patching failed: net/minecraft/client/renderer/ItemRenderer.java Cannot find hunk target 5: Cannot find hunk target @ 0 7: Cannot find hunk target @ 0 2/7 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\ItemRenderer.java.patch.rej Patching failed: net/minecraft/client/renderer/RenderBlocks.java Cannot find hunk target 5: Cannot find hunk target @ 0 1/11 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\RenderBlocks.java.patch.rej Patching failed: net/minecraft/client/renderer/RenderGlobal.java Cannot find hunk target 4: Cannot find hunk target @ 0 1/10 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\RenderGlobal.java.patch.rej Patching failed: net/minecraft/client/renderer/entity/RenderItem.java Cannot find hunk target 4: Cannot find hunk target @ 0 14: Cannot find hunk target @ 0 2/18 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\client\renderer\entity\RenderItem.java.patch.rej Patching failed: net/minecraft/entity/player/EntityPlayer.java Cannot find hunk target 37: Cannot find hunk target @ 0 1/37 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\entity\player\EntityPlayer.java.patch.rej Patching failed: net/minecraft/inventory/ContainerBrewingStand.java Cannot find hunk target 3: Cannot find hunk target @ 0 1/3 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\inventory\ContainerBrewingStand.java.patch.rej Patching failed: net/minecraft/world/gen/feature/WorldGenDungeons.java Cannot find hunk target 2: Cannot find hunk target @ 0 1/3 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\world\gen\feature\WorldGenDungeons.java.patch.rej Patching failed: net/minecraft/world/gen/feature/WorldGenSwamp.java Cannot find hunk target 3: Cannot find hunk target @ 0 1/7 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\world\gen\feature\WorldGenSwamp.java.patch.rej Patching failed: net/minecraft/world/gen/structure/StructureVillagePieces.java Cannot find hunk target 7: Cannot find hunk target @ 0 8: Cannot find hunk target @ 0 9: Cannot find hunk target @ 0 3/9 failed Rejects written to C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\expandedArchives\forgepatches.zip_6vp0dsutg5p1795v38lpgl539p\net\minecraft\world\gen\structure\StructureVillagePieces.java.patch.rej :addForgeJavadoc :extractForgeSrc :recompForgewarning: [options] bootstrap class path not set in conjunction with -source 1.6 C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol this.eyeHeight = this.getDefaultEyeHeight(); ^ symbol: variable eyeHeight C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol this.eyeHeight = this.getDefaultEyeHeight(); ^ symbol: method getDefaultEyeHeight() C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1116: error: cannot find symbol return eyeHeight; ^ symbol: variable eyeHeight location: class EntityPlayer C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPlayer cannot be applied to given types; return getBedLocation(this.dimension); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlayer cannot be applied to given types; return isSpawnForced(this.dimension); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlayer cannot be applied to given types; setSpawnChunk(par1ChunkCoordinates, par2, this.dimension); ^ required: ChunkCoordinates,boolean found: ChunkCoordinates,boolean,int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:2442: error: cannot find symbol ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerTeam.formatPlayerName(this.getTeam(), this.getDisplayName())); ^ symbol: method getDisplayName() C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\item\Item.java:790: error: cannot find symbol double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2EntityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getEyeHeight()); // isRemote check to revert changes to ray trace position due to adding the eye height clientside and player yOffset differences ^ symbol: method getDefaultEyeHeight() location: variable par2EntityPlayer of type EntityPlayer C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBlockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_); ^ symbol: variable biome location: variable startPiece of type Start C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillageBlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_); ^ symbol: variable biome location: variable startPiece of type Start C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:435: error: method getBedLocation in class EntityPlayer cannot be applied to given types; ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(par2); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:436: error: method isSpawnForced in class EntityPlayer cannot be applied to given types; boolean flag1 = par1EntityPlayerMP.isSpawnForced(par2); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayerMP.java:1176: error: method does not override or implement a method from a supertype @Override ^ C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\cpw\mods\fml\common\network\internal\OpenGuiHandler.java:16: error: cannot find symbol player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z); ^ symbol: method openGui(String,int,World,int,int,int) location: variable player of type EntityPlayer C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\client\entity\EntityOtherPlayerMP.java:174: error: method does not override or implement a method from a supertype @Override ^ C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraftforge\common\util\FakePlayer.java:33: error: method does not override or implement a method from a supertype @Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){} ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 16 errors 1 warning FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':recompForge'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 2 mins 34.937 secs
March 25, 201411 yr I am having the same problem. Out of curiosity, what JDK version do you have installed?
March 25, 201411 yr If you are using java 8, try completely uninstalling it and installing JDK 7 (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) Also, Make sure your PATH is correct. And restart after uninstalling java.
March 26, 201411 yr Author I have removed 8 and installed what you suggested. I am still getting the same error. Please help meeee
March 26, 201411 yr Author **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn MCP Data version : unknown **************************** :extractUserDev :getAssetsIndex :getAssets :copyAssets :extractNatives :genSrgs UP-TO-DATE :downloadMcpTools UP-TO-DATE :downloadClient SKIPPED :downloadServer SKIPPED :mergeJars SKIPPED :deobfuscateJar UP-TO-DATE :decompile SKIPPED :doFmlPatches SKIPPED :addFmlSources SKIPPED :remapJar SKIPPED :doForgePatches SKIPPED :addForgeJavadoc SKIPPED :extractForgeSrc :recompForgewarning: [options] bootstrap class path not set in conjunction with -source 1.6 C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol this.eyeHeight = this.getDefaultEyeHeight(); ^ symbol: variable eyeHeight C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:208: error: cannot find symbol this.eyeHeight = this.getDefaultEyeHeight(); ^ symbol: method getDefaultEyeHeight() C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1116: error: cannot find symbol return eyeHeight; ^ symbol: variable eyeHeight location: class EntityPlayer C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1806: error: method getBedLocation in class EntityPlayer cannot be applied to given types; return getBedLocation(this.dimension); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1812: error: method isSpawnForced in class EntityPlayer cannot be applied to given types; return isSpawnForced(this.dimension); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:1822: error: method setSpawnChunk in class EntityPlayer cannot be applied to given types; setSpawnChunk(par1ChunkCoordinates, par2, this.dimension); ^ required: ChunkCoordinates,boolean found: ChunkCoordinates,boolean,int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayer.java:2442: error: cannot find symbol ChatComponentText chatcomponenttext = new ChatComponentText(ScorePlayerTeam.formatPlayerName(this.getTeam(), this.getDisplayName())); ^ symbol: method getDisplayName() C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\item\Item.java:790: error: cannot find symbol double d1 = par2EntityPlayer.prevPosY + (par2EntityPlayer.posY - par2EntityPlayer.prevPosY) * (double)f + (double)(par1World.isRemote ? par2EntityPlayer.getEyeHeight() - par2EntityPlayer.getDefaultEyeHeight() : par2EntityPlayer.getEyeHeight()); // isRemote check to revert changes to ray trace position due to adding the eye height clientside and player yOffset differences ^ symbol: method getDefaultEyeHeight() location: variable par2EntityPlayer of type EntityPlayer C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1942: error: cannot find symbol BiomeEvent.GetVillageBlockID event = new BiomeEvent.GetVillageBlockID(startPiece == null ? null : startPiece.biome, p_151558_1_, p_151558_2_); ^ symbol: variable biome location: variable startPiece of type Start C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\world\gen\structure\StructureVillagePieces.java:1983: error: cannot find symbol BiomeEvent.GetVillageBlockMeta event = new BiomeEvent.GetVillageBlockMeta(startPiece == null ? null : startPiece.biome, p_151557_1_, p_151557_2_); ^ symbol: variable biome location: variable startPiece of type Start C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:437: error: method getBedLocation in class EntityPlayer cannot be applied to given types; ChunkCoordinates chunkcoordinates = par1EntityPlayerMP.getBedLocation(par2); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\server\management\ServerConfigurationManager.java:438: error: method isSpawnForced in class EntityPlayer cannot be applied to given types; boolean flag1 = par1EntityPlayerMP.isSpawnForced(par2); ^ required: no arguments found: int reason: actual and formal argument lists differ in length C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\entity\player\EntityPlayerMP.java:1176: error: method does not override or implement a method from a supertype @Override ^ C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\cpw\mods\fml\common\network\internal\OpenGuiHandler.java:16: error: cannot find symbol player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z); ^ symbol: method openGui(String,int,World,int,int,int) location: variable player of type EntityPlayer C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraft\client\entity\EntityOtherPlayerMP.java:174: error: method does not override or implement a method from a supertype @Override ^ C:\Users\Studio Apples\Desktop\Minecraft Mod\build\tmp\recompSrc\net\minecraftforge\common\util\FakePlayer.java:33: error: method does not override or implement a method from a supertype @Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){} ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 16 errors 1 warning FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':recompForge'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1 mins 30.935 secs
March 26, 201411 yr Delete everything in C:\Users\Studio Apples\Desktop\Minecraft Mod\ Then re-decompile Hope this helped. -bdkuhman
March 26, 201411 yr Author Ok. I can try. But my mod is saved in that folder as suggested by many tutorials I have watched. I also seem to be unable to export or save / move my project.
March 26, 201411 yr You can copy the src folder somewhere else before you delete everything and replace it after you decompile if you need to
March 28, 201411 yr I had the exact same problem, and it was fixed by switching from Java 8 back to Java 7_51.
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.