Jump to content

Error: java.lang.VerifyError: Operand stack overflow


Recommended Posts

Error: java.lang.VerifyError: Operand stack overflow

I don't know how to fix this. Does anyone know what to do?


? Crash Report:


---- Minecraft Crash Report ----

WARNING: coremods are present:
  CTMCorePlugin (CTM-MC1.12-
  BetterFoliageLoader (Better-Foliage-Mod-1.12.1.jar)
Contact their authors BEFORE contacting forge

// But it works on my machine.

Time: 11/18/18 9:11 PM
Description: Unexpected error

java.lang.VerifyError: Operand stack overflow
Exception Details:
    net/minecraft/client/renderer/chunk/RenderChunk.func_178581_b(FFFLnet/minecraft/client/renderer/chunk/ChunkCompileTaskGenerator;)V @547: aload
    Exceeded max stack size.
  Current Frame:
    bci: @547
    flags: { }
    locals: { 'net/minecraft/client/renderer/chunk/RenderChunk', float, float, float, 'net/minecraft/client/renderer/chunk/ChunkCompileTaskGenerator', 'net/minecraft/client/renderer/chunk/CompiledChunk', integer, 'net/minecraft/util/math/BlockPos', 'net/minecraft/util/math/BlockPos', 'net/minecraft/client/renderer/chunk/VisGraph', 'java/util/HashSet', 'ChunkCacheOF', '[Z', 'net/minecraft/client/renderer/BlockRendererDispatcher', integer, integer, 'java/util/Iterator', 'BlockPosM', 'net/minecraft/block/state/IBlockState', 'net/minecraft/block/Block', '[Lnet/minecraft/util/BlockRenderLayer;', integer, 'net/minecraft/util/BlockRenderLayer', integer, 'net/minecraft/client/renderer/BufferBuilder', 'RenderEnv' }
    stack: { '[Z', integer, integer, 'net/minecraft/client/renderer/BlockRendererDispatcher', 'net/minecraft/block/state/IBlockState', 'BlockPosM', 'ChunkCacheOF', 'net/minecraft/client/renderer/BufferBuilder' }
    0x0000000: bb00 4959 b701 1e3a 0504 3606 2ab4 0078
    0x0000010: 3a07 1907 100f 100f 100f b601 223a 0819
    0x0000020: 04b6 0126 b601 2919 04b6 012d b201 31a5
    0x0000030: 000c 1904 b601 26b6 0134 b119 0419 05b6
    0x0000040: 0138 1904 b601 26b6 0134 a700 103a 0919
    0x0000050: 04b6 0126 b601 3419 09bf bb01 3c59 b701
    0x0000060: 3d3a 09b8 005b 3a0a 2ab4 009b c700 04b1
    0x0000070: 2ab7 0143 3a0b 190b b601 489a 0250 b201
    0x0000080: 4a04 60b3 014a 190b b601 4db2 014f bebc
    0x0000090: 043a 0cb8 0155 b601 593a 0db2 015d b601
    0x00000a0: 6036 0eb2 0163 b601 6036 0f19 0719 08b8
    0x00000b0: 0169 b901 6f01 003a 1019 10b9 0178 0100
    0x00000c0: 9901 a119 10b9 017c 0100 c001 653a 1119
    0x00000d0: 0b19 11b6 0180 3a12 1912 b901 8601 003a
    0x00000e0: 1319 12b9 0189 0100 9900 0a19 0919 11b6
    0x00000f0: 018d 1912 b801 9599 003f 190b 1911 b201
    0x0000100: 99b6 019d 3a14 1914 c600 2eb2 01a3 1914
    0x0000110: b601 a73a 1519 15c6 001f 1915 1914 b601
    0x0000120: ad99 000e 190a 1914 b601 b157 a700 0a19
    0x0000130: 0519 14b6 01b7 150e 9900 0bb2 014f 3a14
    0x0000140: a700 122a b400 7c3a 1419 1403 1913 b601
    0x0000150: bb53 0336 1515 1519 14be a200 f119 1415
    0x0000160: 1532 3a16 150e 9900 2e19 13b2 015d 05bd
    0x0000170: 0004 5903 1912 5359 0419 1653 b801 c036
    0x0000180: 1719 1319 1219 16b8 01c6 3617 1517 9a00
    0x0000190: 06a7 00b4 150f 9900 12b2 0163 04bd 0004
    0x00001a0: 5903 1916 53b8 01ca 2ab4 0094 9900 0d2a
    0x00001b0: 1913 1916 b701 cd3a 1619 16b6 01ce 3617
    0x00001c0: 1913 b601 d2b9 01d6 0100 b201 dca5 0078
    0x00001d0: 1904 b601 0515 17b6 01e0 3a18 1918 1916
    0x00001e0: b601 e419 1819 0b19 1219 11b6 01e8 3a19
    0x00001f0: 1919 1904 b601 05b6 01ee 1905 1916 b601
    0x0000200: f19a 0012 1905 1916 b601 f42a 1918 1907
    0x0000210: b701 0f19 0c15 175c 3319 0d19 1219 1119
    0x0000220: 0b19 1819 16b8 01f8 8054 1919 b601 fb99
    0x0000230: 0016 2a19 04b6 0105 1905 190c b701 ff19
    0x0000240: 1903 b602 0384 1501 a7ff 0d15 0f99 0011
    0x0000250: b201 6304 bd00 0459 0301 53b8 01ca a7fe
    0x0000260: 5bb2 014f 3a11 1911 be36 1203 3613 1513
    0x0000270: 1512 a200 5419 1115 1332 3a14 190c 1914
    0x0000280: b601 ce33 9900 0a19 0519 14b6 0206 1905
    0x0000290: 1914 b601 f199 002b b802 0999 0010 1904
    0x00002a0: b601 0519 14b6 010b b802 0f2a 1914 2324
    0x00002b0: 2519 04b6 0105 1914 b601 0b19 05b7 0117
    0x00002c0: 8413 01a7 ffab 190b b602 1219 0519 09b6
    0x00002d0: 0216 b602 1a2a b400 53b6 0129 190a b802
    0x00002e0: 1d3a 0c2a b400 5db8 021d 3a0d 190c 2ab4
    0x00002f0: 005d b902 2302 0057 190d 190a b902 2302
    0x0000300: 0057 2ab4 005d b902 2601 002a b400 5d19
    0x0000310: 0ab9 0229 0200 572a b400 9d19 0d19 0cb6
    0x0000320: 022d 2ab4 0053 b601 34a7 000f 3a1a 2ab4
    0x0000330: 0053 b601 3419 1abf b1                 
  Exception Handler Table:
    bci [39, 50] => handler: 77
    bci [59, 66] => handler: 77
    bci [77, 79] => handler: 77
    bci [732, 802] => handler: 812
    bci [812, 814] => handler: 812
  Stackmap Table:

    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1179)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

