shedaniel / RoughlyEnoughItems

Clean and Configurable. Your recipe viewer mod for 1.13+.
Other
327 stars 66 forks source link

[Bug] Crash with FTB Library #1689

Open Makerman991 opened 3 months ago

Makerman991 commented 3 months ago

What happened?

When a FTB library button appears in your inventory, REI will crash the game. This includes (But I assume is not limited to) FTB Library on its own, FTB Teams, FTB Chunks. If this needs to be fixed on FTB Library's side, please let me know and I will submit a issue there.

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

Relevant log output

(This is the crash report. Copy of this is attached as file as well.)

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

Time: 2024-07-16 15:59:28
Description: Rendering entry

java.lang.IllegalStateException: BufferBuilder was empty
    at net.minecraft.class_287.method_60800(class_287.java:69)
    at dev.ftb.mods.ftblibrary.ui.GuiHelper.drawTexturedRect(GuiHelper.java:84)
    at dev.ftb.mods.ftblibrary.icon.ImageIcon.draw(ImageIcon.java:79)
    at dev.ftb.mods.ftblibrary.icon.CombinedIcon.draw(CombinedIcon.java:55)
    at dev.ftb.mods.ftblibrary.integration.REIIntegration$SidebarButtonEntry$1.render(REIIntegration.java:150)
    at me.shedaniel.rei.impl.client.entry.type.types.RenderingEntryDefinition$DeferredRenderer.render(RenderingEntryDefinition.java:83)
    at me.shedaniel.rei.impl.common.entry.AbstractEntryStack.render(AbstractEntryStack.java:184)
    at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.drawCurrentEntry(EntryWidget.java:437)
    at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.method_25394(EntryWidget.java:388)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.panel.rows.FavoritesPanelEntriesRow.render(FavoritesPanelEntriesRow.java:97)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.panel.FavoritesPanel.method_25394(FavoritesPanel.java:102)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.FavoritesListWidget.renderAddFavorite(FavoritesListWidget.java:261)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.FavoritesListWidget.method_25394(FavoritesListWidget.java:215)
    at me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl.renderWidgets(ScreenOverlayImpl.java:347)
    at me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl.method_25394(ScreenOverlayImpl.java:244)
    at me.shedaniel.rei.impl.client.registry.screen.ScreenRegistryImpl$5.render(ScreenRegistryImpl.java:375)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$onApplied$5(DefaultScreenOverlayRenderer.java:91)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$new$1(DefaultScreenOverlayRenderer.java:61)
    at net.minecraft.class_465.handler$zce000$architectury$renderBackground(class_465.java:732)
    at net.minecraft.class_465.method_25420(class_465.java:172)
    at net.minecraft.class_437.method_25394(class_437.java:126)
    at net.minecraft.class_465.method_25394(class_465.java:100)
    at net.minecraft.class_485.method_25394(class_485.java:32)
    at net.minecraft.class_481.method_25394(class_481.java:778)
    at net.minecraft.class_437.method_47413(class_437.java:117)
    at net.minecraft.class_757.mixinextras$bridge$method_47413$181(class_757.java)
    at net.minecraft.class_757.wrapOperation$zph000$fabric-screen-api-v1$onRenderScreen(class_757.java:2086)
    at net.minecraft.class_757.method_3192(class_757.java:913)
    at net.minecraft.class_310.method_1523(class_310.java:1285)
    at net.minecraft.class_310.method_1514(class_310.java:882)
    at net.minecraft.client.main.Main.main(Main.java:256)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
    at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
    at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

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_287.method_60800(class_287.java:69)
    at dev.ftb.mods.ftblibrary.ui.GuiHelper.drawTexturedRect(GuiHelper.java:84)
    at dev.ftb.mods.ftblibrary.icon.ImageIcon.draw(ImageIcon.java:79)
    at dev.ftb.mods.ftblibrary.icon.CombinedIcon.draw(CombinedIcon.java:55)

-- Screen details --
Details:
    Screen name: net.minecraft.class_481
