Jump to content

Forge 3.2.3.108 + MCP: Error during server recompile in ModLoader.java


Recommended Posts

Posted

I'm getting an error during server recompile in ModLoader.java.  I followed the instructions in the readme.txt: I'm using a fresh client jar with only modloader installed and I haven't modified minecraft-server.jar at all.  I made sure that I'm using MCP 6.2 for MC 1.2.5.

 

Here is the output from install.cmd:

 

=================================== Minecraft Forge Setup Start ================

=================

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

# found jad, ff, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs

, param csvs, astyle, astyle config

> Creating Retroguard config files

!! Modified jar detected. Unpredictable results !!

== Decompiling client using fernflower ==

> Creating SRGs

> Applying Retroguard

> Applying MCInjector

> Unpacking jar

> Copying classes

> Decompiling

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 150.66 seconds

== Reformating client ==

> Cleaning sources

> Replacing OpenGL constants

> Reformating sources

- Done in 11.39 seconds

!! renaming disabled !!

== Decompiling server using fernflower ==

> Creating SRGs

> Applying Retroguard

> Applying MCInjector

> Unpacking jar

> Copying classes

> Decompiling

> Copying sources

> Applying fernflower fixes

> Applying patches

> Cleaning comments

- Done in 96.88 seconds

== Reformating server ==

> Cleaning sources

> Reformating sources

- Done in 7.47 seconds

!! renaming disabled !!

!! recompile disabled !!

Applying Forge ModLoader patches

patching file minecraft_server/net/minecraft/server/MinecraftServer.java

patching file minecraft_server/net/minecraft/src/BlockDispenser.java

patching file minecraft_server/net/minecraft/src/ChunkProviderServer.java

patching file minecraft_server/net/minecraft/src/ConsoleCommandHandler.java

patching file minecraft_server/net/minecraft/src/Entity.java

patching file minecraft_server/net/minecraft/src/EntityItem.java

patching file minecraft_server/net/minecraft/src/EntityList.java

patching file minecraft_server/net/minecraft/src/NetLoginHandler.java

patching file minecraft_server/net/minecraft/src/NetServerHandler.java

patching file minecraft_server/net/minecraft/src/ServerConfigurationManager.java

 

patching file minecraft_server/net/minecraft/src/ServerGUI.java

patching file minecraft_server/net/minecraft/src/SlotCrafting.java

patching file minecraft_server/net/minecraft/src/SlotFurnace.java

patching file minecraft_server/net/minecraft/src/TileEntity.java

patching file minecraft_server/net/minecraft/src/TileEntityFurnace.java

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 23.10 seconds

== Updating server ==

> Adding javadoc

> Renaming sources

- Done in 12.61 seconds

Applying forge patches

patching file minecraft/net/minecraft/client/Minecraft.java

patching file minecraft/net/minecraft/src/AnvilChunkLoader.java

patching file minecraft/net/minecraft/src/AnvilSaveHandler.java

patching file minecraft/net/minecraft/src/Block.java

patching file minecraft/net/minecraft/src/BlockButton.java

patching file minecraft/net/minecraft/src/BlockChest.java

patching file minecraft/net/minecraft/src/BlockContainer.java

patching file minecraft/net/minecraft/src/BlockCrops.java

patching file minecraft/net/minecraft/src/BlockDoor.java

patching file minecraft/net/minecraft/src/BlockFire.java

patching file minecraft/net/minecraft/src/BlockLadder.java

patching file minecraft/net/minecraft/src/BlockLeaves.java

patching file minecraft/net/minecraft/src/BlockLever.java

patching file minecraft/net/minecraft/src/BlockNetherStalk.java

patching file minecraft/net/minecraft/src/BlockPistonBase.java

patching file minecraft/net/minecraft/src/BlockPressurePlate.java

patching file minecraft/net/minecraft/src/BlockRail.java

patching file minecraft/net/minecraft/src/BlockRedstoneRepeater.java

patching file minecraft/net/minecraft/src/BlockRedstoneWire.java

patching file minecraft/net/minecraft/src/BlockSnow.java

patching file minecraft/net/minecraft/src/BlockTallGrass.java

patching file minecraft/net/minecraft/src/BlockTorch.java

patching file minecraft/net/minecraft/src/BlockTrapDoor.java

patching file minecraft/net/minecraft/src/BlockVine.java

patching file minecraft/net/minecraft/src/Chunk.java

patching file minecraft/net/minecraft/src/ChunkProvider.java

patching file minecraft/net/minecraft/src/ContainerCreative.java