-- System Details --
    Minecraft Version: 1.12.2
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1234125456 bytes (1176 MB) / 1610612736 bytes (1536 MB) up to 4294967296 bytes (4096 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge Optifine OptiFine_1.12.2_HD_U_C6 14 mods loaded, 0 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID               | Version         | Source                                        | Signature                                |
    |:----- |:---------------- |:--------------- |:--------------------------------------------- |:---------------------------------------- |
    |       | minecraft        | 1.12.2          | minecraft.jar                                 | None                                     |
    |       | mcp              | 9.42            | minecraft.jar                                 | None                                     |
    |       | FML              |       | forge-1.12.2-                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    |       | forge            |    | forge-1.12.2-                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    |       | betterfoliage    | 2.1.9           | Better-Foliage-Mod-1.12.1.jar                 | None                                     |
    |       | codechickenlib   |       | CodeChickenLib-1.12.2- | None                                     |
    |       | codechickenlib   |       | CodeChickenLib-1.12.2- | None                                     |
    |       | ctm              | MC1.12- | CTM-MC1.12-                       | None                                     |
    |       | customnpcs       | 1.12            | Custom-NPCs-Mod-1.12.2.jar                    | None                                     |
    |       | jei              |      | jei_1.12.2-                     | None                                     |
    |       | moreplayermodels | 1.12.2          | More-Player-Models-Mod-1.12.2.jar             | None                                     |
    |       | nei              | 2.4.1           | Not-Enough-Items-1.12.2-Recommended (1).jar   | None                                     |
    |       | worldedit        | 6.1.8           | worldedit-forge-mc1.12-6.1.8-dist.jar         | None                                     |
    |       | xaerominimap     | 1.13.9          | Xaeros-Minimap-Mod-1.12.jar                   | None                                     |

    Loaded coremods (and transformers): 
CTMCorePlugin (CTM-MC1.12-
BetterFoliageLoader (Better-Foliage-Mod-1.12.1.jar)
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 388.71' Renderer: 'GeForce GTX 960/PCIe/SSE2'
    Launched Version: 1.12.2-forge1.12.2-
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 960/PCIe/SSE2 GL version 4.6.0 NVIDIA 388.71, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: vanilla, file/Custom.zip
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 4x AMD A10-6800K APU with Radeon(tm) HD Graphics 
    OptiFine Version: OptiFine_1.12.2_HD_U_C6
    Render Distance Chunks: 26
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: PlunderPixels_Shaders_1.7.x.zip
    OpenGlVersion: 4.6.0 NVIDIA 388.71
    OpenGlRenderer: GeForce GTX 960/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 4



Link to comment
Share on other sites

Try without betterfoliage

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.


As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.


For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.


Logs (Most issues require logs to diagnose):


Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.


What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...


...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension


Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.


Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.






or alternately, 


Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft


Server Not Starting:


If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.


Reporting Illegal/Inappropriate Adfocus Ads:


Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.


Posting your mod as a GitHub Repo:


When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.


  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]


Link to comment
Share on other sites

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.

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.


  • Create New...

Important Information

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