Execution failed for task ':reobfJar'.

Started by Fyodor on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:06, 17. Feb 2019
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Execution failed for task ':reobfJar'.

Executing gradle command: clean build
Microsoft Windows [Version 6.3.9600]
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation), 2013. ‚ᥠЇа ў  § йЁйҐ­л.
C:\Pylo\MCreator165>cd forge
C:\Pylo\MCreator165\forge>SET "JAVA_HOME=C:\Pylo\MCreator165\jdk64\"
C:\Pylo\MCreator165\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator165\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator165\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator165\forge>gradlew clean build
This mapping 'stable_20' was designed for MC 1.8.8! Use at your own peril.
#################################################
         ForgeGradle 2.1-SNAPSHOT-9e8f067        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:sourceTestJava
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:getVersionJson
:extractUserdev UP-TO-DATE
:genSrgs SKIPPED
:reobfJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':reobfJar'.
> MALFORMED
* Try:
BUILD FAILED
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 13.862 secs
C:\Pylo\MCreator165\forge>
Task completed with return code 0 in 14459 milliseconds

 

Last seen on 21:10, 8. Nov 2019
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've had this problem and
Wed, 03/23/2016 - 11:12

I've had this problem and managed to fix reinstalling MCreator. It's just you delete the "Pylo" folder and install MCreator with setup :)

Last seen on 15:22, 21. Jun 2016
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it does not work
Fri, 04/22/2016 - 19:12

it does not work

Last seen on 12:45, 24. Aug 2017
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:I've had this problem and
Sun, 10/30/2016 - 14:41

@#1 There is nothing in the folders

Last seen on 12:45, 24. Aug 2017
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:I've had this problem and
Sun, 10/30/2016 - 14:48

@#1.1 whoops wrong comment

You need to reinstall
Sun, 10/30/2016 - 16:52

You need to reinstall MCreator and avoid using invalid names in MCreator including files you import from your computer. Valid names are those which only contain EN alphabet characters and numbers. This only happens with MCreators under 1.7.0 as from this verison, the bug was fixed.

Last seen on 16:00, 20. Dec 2020
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task: build…
Sun, 12/20/2020 - 11:59

Executing Gradle task: build
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 2011 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :jar UP-TO-DATE
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createMcpToSrg UP-TO-DATE
> Task :reobfJar
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at org.objectweb.asm.ClassReader.readStringish(ClassReader.java:3407)
at org.objectweb.asm.ClassReader.readClass(ClassReader.java:3421)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:385)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:355)
at net.md_5.specialsource.JarRemapper.remapClassFile(JarRemapper.java:239)
at net.md_5.specialsource.JarRemapper.remapClassFile(JarRemapper.java:221)
at net.md_5.specialsource.JarRemapper.remapJar(JarRemapper.java:187)
at net.md_5.specialsource.SpecialSource.main(SpecialSource.java:273)
> Task :reobfJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':reobfJar'.
> Process 'command 'C:\Program Files\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 3m 56s
7 actionable tasks: 2 executed, 5 up-to-date
BUILD FAILED
Task completed in 430926 milliseconds

please help me

Last seen on 16:00, 20. Dec 2020
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help me  what is the…
Sun, 12/20/2020 - 12:21

help me 

what is the solution