patching file minecraft/net/minecraft/src/ContainerFurnace.java

patching file minecraft/net/minecraft/src/CraftingManager.java

patching file minecraft/net/minecraft/src/EffectRenderer.java

patching file minecraft/net/minecraft/src/Enchantment.java

patching file minecraft/net/minecraft/src/EnchantmentHelper.java

patching file minecraft/net/minecraft/src/Entity.java

patching file minecraft/net/minecraft/src/EntityItem.java

patching file minecraft/net/minecraft/src/EntityLiving.java

patching file minecraft/net/minecraft/src/EntityMinecart.java

patching file minecraft/net/minecraft/src/EntityMooshroom.java

patching file minecraft/net/minecraft/src/EntityPlayer.java

patching file minecraft/net/minecraft/src/EntityRenderer.java

patching file minecraft/net/minecraft/src/EntitySheep.java

patching file minecraft/net/minecraft/src/Explosion.java

patching file minecraft/net/minecraft/src/FurnaceRecipes.java

patching file minecraft/net/minecraft/src/GuiAchievements.java

patching file minecraft/net/minecraft/src/GuiControls.java

patching file minecraft/net/minecraft/src/GuiIngame.java

patching file minecraft/net/minecraft/src/Item.java

patching file minecraft/net/minecraft/src/ItemBlock.java

patching file minecraft/net/minecraft/src/ItemBow.java

patching file minecraft/net/minecraft/src/ItemBucket.java

patching file minecraft/net/minecraft/src/ItemDye.java

patching file minecraft/net/minecraft/src/ItemHoe.java

patching file minecraft/net/minecraft/src/ItemRenderer.java

patching file minecraft/net/minecraft/src/ItemShears.java

patching file minecraft/net/minecraft/src/ItemTool.java

patching file minecraft/net/minecraft/src/MovingObjectPosition.java

patching file minecraft/net/minecraft/src/NetClientHandler.java

patching file minecraft/net/minecraft/src/NetworkManager.java

patching file minecraft/net/minecraft/src/PlayerController.java

patching file minecraft/net/minecraft/src/PlayerControllerCreative.java

patching file minecraft/net/minecraft/src/PlayerControllerMP.java

patching file minecraft/net/minecraft/src/PlayerControllerSP.java

patching file minecraft/net/minecraft/src/RailLogic.java

patching file minecraft/net/minecraft/src/RenderBiped.java

patching file minecraft/net/minecraft/src/RenderBlocks.java

patching file minecraft/net/minecraft/src/RenderEngine.java

patching file minecraft/net/minecraft/src/RenderGlobal.java

patching file minecraft/net/minecraft/src/RenderItem.java

patching file minecraft/net/minecraft/src/RenderManager.java

patching file minecraft/net/minecraft/src/RenderPlayer.java

patching file minecraft/net/minecraft/src/RenderSnowMan.java

patching file minecraft/net/minecraft/src/SlotCrafting.java

patching file minecraft/net/minecraft/src/SoundManager.java

patching file minecraft/net/minecraft/src/SoundPool.java

patching file minecraft/net/minecraft/src/SpawnerAnimals.java

patching file minecraft/net/minecraft/src/Tessellator.java

patching file minecraft/net/minecraft/src/TileEntity.java

patching file minecraft/net/minecraft/src/TileEntityBrewingStand.java

patching file minecraft/net/minecraft/src/TileEntityFurnace.java

patching file minecraft/net/minecraft/src/TileEntityRendererPiston.java

patching file minecraft/net/minecraft/src/World.java

patching file minecraft/net/minecraft/src/WorldGenDungeons.java

patching file minecraft/net/minecraft/src/WorldProvider.java

patching file minecraft/net/minecraft/src/WorldProviderEnd.java

patching file minecraft/net/minecraft/src/WorldProviderHell.java

patching file minecraft/net/minecraft/src/WorldProviderSurface.java

patching file minecraft/net/minecraft/src/WorldRenderer.java

patching file minecraft_server/net/minecraft/server/MinecraftServer.java

patching file minecraft_server/net/minecraft/src/AnvilChunkLoader.java

patching file minecraft_server/net/minecraft/src/AnvilSaveHandler.java

patching file minecraft_server/net/minecraft/src/Block.java

patching file minecraft_server/net/minecraft/src/BlockButton.java

patching file minecraft_server/net/minecraft/src/BlockChest.java

patching file minecraft_server/net/minecraft/src/BlockContainer.java

patching file minecraft_server/net/minecraft/src/BlockCrops.java

