Decree Crashes
Siberious opened this issue ยท 4 comments
Bug Report
Observed Behaviour
What happened: Buying blank decrees from villagers or by being given one by a bounty, will give you an item that will crash your game upon mousing over it in an inventory.
Crash log: The game crashed whilst rendering screen
Error: kotlin.TypeCastException: null cannot be cast to non-null type net.minecraft.nbt.CompoundNBT
Expected Behaviour
What should have happened: Player should be able to operate decrees after obtaining them without risk of an immediate game crash.
Minimal setup needed to reproduce
- Forge version:
- Bountiful version:
- Other mods:
Steps to reproduce
How to recreate this: Find a villager or a bounty with offers of a decree. Upon obtaining, mouse over the decree in your inventory.
Ah, interesting. If you could provide a log, that would be great! I think I know what's happening here.
This is what appears in the crash report. I'm sure you can make something of this, you know a lot more than I do
---- Minecraft Crash Report ----
// Uh... Did I do that?
Time: 7/28/20 3:19 PM
Description: Rendering screen
kotlin.TypeCastException: null cannot be cast to non-null type net.minecraft.nbt.CompoundNBT
at ejektaflex.bountiful.ext.ExtNBTKt.getUnsortedList(ExtNBT.kt:34) ~[?:1.15.2-3.1.1] {re:classloading}
at ejektaflex.bountiful.item.ItemDecree.func_77624_a(ItemDecree.kt:57) ~[?:1.15.2-3.1.1] {re:classloading}
at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:562) ~[?:?] {re:classloading,xf:fml:charm:ItemStack,xf:fml:quark:add-spacing-for-stack}
at net.minecraft.client.gui.screen.Screen.getTooltipFromItem(Screen.java:121) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:blur:hookBackgroundColor,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:116) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:fml:blur:hookBackgroundColor,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_191948_b(ContainerScreen.java:149) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.HopperScreen.render(SourceFile:23) ~[?:?] {re:classloading}
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:368) ~[?:?] {re:classloading}
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.optifine.reflect.Reflector.callVoid(Reflector.java:742) ~[?:?] {re:classloading}
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:798) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:byg.mixins.json:client.MixinGameRenderer,pl:mixin:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:924) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:553) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(SourceFile:204) [?:?] {re:classloading}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.15.2-31.2.19.jar:31.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$479/528012309.call(Unknown Source) [forge-1.15.2-31.2.19.jar:31.2] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at ejektaflex.bountiful.ext.ExtNBTKt.getUnsortedList(ExtNBT.kt:34)
at ejektaflex.bountiful.item.ItemDecree.func_77624_a(ItemDecree.kt:57)
at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:562)
at net.minecraft.client.gui.screen.Screen.getTooltipFromItem(Screen.java:121)
at net.minecraft.client.gui.screen.Screen.renderTooltip(Screen.java:116)
at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_191948_b(ContainerScreen.java:149)
at net.minecraft.client.gui.screen.HopperScreen.render(SourceFile:23)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:368)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.optifine.reflect.Reflector.callVoid(Reflector.java:742)
-- Screen render details --
Details:
Screen name: net.minecraft.client.gui.screen.HopperScreen
Mouse location: Scaled: (362, 165). Absolute: (725.000000, 330.000000)
Screen size: Scaled: (800, 419). Absolute: (1600, 837). Scale factor of 2.000000
-- Affected level --
Details:
All players: 1 total; [ClientPlayerEntity['Siberious_'/311, l='MpServer', x=337.71, y=77.00, z=-455.05]]
Chunk stats: Client Chunk Cache: 529, 315
Level dimension: DimensionType{minecraft:overworld}
Level name: MpServer
Level seed: -6557012347869491284
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: {}
Level spawn location: World: (173,63,-177), Chunk: (at 13,3,15 in 10,-12; contains blocks 160,0,-192 to 175,255,-177), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 1952689 game time, 3152831 day time
Known server brands:
Level was modded: false
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Server brand: forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:611)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1763)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:567)
at net.minecraft.client.main.Main.main(SourceFile:204)
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.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$479/528012309.call(Unknown Source)
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
-- System Details --
Details:
Minecraft Version: 1.15.2
Minecraft Version ID: 1.15.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2976835792 bytes (2838 MB) / 6442450944 bytes (6144 MB) up to 6442450944 bytes (6144 MB)
CPUs: 8
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
ModLauncher: 5.1.0+69+master.79f13f7
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/eventbus-2.2.0-service.jar eventbus PLUGINSERVICE
/forge-1.15.2-31.2.19.jar object_holder_definalize PLUGINSERVICE
/forge-1.15.2-31.2.19.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE
/forge-1.15.2-31.2.19.jar capability_inject_definalize PLUGINSERVICE
/forge-1.15.2-31.2.19.jar runtimedistcleaner PLUGINSERVICE
/preview_OptiFine_1.15.2_HD_U_G1_pre23.jar OptiFine TRANSFORMATIONSERVICE
/forge-1.15.2-31.2.19.jar fml TRANSFORMATIONSERVICE
/MixinBootstrap-1.0.3.jar mixinbootstrap TRANSFORMATIONSERVICE
/MixinBootstrap-1.0.3.jar mixin PLUGINSERVICE
/MixinBootstrap-1.0.3.jar mixinbootstrap PLUGINSERVICE
FML: 31.2
Forge: net.minecraftforge:31.2.19
FML Language Providers:
[email protected]
minecraft@1
[email protected]
[email protected]
Mod List:
torchslabmod-1.15.2_v1.6.15.jar Torch Slab Mod {[email protected] DONE}
gun-mod-0.16.1-1.15.2 (1).jar MrCrayfish's Gun Mod {[email protected] DONE}
endportalrecipe_1.15-2.1.jar End Portal Recipe {[email protected] DONE}
simplybeans-1.2.jar Simply Beans {[email protected] DONE}
jei-1.15.2-6.0.0.4.jar Just Enough Items {[email protected] DONE}
enchantable-1.3.0-mc1.15.2.jar Enchantable {[email protected] DONE}
worleycaves-1.15.2-1.6.0.jar Worley's Caves {[email protected] DONE}
futuremc-1.15.2-1.0.1.jar Future MC {[email protected] DONE}
incontrol-1.15-4.0.3.jar InControl {[email protected] DONE}
Abnormals-Core-1.15.2-1.0.6.jar Abnormals Core {[email protected] DONE}
Bamboo-Blocks-1.15.2-v1.4.0.jar Bamboo Blocks {[email protected] DONE}
Buzzier-Bees-1.15.2-1.5.1.jar Buzzier Bees {[email protected] DONE}
goblintraders-1.2.0-1.15.2.jar Goblin Traders {[email protected] DONE}
Upgrade-Aquatic-1.15.2-v1.6.1.jar Upgrade Aquatic {[email protected] DONE}
strawgolem-1.15.2-1.7.1.jar Straw Golem {[email protected] DONE}
KleeSlabs_1.15.2-8.0.0.jar KleeSlabs {[email protected] DONE}
Bloomful-1.15.2-v1.4.0.jar Bloomful {bloomful@NONE DONE}
extraboats-1.3.6-1.15.2.jar Extra Boats {[email protected] DONE}
Waystones_1.15.2-6.0.1.jar Waystones {[email protected] DONE}
TerraForged-1.15.2-0.0.14.jar TerraForged {[email protected] DONE}
NeverNeededOrWanted-1.15.2-0.1.5.jar Never Needed Or Wanted {[email protected] DONE}
journeymap-1.15.2-5.7.0b2.jar Journeymap {[email protected] DONE}
CookingForBlockheads_1.15.2-8.0.2.jar Cooking for Blockheads {[email protected] DONE}
SereneSeasons-1.15.2-3.0.0.72-universal.jar Serene Seasons {[email protected] DONE}
VanillaTweaks-1.15.2.1.5.27.jar VanillaTweaks {[email protected] DONE}
MutantBeasts-1.15.2-1.0.7.jar Mutant Beasts {[email protected] DONE}
Bookshelf-1.15.2-5.6.40.jar Bookshelf {[email protected] DONE}
WAWLA-1.15.2-3.0.2.jar WAWLA {[email protected] DONE}
snowundertrees-1.15.2-v1.1.1.jar Snow Under Trees {[email protected] DONE}
guardvillagers-1.15.2-1.0.8.jar Guard Villagers {[email protected] DONE}
EnhancedVanilla_Snapshot_20w23a-Forge-1.15.2.31.2.0.jar Enhanced Vanilla {enhancedvanilla@Snapshot 20w23a DONE}
simpleplanes-1.15.2-2.0.3.0.jar Simple Planes {[email protected] DONE}
ForgivingVoid_1.15.1-4.0.0.jar Forgiving Void {[email protected] DONE}
mcw-doors-1.0.0-mc1.15.2.jar Macaw's Doors {[email protected] DONE}
Hwyla-forge-1.10.8-B72_1.15.2.jar Waila {waila@version DONE}
CraftTweaker-1.15.2-6.0.0.24.jar CraftTweaker {[email protected] DONE}
Swamp-Expansion-1.15.2-v1.7.1.jar Swamp Expansion {swampexpansion@NONE DONE}
forge-1.15.2-31.2.19-universal.jar Forge {[email protected] DONE}
dragonmounts-1.0.3.jar Dragon Mounts Legacy {[email protected] DONE}
structure-gel-api-1.15.2-1.1.0.jar Structure Gel API {[email protected] DONE}
RottenCreatures-1.15.2-0.9.7.jar Rotten Creatures {[email protected] DONE}
forge-1.15.2-31.2.19-client.jar Minecraft {[email protected] DONE}
The-Endergetic-Expansion-1.15.2-v1.3.2.jar The Endergetic Expansion {[email protected] DONE}
IamMusicPlayer-1.15.2-1.2.jar Iam Music Player {[email protected] DONE}
EnchantmentDescriptions-1.15.2-2.0.8.jar EnchantmentDescriptions {[email protected] DONE}
pandoras_creatures-1.15.2-1.0.0.jar Pandoras Creatures {[email protected] DONE}
MouseTweaks-2.13-mc1.15.1.jar Mouse Tweaks {[email protected] DONE}
Blur-1.1.0-1.jar Blur {[email protected] DONE}
pamhc2crops-1.15.2-1.0.5.jar Pam's HarvestCraft 2 Crops {pamhc2crops@version DONE}
dungeons-plus-1.15.2-1.0.2.jar Dungeons Plus {[email protected] DONE}
RecallPotionMod-1.2.0.jar Recall Potion Mod {[email protected] DONE}
Seeker-Compass-1.15.2.v1.0.0.jar Seeker Compass {[email protected] DONE}
Atmospheric-1.15.2-1.4.0.jar Atmospheric {[email protected] DONE}
Bountiful-1.15.2-3.1.1.jar Bountiful {[email protected] DONE}
paintings-1.15.2-7.0.0.0.jar Paintings ++ {[email protected] DONE}
pamhc2foodcore-1.15.2-1.0.3.jar Pam's HarvestCraft 2 Food Core {pamhc2foodcore@version DONE}
gravestone-1.17.5.jar Gravestone Mod {[email protected] DONE}
collective-1.15.2-1.35.jar Collective {[email protected] DONE}
autumnity-1.3.2-1.15.2.jar Autumnity {[email protected] DONE}
polymorph-FORGE-1.15.2-0.7.jar Polymorph {[email protected] DONE}
AutoRegLib-1.5-40.jar AutoRegLib {[email protected] DONE}
Quark-r2.1-244.jar Quark {[email protected] DONE}
OreExcavation-1.7.151.jar Ore Excavation {oreexcavation@NONE DONE}
EndReborn+[0.6.0].jar End: Reborn {[email protected] DONE}
DoubleSlabs-1.15-2.4.5.jar Double Slabs {[email protected] DONE}
obfuscate-0.4.3-1.15.2.jar Obfuscate {[email protected] DONE}
vehicle-mod-0.44.1-1.15.2.jar MrCrayfish's Vehicle Mod {[email protected] DONE}
wandering_trapper-1.15.2-0.1.1.jar Wandering Trapper {[email protected] DONE}
cobbler-1.5.1.jar Cobbler {[email protected] DONE}
cfm-7.0.0-pre16-mc1.15.1.jar MrCrayfish's Furniture Mod {[email protected] DONE}
AppleSkin-mc1.15.2-forge-1.0.13.jar AppleSkin {[email protected] DONE}
AI-Improvements-1.15.2-0.3.0.jar AI-Improvements {[email protected] DONE}
productivebees-1.15.2-0.1.15.jar Productive Bees {[email protected] DONE}
byg-1.0.10.jar Oh The Biomes You'll Go {[email protected] DONE}
Charm-1.15.2-1.5.7.jar Charm {[email protected] DONE}
FastLeafDecay-v22.jar FastLeafDecay {fastleafdecay@v22 DONE}
SoundFilters-0.13_for_1.15.2.jar Sound Filters {[email protected]_for_1.15.2 DONE}
BetterMineshaftsForge-1.15.2-1.3.jar YUNG's Better Mineshafts {[email protected] DONE}
thutcore-1.15.2-7.2.1.jar Thut Core {[email protected] DONE, [email protected] DONE}
thuttech-1.15.2-8.2.2.jar Thut Elevators {[email protected] DONE}
WailaHarvestability-mc1.15.2-1.1.12.jar Waila Harvestability {[email protected] DONE}
Launched Version: 1.15.2-forge-31.2.19
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) UHD Graphics 620 GL version 4.5.0 - Build 23.20.16.4973, Intel
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
Resource Packs: vanilla
Current Language: English (US)
CPU: 8x Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
OptiFine Version: OptiFine_1.15.2_HD_U_G1_pre23
OptiFine Build: 20200607-215525
Render Distance Chunks: 9
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 4.5.0 - Build 23.20.16.4973
OpenGlRenderer: Intel(R) UHD Graphics 620
OpenGlVendor: Intel
CpuCount: 8
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Should be fixed in Bountiful 3.3.1 with commit 81dff72!