Stacktrace:
    at me.shedaniel.rei.impl.client.util.CrashReportUtils.screen(CrashReportUtils.java:50)
    at me.shedaniel.rei.impl.client.util.CrashReportUtils.essential(CrashReportUtils.java:44)
    at me.shedaniel.rei.impl.common.entry.AbstractEntryStack.render(AbstractEntryStack.java:186)
    at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.drawCurrentEntry(EntryWidget.java:437)
    at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.method_25394(EntryWidget.java:388)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.panel.rows.FavoritesPanelEntriesRow.render(FavoritesPanelEntriesRow.java:97)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.panel.FavoritesPanel.method_25394(FavoritesPanel.java:102)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.FavoritesListWidget.renderAddFavorite(FavoritesListWidget.java:261)
    at me.shedaniel.rei.impl.client.gui.widget.favorites.FavoritesListWidget.method_25394(FavoritesListWidget.java:215)
    at me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl.renderWidgets(ScreenOverlayImpl.java:347)
    at me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl.method_25394(ScreenOverlayImpl.java:244)
    at me.shedaniel.rei.impl.client.registry.screen.ScreenRegistryImpl$5.render(ScreenRegistryImpl.java:375)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$onApplied$5(DefaultScreenOverlayRenderer.java:91)
    at me.shedaniel.rei.impl.client.registry.screen.DefaultScreenOverlayRenderer.lambda$new$1(DefaultScreenOverlayRenderer.java:61)
    at net.minecraft.class_465.handler$zce000$architectury$renderBackground(class_465.java:732)
    at net.minecraft.class_465.method_25420(class_465.java:172)
    at net.minecraft.class_437.method_25394(class_437.java:126)
    at net.minecraft.class_465.method_25394(class_465.java:100)
    at net.minecraft.class_485.method_25394(class_485.java:32)
    at net.minecraft.class_481.method_25394(class_481.java:778)
    at net.minecraft.class_437.method_47413(class_437.java:117)
    at net.minecraft.class_757.mixinextras$bridge$method_47413$181(class_757.java)
    at net.minecraft.class_757.wrapOperation$zph000$fabric-screen-api-v1$onRenderScreen(class_757.java:2086)
    at net.minecraft.class_757.method_3192(class_757.java:913)
    at net.minecraft.class_310.method_1523(class_310.java:1285)
    at net.minecraft.class_310.method_1514(class_310.java:882)
    at net.minecraft.client.main.Main.main(Main.java:256)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
    at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
    at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

-- Renderer details --
Details:
    Renderer name: me.shedaniel.rei.impl.common.entry.TypedEntryStack
    Entry type: minecraft:rendering
    Is empty: false
    Entry identifier: null

-- Entry Renderer --
Details:
    Entry definition class name: ~~NULL~~

-- Screen render details --
Details:
    Screen name: net.minecraft.class_481
    Mouse location: Scaled: (8, 527). Absolute: (17.000000, 1054.000000)
    Screen size: Scaled: (960, 540). Absolute: (1920, 1080). Scale factor of 2.000000

-- Uptime --
Details:
    JVM uptime: 54.659s
    Wall uptime: 45.587s
    High-res time: 44.773s
    Client ticks: 819 ticks / 40.950s