patching file minecraft_server/net/minecraft/src/BlockDoor.java

patching file minecraft_server/net/minecraft/src/BlockFire.java

patching file minecraft_server/net/minecraft/src/BlockLadder.java

patching file minecraft_server/net/minecraft/src/BlockLeaves.java

patching file minecraft_server/net/minecraft/src/BlockLever.java

patching file minecraft_server/net/minecraft/src/BlockNetherStalk.java

patching file minecraft_server/net/minecraft/src/BlockPistonBase.java

patching file minecraft_server/net/minecraft/src/BlockPressurePlate.java

patching file minecraft_server/net/minecraft/src/BlockRail.java

patching file minecraft_server/net/minecraft/src/BlockRedstoneRepeater.java

patching file minecraft_server/net/minecraft/src/BlockRedstoneWire.java

patching file minecraft_server/net/minecraft/src/BlockSnow.java

patching file minecraft_server/net/minecraft/src/BlockTallGrass.java

patching file minecraft_server/net/minecraft/src/BlockTorch.java

patching file minecraft_server/net/minecraft/src/BlockTrapDoor.java

patching file minecraft_server/net/minecraft/src/BlockVine.java

patching file minecraft_server/net/minecraft/src/Chunk.java

patching file minecraft_server/net/minecraft/src/ChunkProvider.java

patching file minecraft_server/net/minecraft/src/ChunkProviderServer.java

patching file minecraft_server/net/minecraft/src/ConsoleCommandHandler.java

patching file minecraft_server/net/minecraft/src/ContainerFurnace.java

patching file minecraft_server/net/minecraft/src/CraftingManager.java

patching file minecraft_server/net/minecraft/src/Enchantment.java

patching file minecraft_server/net/minecraft/src/EnchantmentHelper.java

patching file minecraft_server/net/minecraft/src/Entity.java

patching file minecraft_server/net/minecraft/src/EntityItem.java

patching file minecraft_server/net/minecraft/src/EntityLiving.java

patching file minecraft_server/net/minecraft/src/EntityMinecart.java

patching file minecraft_server/net/minecraft/src/EntityMooshroom.java

patching file minecraft_server/net/minecraft/src/EntityPlayer.java

patching file minecraft_server/net/minecraft/src/EntityPlayerMP.java

patching file minecraft_server/net/minecraft/src/EntitySheep.java

patching file minecraft_server/net/minecraft/src/EntityTracker.java

patching file minecraft_server/net/minecraft/src/EntityTrackerEntry.java

patching file minecraft_server/net/minecraft/src/Explosion.java

patching file minecraft_server/net/minecraft/src/FurnaceRecipes.java

patching file minecraft_server/net/minecraft/src/GuiStatsComponent.java

patching file minecraft_server/net/minecraft/src/Item.java

patching file minecraft_server/net/minecraft/src/ItemBow.java

patching file minecraft_server/net/minecraft/src/ItemBucket.java

patching file minecraft_server/net/minecraft/src/ItemDye.java

patching file minecraft_server/net/minecraft/src/ItemHoe.java

patching file minecraft_server/net/minecraft/src/ItemInWorldManager.java

patching file minecraft_server/net/minecraft/src/ItemShears.java

patching file minecraft_server/net/minecraft/src/ItemTool.java

patching file minecraft_server/net/minecraft/src/MovingObjectPosition.java

patching file minecraft_server/net/minecraft/src/NetLoginHandler.java

patching file minecraft_server/net/minecraft/src/NetServerHandler.java

patching file minecraft_server/net/minecraft/src/NetworkManager.java

patching file minecraft_server/net/minecraft/src/RailLogic.java

patching file minecraft_server/net/minecraft/src/ServerConfigurationManager.java

 

patching file minecraft_server/net/minecraft/src/SlotCrafting.java

patching file minecraft_server/net/minecraft/src/SpawnerAnimals.java

patching file minecraft_server/net/minecraft/src/TileEntity.java

patching file minecraft_server/net/minecraft/src/TileEntityBrewingStand.java

patching file minecraft_server/net/minecraft/src/TileEntityFurnace.java

patching file minecraft_server/net/minecraft/src/World.java

patching file minecraft_server/net/minecraft/src/WorldGenDungeons.java

patching file minecraft_server/net/minecraft/src/WorldProvider.java

patching file minecraft_server/net/minecraft/src/WorldProviderEnd.java

patching file minecraft_server/net/minecraft/src/WorldProviderHell.java

patching file minecraft_server/net/minecraft/src/WorldProviderSurface.java

