-
Bug
-
Resolution: Invalid
-
Major
-
Windows 10, 64 bit.
Java 1.8
JAVA_HOME set to 1.8 JDK
M2_HOME unset
-
--
I cannot fetch versions 1.12 and below!
I was trying to get a 1.9 CraftBukkit build by running
java -jar BuildTools.jar --rev 1.9
in git bash.
Before doing so, I have erased all the contents of the folder where BuildTools was in.
I also tried a few different versions of BuildTools, but the error persists.
I have also tried other versions, like 1.11 or 1.10, but I get the same error every time.
What is strange is that 1.12.2 and 1.12.1 work perfectly fine.
This is my BuildTools log (I have also included it as a text file):
Niklas [email protected] Starting clone of https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to Bukkit Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to C:\Users\Niggi\Desktop\bt\Bukkit. Current HEAD: c1a0994aa668087b94784576ea9fb45505db9f1d Starting clone of https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git to CraftBukkit Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git to C:\Users\Niggi\Desktop\bt\CraftBukkit. Current HEAD: 8c37e2ebda99bfc27671c21b4cdd481d2ae7190a Starting clone of https://hub.spigotmc.org/stash/scm/spigot/spigot.git to Spigot Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/spigot.git to C:\Users\Niggi\Desktop\bt\Spigot. Current HEAD: 549c1fa536ddc0b877288e6d9252f02140e31d01 Starting clone of https://hub.spigotmc.org/stash/scm/spigot/builddata.git to BuildData Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/builddata.git to C:\Users\Niggi\Desktop\bt\BuildData. Current HEAD: a9c4523879abc011821f06283dd468c67c3b0097 Maven does not exist, downloading. Please wait. Starting download of https://static.spigotmc.org/maven/apache-maven-3.5.0-bin.zip Downloaded file: mvn.zip with md5: c062cb57ca81615cc16500af332b93bd Extracted: .\apache-maven-3.5.0\README.txt Extracted: .\apache-maven-3.5.0\lib\maven-compat.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-connector-basic.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-provider.license Extracted: .\apache-maven-3.5.0\lib\plexus-cipher.license Extracted: .\apache-maven-3.5.0\lib\wagon-provider-api.license Extracted: .\apache-maven-3.5.0\bin\mvn.cmd Extracted: .\apache-maven-3.5.0\lib\ext\README.txt Extracted: .\apache-maven-3.5.0\lib\commons-lang3-3.5.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-spi-1.0.3.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-impl-1.0.3.jar Extracted: .\apache-maven-3.5.0\lib\wagon-http-2.12-shaded.jar Extracted: .\apache-maven-3.5.0\LICENSE Extracted: .\apache-maven-3.5.0\lib\maven-embedder.license Extracted: .\apache-maven-3.5.0\lib\plexus-sec-dispatcher.license Extracted: .\apache-maven-3.5.0\lib\jansi-native\osx\libjansi.jnilib Extracted: .\apache-maven-3.5.0\bin\mvnyjp Extracted: .\apache-maven-3.5.0\lib\maven-settings-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\plexus-interpolation-1.24.jar Extracted: .\apache-maven-3.5.0\lib\maven-repository-metadata-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\javax.inject-1.jar Extracted: .\apache-maven-3.5.0\lib\org.eclipse.sisu.inject-0.3.3.jar Extracted: .\apache-maven-3.5.0\lib\maven-compat-3.5.0.jar Extracted: .\apache-maven-3.5.0\NOTICE Extracted: .\apache-maven-3.5.0\lib\maven-artifact.license Extracted: .\apache-maven-3.5.0\lib\maven-plugin-api.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-transport-wagon.license Extracted: .\apache-maven-3.5.0\lib\wagon-file.license Extracted: .\apache-maven-3.5.0\bin\m2.conf Extracted: .\apache-maven-3.5.0\conf\toolchains.xml Extracted: .\apache-maven-3.5.0\lib\maven-core-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\guice-4.0-no_aop.jar Extracted: .\apache-maven-3.5.0\lib\cdi-api.license Extracted: .\apache-maven-3.5.0\lib\maven-model-builder.license Extracted: .\apache-maven-3.5.0\lib\org.eclipse.sisu.inject.license Extracted: .\apache-maven-3.5.0\lib\org.eclipse.sisu.plexus.license Extracted: .\apache-maven-3.5.0\lib\wagon-http.license Extracted: .\apache-maven-3.5.0\bin\mvnDebug.cmd Extracted: .\apache-maven-3.5.0\lib\jansi-native\README.txt Extracted: .\apache-maven-3.5.0\lib\maven-settings-builder-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\plexus-sec-dispatcher-1.4.jar Extracted: .\apache-maven-3.5.0\lib\jsr250-api-1.0.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-provider-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\maven-shared-utils-3.1.0.jar Extracted: .\apache-maven-3.5.0\lib\aopalliance-1.0.jar Extracted: .\apache-maven-3.5.0\lib\slf4j-api-1.7.22.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-connector-basic-1.0.3.jar Extracted: .\apache-maven-3.5.0\lib\commons-cli.license Extracted: .\apache-maven-3.5.0\lib\maven-core.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-impl.license Extracted: .\apache-maven-3.5.0\lib\maven-slf4j-provider.license Extracted: .\apache-maven-3.5.0\lib\slf4j-api.license Extracted: .\apache-maven-3.5.0\lib\jansi-native\windows64\jansi.dll Extracted: .\apache-maven-3.5.0\bin\mvnDebug Extracted: .\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar Extracted: .\apache-maven-3.5.0\lib\maven-builder-support-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\cdi-api-1.0.jar Extracted: .\apache-maven-3.5.0\lib\guava-20.0.jar Extracted: .\apache-maven-3.5.0\lib\commons-io.license Extracted: .\apache-maven-3.5.0\lib\maven-builder-support.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-api.license Extracted: .\apache-maven-3.5.0\lib\maven-settings-builder.license Extracted: .\apache-maven-3.5.0\lib\maven-shared-utils.license Extracted: .\apache-maven-3.5.0\lib\plexus-utils.license Extracted: .\apache-maven-3.5.0\lib\jansi-native\windows32\jansi.dll Extracted: .\apache-maven-3.5.0\bin\mvn Extracted: .\apache-maven-3.5.0\lib\maven-embedder-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\plexus-component-annotations-1.7.1.jar Extracted: .\apache-maven-3.5.0\lib\maven-artifact-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-api-1.0.3.jar Extracted: .\apache-maven-3.5.0\lib\commons-cli-1.4.jar Extracted: .\apache-maven-3.5.0\lib\jansi-1.13.jar Extracted: .\apache-maven-3.5.0\lib\commons-lang3.license Extracted: .\apache-maven-3.5.0\lib\maven-model.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-spi.license Extracted: .\apache-maven-3.5.0\lib\maven-resolver-util.license Extracted: .\apache-maven-3.5.0\lib\plexus-component-annotations.license Extracted: .\apache-maven-3.5.0\lib\jansi-native\linux32\libjansi.so Extracted: .\apache-maven-3.5.0\conf\logging\simplelogger.properties Extracted: .\apache-maven-3.5.0\lib\plexus-utils-3.0.24.jar Extracted: .\apache-maven-3.5.0\lib\org.eclipse.sisu.plexus-0.3.3.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-util-1.0.3.jar Extracted: .\apache-maven-3.5.0\lib\wagon-provider-api-2.12.jar Extracted: .\apache-maven-3.5.0\lib\maven-slf4j-provider-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\jcl-over-slf4j.license Extracted: .\apache-maven-3.5.0\lib\jsr250-api.license Extracted: .\apache-maven-3.5.0\lib\maven-repository-metadata.license Extracted: .\apache-maven-3.5.0\lib\maven-settings.license Extracted: .\apache-maven-3.5.0\lib\plexus-interpolation.license Extracted: .\apache-maven-3.5.0\lib\jansi-native\linux64\libjansi.so Extracted: .\apache-maven-3.5.0\conf\settings.xml Extracted: .\apache-maven-3.5.0\lib\maven-model-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\plexus-cipher-1.7.jar Extracted: .\apache-maven-3.5.0\lib\maven-plugin-api-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\maven-model-builder-3.5.0.jar Extracted: .\apache-maven-3.5.0\lib\commons-io-2.5.jar Extracted: .\apache-maven-3.5.0\lib\jcl-over-slf4j-1.7.22.jar Extracted: .\apache-maven-3.5.0\lib\wagon-file-2.12.jar Extracted: .\apache-maven-3.5.0\lib\maven-resolver-transport-wagon-1.0.3.jar Attempting to build version: '1.11' use --rev <version> to override Found version { "name": "1110", "description": "Jenkins build 1110", "refs": { "BuildData": "77931c01e72ff84c004a310b121a72b52f0efdd5", "Bukkit": "55fa63e8b9c8f5f315f3d631fad2096a008074df", "CraftBukkit": "c8ff65136f23a3c2770b8d9ca508f61927f8acba", "Spigot": "6f7aabf0f73188de2433ec4570412235772f8fba" }, "toolsVersion": 47 } Pulling updates for C:\Users\Niggi\Desktop\bt\BuildData\.git Successfully fetched updates! Checked out: 77931c01e72ff84c004a310b121a72b52f0efdd5 Pulling updates for C:\Users\Niggi\Desktop\bt\Bukkit\.git Successfully fetched updates! Checked out: 55fa63e8b9c8f5f315f3d631fad2096a008074df Pulling updates for C:\Users\Niggi\Desktop\bt\CraftBukkit\.git Successfully fetched updates! Checked out: c8ff65136f23a3c2770b8d9ca508f61927f8acba Pulling updates for C:\Users\Niggi\Desktop\bt\Spigot\.git Successfully fetched updates! Checked out: 6f7aabf0f73188de2433ec4570412235772f8fba Attempting to build Minecraft with details: VersionInfo(minecraftVersion=1.11, accessTransforms=bukkit-1.11.at, classMappings=bukkit-1.11-cl.csrg, memberMappings=bukkit-1.11-members.csrg, packageMappings=package.srg, minecraftHash=77af7daf2793bf4be81edb623db7cbf3, decompileCommand=java -jar BuildData/bin/fernflower.jar -dgs=1 -hdc=0 -asc=1 -udv=0 {0} {1}, serverUrl=null) Starting download of https://s3.amazonaws.com/Minecraft.Download/versions/1.11/minecraft_server.1.11.jar Downloaded file: work\minecraft_server.1.11.jar with md5: 77af7daf2793bf4be81edb623db7cbf3 Found good Minecraft hash (77af7daf2793bf4be81edb623db7cbf3) Final mapped jar: work\mapped.f23dd046.jar does not exist, creating! Exception in thread "main" java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:436) at net.md_5.ss.repo.RuntimeRepo.getClass0(RuntimeRepo.java:25) at net.md_5.ss.repo.ClassRepo.getClass(ClassRepo.java:22) at net.md_5.ss.repo.AggregateRepo.getClass0(AggregateRepo.java:30) at net.md_5.ss.repo.ClassRepo.getClass(ClassRepo.java:22) at net.md_5.ss.model.ClassInfo$1.apply(ClassInfo.java:97) at net.md_5.ss.model.ClassInfo$1.apply(ClassInfo.java:92) at com.google.common.collect.Iterators$8.transform(Iterators.java:817) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:674) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at net.md_5.ss.remapper.EnhancedRemapper.findFieldDeclarer(EnhancedRemapper.java:45) at net.md_5.ss.remapper.EnhancedRemapper.mapFieldName(EnhancedRemapper.java:127) at net.md_5.ss.remapper.ClassRemapper.visitField(ClassRemapper.java:71) at org.objectweb.asm.ClassReader.readField(ClassReader.java:768) at org.objectweb.asm.ClassReader.accept(ClassReader.java:689) at org.objectweb.asm.ClassReader.accept(ClassReader.java:506) at net.md_5.ss.model.ClassInfo.remap(ClassInfo.java:120) at net.md_5.ss.SpecialSource.map(SpecialSource.java:96) at net.md_5.ss.SpecialSource.main(SpecialSource.java:44) Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [java, -jar, BuildData/bin/SpecialSource-2.jar, map, -i, work\minecraft_server.1.11.jar, -m, BuildData/mappings/bukkit-1.11-cl.csrg, -o, work\mapped.f23dd046.jar-cl] at org.spigotmc.builder.Builder.runProcess(Builder.java:560) at org.spigotmc.builder.Builder.main(Builder.java:313) at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:23)