Fabric API

Fabric API

108M Downloads

Error: java.lang.VerifyError: Bad type on operand stack

AquaFer1 opened this issue · 5 comments

commented

I got a lot of fabric mods but I keep getting this error message help?

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 2021-10-18, 6:47 p.m.
Description: Initializing game

java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
net/minecraft/class_5944.(Lnet/minecraft/class_5912;Ljava/lang/String;Lnet/minecraft/class_293;)V @7: invokespecial
Reason:
Type uninitializedThis (current frame, stack[2]) is not assignable to 'net/minecraft/class_5944'
Current Frame:
bci: @7
flags: { flagThisUninit }
locals: { uninitializedThis, 'net/minecraft/class_5912', 'java/lang/String', 'net/minecraft/class_293' }
stack: { uninitializedThis, 'net/minecraft/class_5912', uninitializedThis, 'java/lang/String', 'net/minecraft/class_5912', 'java/lang/String', 'net/minecraft/class_293' }
Bytecode:
0000000: 2a2b 2a2c 2b2c 2db7 005b 59c7 000d bb00
0000010: 5d59 125f b700 62bf 2db7 0065 b1
Stackmap Table:
full_frame(@24,{UninitializedThis,Object[#108],Object[#110],Object[#112]},{UninitializedThis,Object[#108],Object[#114]})

at net.minecraft.class_757.method_34521(class_757.java:438)
at net.minecraft.class_310.<init>(class_310.java:617)
at net.minecraft.client.main.Main.main(Main.java:179)
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)

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

-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.class_128.handler$bap000$fillPatchouliContext(class_128.java:1021)

-- Patchouli Book Info --
Details:
Patchouli open book context: n/a
Stacktrace:
at net.minecraft.class_128.handler$bap000$fillPatchouliContext(class_128.java:1021)
at net.minecraft.class_128.(class_128.java:42)
at net.minecraft.class_128.method_560(class_128.java:339)
at net.minecraft.client.main.Main.main(Main.java:185)
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)

-- Initialization --
Details:

-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 411417648 bytes (392 MiB) / 1040187392 bytes (992 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
Identifier: Intel64 Family 6 Model 58 Stepping 9
Microarchitecture: Ivy Bridge (Client)
Frequency (GHz): 2.99
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 4
Graphics card #0 name: NVIDIA GeForce GT 620
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x1049
Graphics card #0 versionInfo: DriverVersion=23.21.13.9135
Graphics card #1 name: Intel(R) HD Graphics
Graphics card #1 vendor: Intel Corporation (0x8086)
Graphics card #1 VRAM (MB): 2112.00
Graphics card #1 deviceId: 0x0152
Graphics card #1 versionInfo: DriverVersion=10.18.10.5161
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 1.60
Memory slot #0 type: DDR3
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 1.60
Memory slot #1 type: DDR3
Virtual memory max (MB): 15231.55
Virtual memory used (MB): 6234.43
Swap memory total (MB): 7168.00
Swap memory used (MB): 66.61
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
adorn: Adorn 2.1.5+1.17.1
adventurez: AdventureZ 1.3.0
betterstrongholds: YUNG's Better Strongholds 1.17-1.1.2
caelus: Caelus API 0.0.18-1.17.1
campanion: Campanion 2.0.0-beta.1
cardinal-components-base: Cardinal Components API (base) 3.0.0
cardinal-components-entity: Cardinal Components API (entities) 3.0.0
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v5 5.0.38
fab: Foodables 1.0.8
fabric: Fabric API 0.40.8+1.17
fabric-api-base: Fabric API Base 0.3.0+a02b446318
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.0+cbda931818
fabric-biome-api-v1: Fabric Biome API (v1) 3.2.0+cbda931818
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+a02b446318
fabric-command-api-v1: Fabric Command API (v1) 1.1.3+5ab9934c18
fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18
fabric-containers-v0: Fabric Containers (v0) 0.1.12+cbda931818
fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.0+cbda931818
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718
fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.3+87cc6e4c18
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.10+fc40aa9d18
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+cbda931818
fabric-item-api-v1: Fabric Item API (v1) 1.2.4+cbda931818
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+cbda931818
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+36b77c3e18
fabric-language-kotlin: Fabric Language Kotlin 1.6.5+kotlin.1.5.31
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b446318
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18
fabric-models-v0: Fabric Models (v0) 0.3.0+a02b446318
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+cbda931818
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318
fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa18
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+cbda931818
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318
fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318
fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.11+7931163218
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.4+cbda931818
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.8+cbda931818
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.4+7931163218
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446318
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.14+4658223018
fabric-rendering-v0: Fabric Rendering (v0) 1.1.5+7931163218
fabric-rendering-v1: Fabric Rendering (v1) 1.9.0+7931163218
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+a00e834b18
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.4+cbda931818
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+cbda931818
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.13+5ab9934c18
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.1+b06cb95b18
fabric-textures-v0: Fabric Textures (v0) 1.0.6+a02b446318
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612118
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.4.0+7931163218
fabricloader: Fabric Loader 0.11.6
fiber: fiber 0.23.0-2
gildedarmor: Gilded Armor 1.3.0+fabric-1.17.1
guild: Guild 0.3.3
haema: Haema 1.7.6+1.17
hookshot: Hookshot 20.0
icarus: Icarus 1.3
jankson: Jankson 3.0.1+j1.2.0
java: OpenJDK 64-Bit Server VM 16
kambrik: Kambrik 1.1.0
libcd: LibCapableData 3.0.3+1.16.3
libgui: LibGui 4.1.3+1.17.1
libninepatch: LibNinePatch 1.1.0
medievalweapons: Medieval Weapons 1.1.7
minecraft: Minecraft 1.17.1
mm: Manningham Mills 2.3
optifabric: OptiFabric 1.11.20
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.5.31
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.5.31
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.5.31
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.5.31
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.5.2
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.5.2
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.0
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.0
patchouli: Patchouli 1.17-55-FABRIC-SNAPSHOT
reach-entity-attributes: Reach Entity Attributes 2.1.1
satin: Satin 1.6.1
seedy-behavior: Seedy Behavior 1.0.2+1.17.1
somnus: Somnus API 0.0.14-1.17.1
stoneholm: Stoneholm 1.3
terralith: Terralith for Fabric 1.6.1
torohealth: ToroHealth Damage Indicators 1.17.1-fabric-12
transportables: Transportables 1.0.6
trinkets: Trinkets 3.0.4
walkways: Walkways 1.0.1
waveycapes: WaveyCapes 1.0.3
workings: Workings 1.0.7
xaerominimap: Xaero's Minimap 21.19.0
yungsapi: YUNG's API 1.17-Fabric-19
Launched Version: fabric-loader-0.11.6-1.17.1
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) HD Graphics 2500 GL version 3.2.0 - Build 10.18.10.5161, Intel
Window size:
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU: 4x Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
OptiFine Version: OptiFine_1.17.1_HD_U_G9
OptiFine Build: 20210831-004129
Render Distance Chunks: 8
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 3.2.0 - Build 10.18.10.5161
OpenGlRenderer: Intel(R) HD Graphics 2500
OpenGlVendor: Intel
CpuCount: 4

-- OptiFabric --
Details:
OptiFine jar designed for: 1.17.1
OptiFine jar version: OptiFine_1.17.1_HD_U_G9
OptiFine jar status: Valid OptiFine installer
OptiFine remapped jar: C:/Users/user/AppData/Roaming/.minecraft/.optifine/OptiFine_1.17.1_HD_U_G9/Optifine-mapped.jar
OptiFabric error:

commented

try without optifine

commented

It works, thanks!

commented

Hello! no one is gonna see this probably but I have the same error code as you and tried the same fix but it still wont work do you have idea why? If you can help me with anything I would be forever grateful

Error: java.lang.VerifyError: Bad type on operand stack

[Crash.idk what to call it.txt] (https://github.com/FabricMC/fabric/files/13061803/Crash.idk.what.to.call.it.txt)

commented

not sure why you are posting a question on the fabric api github for your forge loader issue. I would suggest going to the forge discord or the feedthebeast discord for player support

commented

Yeah I realised this like 6 hours later at 1am and I couldn’t do anything since I needed to sleep… ( I’m embarrassed ) but hey! I fixed it ( I spent 3 hours to figure out I missed 1 button 😁 )