patching file minecraft_server/net/minecraft/src/WorldServer.java

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating MCP ==

No new updates found.

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Updating client ==

> Adding javadoc

> Renaming sources

- Done in 24.52 seconds

== Updating server ==

> Adding javadoc

> Renaming sources

- Done in 10.94 seconds

== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==

== Recompiling client ==

> Cleaning bin

> Recompiling

- Done in 16.08 seconds

> Generating client md5s

== Recompiling server ==

> Cleaning bin

> Recompiling

'"C:\Program Files\Java\jdk1.6.0_19\bin\javac" -Xlint:-options -deprecation -g -

source 1.6 -target 1....' failed : 1

 

== ERRORS FOUND ==

 

src\minecraft_server\net\minecraft\src\ModLoader.java:328: type parameters of <T

>T cannot be determined; no unique maximal instance exists for type variable T w

ith upper bounds T,java.lang.Object

        return ReflectionHelper.getPrivateValue(instanceclass, instance, fieldin

dex);

                                              ^

 

src\minecraft_server\net\minecraft\src\ModLoader.java:341: type parameters of <T

>T cannot be determined; no unique maximal instance exists for type variable T w

ith upper bounds T,java.lang.Object

        return ReflectionHelper.getPrivateValue(instanceclass, instance, field);

 

                                              ^

 

2 errors

==================

 

Server recompile failed, correct source then rerun updatemd5

=================================== Minecraft Forge Setup Finished =============

====================

Press any key to continue . . .

 

Posted

anything that is above 1.6_31, 31 has a bug that causes this issue.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Im trying to build my mod using shade since i use the luaj library however i keep getting this error Reason: Task ':reobfJar' uses this output of task ':shadowJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. So i try adding reobfJar.dependsOn shadowJar  Could not get unknown property 'reobfJar' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. my gradle file plugins { id 'eclipse' id 'idea' id 'maven-publish' id 'net.minecraftforge.gradle' version '[6.0,6.2)' id 'com.github.johnrengelman.shadow' version '7.1.2' id 'org.spongepowered.mixin' version '0.7.+' } apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' apply plugin: 'com.github.johnrengelman.shadow' version = mod_version group = mod_group_id base { archivesName = mod_id } // Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. java.toolchain.languageVersion = JavaLanguageVersion.of(17) //jarJar.enable() println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}" minecraft { mappings channel: mapping_channel, version: mapping_version copyIdeResources = true runs { configureEach { workingDirectory project.file('run') property 'forge.logging.markers', 'REGISTRIES' property 'forge.logging.console.level', 'debug' arg "-mixin.config=derp.mixin.json" mods { "${mod_id}" { source sourceSets.main } } } client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id } server { property 'forge.enabledGameTestNamespaces', mod_id args '--nogui' } gameTestServer { property 'forge.enabledGameTestNamespaces', mod_id } data { workingDirectory project.file('run-data') args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') } } } sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { flatDir { dirs './libs' } maven { url = "https://jitpack.io" } } configurations { shade implementation.extendsFrom shade } dependencies { minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" implementation 'org.luaj:luaj-jse-3.0.2' implementation fg.deobf("com.github.Virtuoel:Pehkui:${pehkui_version}") annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' minecraftLibrary 'luaj:luaj-jse:3.0.2' shade 'luaj:luaj-jse:3.0.2' } // Example for how to get properties into the manifest for reading at runtime. tasks.named('jar', Jar).configure { manifest { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, 'Specification-Version' : '1', // We are version 1 of ourselves 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, 'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", "TweakOrder" : 0, "MixinConfigs" : "derp.mixin.json" ]) } rename 'mixin.refmap.json', 'derp.mixin-refmap.json' } shadowJar { archiveClassifier = '' configurations = [project.configurations.shade] finalizedBy 'reobfShadowJar' } assemble.dependsOn shadowJar reobf { re shadowJar {} } publishing { publications { mavenJava(MavenPublication) { artifact jar } } repositories { maven { url "file://${project.projectDir}/mcmodsrepo" } } }  
    • All versions of Minecraft Forge suddenly black screen even without mods (tried reinstalling original Minecraft, Java, updating drivers doesn't work)
    • When i join minecraft all ok, when i join world all working fine, but when i open indentity menu, i get this The game crashed whilst unexpected error Error: java.lang.NullPointerException: Cannot invoke "top.ribs.scguns.common.Gun$Projectile.getDamage()" because "this.projectile" is null crash report here https://paste.ee/p/0vKaf
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.