Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when starting world #78

Closed
CebbyS opened this issue Aug 2, 2021 · 2 comments
Closed

Issue when starting world #78

CebbyS opened this issue Aug 2, 2021 · 2 comments

Comments

@CebbyS
Copy link

CebbyS commented Aug 2, 2021

[Render thread/FATAL] (mixin) Mixin apply failed:
indium.mixins.json:sodium.MixinChunkRenderRebuildTask ->
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask:

InvalidInjectionException: Error whilst instancing injection point org.spongepowered.asm.mixin.injection.points.BeforeInvoke for INVOKE

[PREINJECT Applicator Phase -> indium.mixins.json:sodium.MixinChunkRenderRebuildTask -> Prepare Injections -> ->

redirect\$zhe000\$onRenderBlock( Lme/jellysquid/mods/sodium/client/render/pipeline/BlockRenderer; Lnet/minecraft/world/BlockRenderView; Lnet/minecraft/block/BlockState; Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos; Lnet/minecraft/client/render/model/BakedModel; Lme/jellysquid/mods/sodium/client/render/chunk/compile/buffers/ChunkModelBuilder; ZJ ) Z

-> Parse]

---- Minecraft Crash Report ----
// Don't do that.

Time: 8/2/21, 4:15 PM
Description: Unexpected error

org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178)
at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.initRenderer(SodiumWorldRenderer.java:237)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.loadWorld(SodiumWorldRenderer.java:93)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.setWorld(SodiumWorldRenderer.java:84)
at net.minecraft.client.render.WorldRenderer.handler$zzk000$onWorldChanged(WorldRenderer.java:4292)
at net.minecraft.client.render.WorldRenderer.setWorld(WorldRenderer.java:737)
at net.minecraft.client.MinecraftClient.setWorld(MinecraftClient.java:2245)
at net.minecraft.client.MinecraftClient.joinWorld(MinecraftClient.java:2169)
at net.minecraft.client.network.ClientPlayNetworkHandler.onGameJoin(ClientPlayNetworkHandler.java:364)
at net.minecraft.network.packet.s2c.play.GameJoinS2CPacket.apply(GameJoinS2CPacket.java:100)
at net.minecraft.network.packet.s2c.play.GameJoinS2CPacket.apply(GameJoinS2CPacket.java:18)
at net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils.java:21)
at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:151)
at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:23)
at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor.java:125)
at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor.java:110)
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1077)
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:730)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [indium.mixins.json:sodium.MixinChunkRenderRebuildTask] from phase [DEFAULT] in config [indium.mixins.json] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:642)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:594)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:356)
... 32 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Error whilst instancing injection point org.spongepowered.asm.mixin.injection.points.BeforeInvoke for INVOKE [PREINJECT Applicator Phase -> indium.mixins.json:sodium.MixinChunkRenderRebuildTask -> Prepare Injections -> -> redirect$zhe000$onRenderBlock(Lme/jellysquid/mods/sodium/client/render/pipeline/BlockRenderer;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/render/model/BakedModel;Lme/jellysquid/mods/sodium/client/render/chunk/compile/buffers/ChunkModelBuilder;ZJ)Z -> Parse]
at org.spongepowered.asm.mixin.injection.InjectionPoint.create(InjectionPoint.java:734)
at org.spongepowered.asm.mixin.injection.InjectionPoint.parse(InjectionPoint.java:698)
at org.spongepowered.asm.mixin.injection.InjectionPoint.parse(InjectionPoint.java:648)
at org.spongepowered.asm.mixin.injection.InjectionPoint.parse(InjectionPoint.java:569)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parseInjectionPoints(InjectionInfo.java:330)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:289)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:275)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:267)
at org.spongepowered.asm.mixin.injection.struct.RedirectInjectionInfo.(RedirectInjectionInfo.java:44)
at jdk.internal.reflect.GeneratedConstructorAccessor71.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:140)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:624)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1247)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1033)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:388)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351)
... 32 more
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.spongepowered.asm.mixin.injection.InjectionPoint.create(InjectionPoint.java:732)
... 53 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.hashCode()" because "this.desc" is null
at net.fabricmc.mappings.EntryTriple.hashCode(EntryTriple.java:67)
at java.base/java.util.HashMap.hash(HashMap.java:340)
at java.base/java.util.HashMap.getNode(HashMap.java:570)
at java.base/java.util.HashMap.getOrDefault(HashMap.java:1143)
at net.fabricmc.mapping.util.MixinRemapper.mapMethodName(MixinRemapper.java:66)
at net.fabricmc.loader.util.mappings.MixinIntermediaryDevRemapper.mapMethodNameInner(MixinIntermediaryDevRemapper.java:81)
at net.fabricmc.loader.util.mappings.MixinIntermediaryDevRemapper.mapMethodName(MixinIntermediaryDevRemapper.java:149)
at org.spongepowered.asm.obfuscation.RemapperChain.mapMethodName(RemapperChain.java:59)
at org.spongepowered.asm.mixin.refmap.RemappingReferenceMapper.remapWithContext(RemappingReferenceMapper.java:164)
at org.spongepowered.asm.mixin.refmap.RemappingReferenceMapper.remap(RemappingReferenceMapper.java:121)
at org.spongepowered.asm.mixin.injection.struct.MemberInfo.parse(MemberInfo.java:692)
at org.spongepowered.asm.mixin.injection.selectors.TargetSelector.parse(TargetSelector.java:154)
at org.spongepowered.asm.mixin.injection.selectors.TargetSelector.parseAndValidate(TargetSelector.java:109)
at org.spongepowered.asm.mixin.injection.struct.InjectionPointData.getTarget(InjectionPointData.java:273)
at org.spongepowered.asm.mixin.injection.points.BeforeInvoke.(BeforeInvoke.java:126)
... 58 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178)
at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.initRenderer(SodiumWorldRenderer.java:237)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.loadWorld(SodiumWorldRenderer.java:93)
at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.setWorld(SodiumWorldRenderer.java:84)
at net.minecraft.client.render.WorldRenderer.handler$zzk000$onWorldChanged(WorldRenderer.java:4292)
at net.minecraft.client.render.WorldRenderer.setWorld(WorldRenderer.java:737)
at net.minecraft.client.MinecraftClient.setWorld(MinecraftClient.java:2245)
at net.minecraft.client.MinecraftClient.joinWorld(MinecraftClient.java:2169)
at net.minecraft.client.network.ClientPlayNetworkHandler.onGameJoin(ClientPlayNetworkHandler.java:364)
at net.minecraft.network.packet.s2c.play.GameJoinS2CPacket.apply(GameJoinS2CPacket.java:100)
at net.minecraft.network.packet.s2c.play.GameJoinS2CPacket.apply(GameJoinS2CPacket.java:18)
at net.minecraft.network.NetworkThreadUtils.method_11072(NetworkThreadUtils.java:21)
at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:151)
at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:23)
at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor.java:125)