-- Affected level --
Details:
    All players: 1 total; [class_746['Makerman991'/13, l='ClientLevel', x=9.50, y=82.87, z=234.50]]
    Chunk stats: 961, 228
    Level dimension: minecraft:overworld
    Level spawn location: World: (16,78,240), Section: (at 0,14,0 in 1,4,15; chunk contains blocks 16,-64,240 to 31,319,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
    Level time: 110 game time, 110 day time
    Server brand: fabric
    Server type: Integrated singleplayer server
    Tracked entity count: 87

-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: vanilla, fabric, cloth-config, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, ftblibrary, roughlyenoughitems

-- System Details --
Details:
    Minecraft Version: 1.21
    Minecraft Version ID: 1.21
    Operating System: Windows 11 (amd64) version 10.0
    Java Version: 21.0.3, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
    Memory: 1764613160 bytes (1682 MiB) / 4294967296 bytes (4096 MiB) up to 12884901888 bytes (12288 MiB)
    CPUs: 24
    Processor Vendor: GenuineIntel
    Processor Name: 13th Gen Intel(R) Core(TM) i7-13700F
    Identifier: Intel64 Family 6 Model 183 Stepping 1
    Microarchitecture: Raptor Lake
    Frequency (GHz): 2.11
    Number of physical packages: 1
    Number of physical CPUs: 16
    Number of logical CPUs: 24
    Graphics card #0 name: NVIDIA GeForce RTX 3060
    Graphics card #0 vendor: NVIDIA
    Graphics card #0 VRAM (MiB): 12288.00
    Graphics card #0 deviceId: VideoController1
    Graphics card #0 versionInfo: 31.0.15.5161
    Memory slot #0 capacity (MiB): 8192.00
    Memory slot #0 clockSpeed (GHz): 2.40
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MiB): 8192.00
    Memory slot #1 clockSpeed (GHz): 2.40
    Memory slot #1 type: DDR4
    Memory slot #2 capacity (MiB): 8192.00
    Memory slot #2 clockSpeed (GHz): 2.40
    Memory slot #2 type: DDR4
    Memory slot #3 capacity (MiB): 8192.00
    Memory slot #3 clockSpeed (GHz): 2.40
    Memory slot #3 type: DDR4
    Virtual memory max (MiB): 38781.36
    Virtual memory used (MiB): 20097.93
    Swap memory total (MiB): 6176.73
    Swap memory used (MiB): 105.80
    Space in storage for jna.tmpdir (MiB): <path not set>
    Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): <path not set>
    Space in storage for io.netty.native.workdir (MiB): <path not set>
    Space in storage for java.io.tmpdir (MiB): available: 230896.03, total: 953151.00
    Space in storage for workdir (MiB): available: 230896.03, total: 953151.00
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms4096m -Xmx12288m
    Fabric Mods: 
        architectury: Architectury 13.0.4
        cloth-config: Cloth Config v15 15.0.127
            cloth-basic-math: cloth-basic-math 0.6.1
        fabric-api: Fabric API 0.100.7+1.21
            fabric-api-base: Fabric API Base 0.4.42+6573ed8cd1
            fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.67+b5597344d1
            fabric-biome-api-v1: Fabric Biome API (v1) 13.0.29+5bd9f1bcd1
            fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a7d1
            fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8cd1
            fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.52+0af3f5a7d1
            fabric-client-tags-api-v1: Fabric Client Tags 1.1.15+6573ed8cd1
            fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366fd1
            fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd9d1
            fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b3d1
            fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.15+b5597344d1
            fabric-convention-tags-v1: Fabric Convention Tags 2.0.18+7f945d5bd1
            fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.4.2+c111832ad1
            fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a7d1
            fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.25+6a6dfa19d1
            fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.12+16c4ae25d1
            fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b99d1
            fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.12+6fc22b99d1
            fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.10+e633f883d1
            fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd9d1
            fabric-item-api-v1: Fabric Item API (v1) 11.0.0+afdfc921d1
            fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.3+78017270d1
            fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.47+0af3f5a7d1
            fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.45+df3654b3d1
            fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.11+8f3583aed1
            fabric-loot-api-v2: Fabric Loot API (v2) 3.0.13+3f89f5a5d1
            fabric-loot-api-v3: Fabric Loot API (v3) 1.0.1+3f89f5a5d1
            fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1
            fabric-model-loading-api-v1: Fabric Model Loading API (v1) 2.0.0+fe474d6bd1
            fabric-networking-api-v1: Fabric Networking API (v1) 4.2.0+ab7edbacd1
            fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.1.13+d1321076d1
            fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1
            fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.10+65089712d1
            fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.0.25+5bd9f1bcd1
            fabric-renderer-api-v1: Fabric Renderer API (v1) 3.3.0+0ae0b97dd1
            fabric-renderer-indigo: Fabric Renderer - Indigo 1.6.5+48fb1586d1
            fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.68+df3654b3d1
            fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2ed1
            fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+b5597344d1
            fabric-rendering-v0: Fabric Rendering (v0) 1.1.71+df3654b3d1
            fabric-rendering-v1: Fabric Rendering (v1) 5.0.5+df16efd0d1
            fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.2.1+d153f344d1
            fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.2.0+7e687b32d1
            fabric-screen-api-v1: Fabric Screen API (v1) 2.0.24+b5597344d1
            fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.82+b5597344d1
            fabric-sound-api-v1: Fabric Sound API (v1) 1.0.23+6573ed8cd1
            fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.15+3dccd343d1
            fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.0.12+6573ed8cd1
        fabricloader: Fabric Loader 0.16.0
            mixinextras: MixinExtras 0.4.0
        ftblibrary: FTB Library 2100.1.2
        java: Java HotSpot(TM) 64-Bit Server VM 21
        minecraft: Minecraft 1.21
        roughlyenoughitems: Roughly Enough Items 16.0.729
            error_notifier: Error Notifier 1.0.9
    Launched Version: 1.21
    Launcher name: PrismLauncher
    Backend library: LWJGL version 3.3.3-snapshot
    Backend API: NVIDIA GeForce RTX 3060/PCIe/SSE2 GL version 3.2.0 NVIDIA 551.61, NVIDIA Corporation
    Window size: 1920x1080
    GFLW Platform: win32
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
    Universe: 400921fb54442d18
    Type: Integrated Server (map_client.txt)
    Graphics mode: fancy
    Render Distance: 12/12 chunks
    Resource Packs: vanilla, fabric, cloth-config, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, ftblibrary, roughlyenoughitems
    Current Language: en_us
    Locale: en_US
    System encoding: Cp1252
    File encoding: UTF-8
    CPU: 24x 13th Gen Intel(R) Core(TM) i7-13700F
    Server Running: true
    Player Count: 1 / 8; [class_3222['Makerman991'/13, l='ServerLevel[New World]', x=9.50, y=82.87, z=234.50]]
    Active Data Packs: vanilla, fabric, fabric-convention-tags-v2
    Available Data Packs: bundle, fabric, fabric-convention-tags-v2, trade_rebalance, vanilla
    Enabled Feature Flags: minecraft:vanilla
    World Generation: Stable
    World Seed: 2712522452917189078

Anything else?

rei.log latest.log crash-2024-07-16_15.59.28-client.txt

Using: Prism Launcher 8.4 Minecraft 1.21 (Prism) Fabric 0.16.0 (Prism) Architectury-13.0.4-fabric (Curseforge) Cloth-config-15.0.127-fabric (Modrinth) Fabric-api-0.100.7+1.21 (Curseforge) FTB-library-fabric-2100.1.2 (Curseforge) RoughlyEnoughItems-16.0.729-fabric (Modrinth)

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.

thrasosc commented 2 months ago

I am also having this issue.