Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.ints.IntArrayList.getInt(int)"

Featured Replies

Posted

game crashes every few minutes when destroying blocks

The game crashed whilst unexpected error Error: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.ints.IntArrayList.getInt(int)" because "this.wrapped" is null

exit-code -1

crash report: https://pastebin.com/JHCvWz3m

java is on the newest version

tried with/without optifine

Quote

java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.ints.IntArrayList.getInt(int)" because "this.wrapped" is null

at it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap$MapIterator.nextEntry(Int2ObjectOpenHashMap.java:703) ~[fastutil-8.5.6.jar%23127!/:?] {}

at it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap$ValueIterator.next(Int2ObjectOpenHashMap.java:1202) ~[fastutil-8.5.6.jar%23127!/:?] {}

at net.minecraft.client.renderer.LevelRenderer.m_109823_(LevelRenderer.java:2855) ~[client-1.19.2-20220805.130853-srg.jar%23176!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:betterfpsdist.mixins.json:LevelRendererMixin,pl:mixin:APP:quark.mixins.json:client.LevelRendererMixin,pl:mixin:APP:supplementaries-common.mixins.json:LevelRendererMixin,pl:mixin:APP:supplementaries-common.mixins.json:ParrotMixin,pl:mixin:A}

Looks like one of your mods is messing around with the block break progress and has broken it. That is where this error is occurring.

I have highlighted the mods that have changed the affected class. But this could be any of your mods.

Check you have the latest version of your mods and see if one of them has this already reported as a bug.

Otherwise, you will have to experiment with removing mods until you find the problem one. (Backup your world before doing this).

Start with mods that modify block breaking, e.g. I can see you have multimine and reap.

ย 

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.comย  You should also read the support forum sticky post.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.