-- Affected level --
Details:
All players: 0 total; []
Chunk stats: 1024, 0
Level dimension: minecraft:overworld
Level spawn location: World: (8,64,8), Section: (at 8,0,8 in 0,4,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Server brand: ERROR NullPointerException: Cannot invoke "net.minecraft.client.network.ClientPlayerEntity.getServerBrand()" because "this.client.player" is null
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.addDetailsToCrashReport(ClientWorld.java:370)
at net.minecraft.client.MinecraftClient.addDetailsToCrashReport(MinecraftClient.java:2399)
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:754)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)

@CebbyS
Copy link
Author

CebbyS commented Aug 2, 2021

Fabric Mods:
blockus: Blockus 2.2.7+1.17.1
celib: Celib - CebbyS Library Mod ${mod_version}
fabric: Fabric API 0.36.0+1.17
fabric-api-base: Fabric API Base 0.3.0+a02b44633d
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.2.0+2b5c62d03d
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.11+c345aea83d
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+a02b44633d
fabric-command-api-v1: Fabric Command API (v1) 1.1.1+a02b44633d
fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa3d
fabric-containers-v0: Fabric Containers (v0) 0.1.12+a02b44633d
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.2+a02b44633d
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da3103d
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.10+a02b44633d
fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+a02b44633d
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.9+a722d8c03d
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa3d
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+a02b44633d
fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b44633d
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab61213d
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+a02b44633d
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+36b77c3e3d
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b44633d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b44633d
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa3d
fabric-models-v0: Fabric Models (v0) 0.3.0+a02b44633d
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.11+b7ab61213d
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b44633d
fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa3d
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab61213d
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b44633d
fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b44633d
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee3d
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.3+676f40fa3d
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.8+a02b44633d
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.0+a02b44633d
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b44633d
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+a02b44633d
fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+92519afa3d
fabric-rendering-v1: Fabric Rendering (v1) 1.6.0+a02b44633d
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.7+b7ab61213d
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.4+155f865c3d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+a02b44633d
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.11+e36969833d
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.4+a02b44633d
fabric-textures-v0: Fabric Textures (v0) 1.0.6+a02b44633d
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab61213d
fabricloader: Fabric Loader 0.11.6
indium: Indium 1.0.0+mc1.17.1
java: OpenJDK 64-Bit Server VM 16
libcd: LibCapableData 3.0.3+1.16.3
minecraft: Minecraft 1.17
modmenu: Mod Menu 2.0.2
refabslab: Refabricated Slabs ${mod_version}
sodium: Sodium 0.3.0+build.5

@comp500
Copy link
Owner

comp500 commented Aug 2, 2021

See FabricMC/Mixin#55.

@comp500 comp500 closed this as completed Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants