Patchouli

Patchouli

168M Downloads

BUG Crash When Opening Entry

OtisGoodman opened this issue ยท 0 comments

commented

When I clicked on one of my new entries I got this.
Below are my crash-repot and my json file.

{
  "name": "How To Use The Guide",
  "icon": "quackcraft:rubber_duck_cyan",
  "category": "category-info",
  "sortnum": 0,
  "priority":true,
  "pages": [
    {
      "type": "text",
      "title":"How To Use The Guide",
      "text": ""
    }



  ]
}


---- Minecraft Crash Report ----
// My bad.

Time: 11/14/18 4:05 PM
Description: Updating screen events

java.lang.NullPointerException: Updating screen events
	at vazkii.patchouli.client.book.gui.GuiBookEntry.isBookmarkedAlready(GuiBookEntry.java:156)
	at vazkii.patchouli.client.book.gui.GuiBookEntry.shouldAddAddBookmarkButton(GuiBookEntry.java:152)
	at vazkii.patchouli.client.book.gui.GuiBook.addBookmarkButtons(GuiBook.java:151)
	at vazkii.patchouli.client.book.gui.GuiBook.initGui(GuiBook.java:94)
	at vazkii.patchouli.client.book.gui.GuiBookEntry.initGui(GuiBookEntry.java:34)
	at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:543)
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1097)
	at vazkii.patchouli.client.book.BookContents.openLexiconGui(BookContents.java:83)
	at vazkii.patchouli.client.book.gui.GuiBookEntry.displayOrBookmark(GuiBookEntry.java:195)
	at vazkii.patchouli.client.book.gui.GuiBookEntryList.actionPerformed(GuiBookEntryList.java:142)
	at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:494)
	at vazkii.patchouli.client.book.gui.GuiBook.mouseClicked(GuiBook.java:245)
	at vazkii.patchouli.client.book.gui.GuiBookEntryList.mouseClicked(GuiBookEntryList.java:114)
	at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:611)
	at vazkii.patchouli.client.book.gui.GuiBook.handleMouseInput(GuiBook.java:268)
	at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576)
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1885)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1187)
	at net.minecraft.client.Minecraft.run(Minecraft.java:441)
	at net.minecraft.client.main.Main.main(Main.java:118)
	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:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	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:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:25)


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

-- Head --
Thread: Client thread
Stacktrace:
	at vazkii.patchouli.client.book.gui.GuiBookEntry.isBookmarkedAlready(GuiBookEntry.java:156)
	at vazkii.patchouli.client.book.gui.GuiBookEntry.shouldAddAddBookmarkButton(GuiBookEntry.java:152)
	at vazkii.patchouli.client.book.gui.GuiBook.addBookmarkButtons(GuiBook.java:151)
	at vazkii.patchouli.client.book.gui.GuiBook.initGui(GuiBook.java:94)
	at vazkii.patchouli.client.book.gui.GuiBookEntry.initGui(GuiBookEntry.java:34)
	at net.minecraft.client.gui.GuiScreen.setWorldAndResolution(GuiScreen.java:543)
	at net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:1097)
	at vazkii.patchouli.client.book.BookContents.openLexiconGui(BookContents.java:83)
	at vazkii.patchouli.client.book.gui.GuiBookEntry.displayOrBookmark(GuiBookEntry.java:195)
	at vazkii.patchouli.client.book.gui.GuiBookEntryList.actionPerformed(GuiBookEntryList.java:142)
	at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:494)
	at vazkii.patchouli.client.book.gui.GuiBook.mouseClicked(GuiBook.java:245)
	at vazkii.patchouli.client.book.gui.GuiBookEntryList.mouseClicked(GuiBookEntryList.java:114)
	at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:611)
	at vazkii.patchouli.client.book.gui.GuiBook.handleMouseInput(GuiBook.java:268)
	at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576)

-- Affected screen --
Details:
	Screen name: vazkii.patchouli.client.book.gui.GuiBookEntry

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [EntityPlayerSP['Otis_Goodman'/52, l='MpServer', x=1138.50, y=13.60, z=113.95]]
	Chunk stats: MultiplayerChunkCache: 625, 625
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: World: (1221,4,137), Chunk: (at 5,0,9 in 76,8; contains blocks 1216,0,128 to 1231,255,143), Region: (2,0; contains chunks 64,0 to 95,31, blocks 1024,0,0 to 1535,255,511)
	Level time: 210353 game time, 1000 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 16 total; [EntityChicken['Chicken'/0, l='MpServer', x=1079.15, y=4.00, z=180.27], EntityDuck['Duck'/1, l='MpServer', x=1094.86, y=4.00, z=110.33], EntityDuck['Duck'/2, l='MpServer', x=1108.73, y=4.00, z=137.05], EntityItemFrame['entity.ItemFrame.name'/3, l='MpServer', x=1121.50, y=9.50, z=167.03], EntityItemFrame['entity.ItemFrame.name'/4, l='MpServer', x=1121.50, y=8.50, z=167.97], EntityVillager['Villager'/5, l='MpServer', x=1147.30, y=7.00, z=139.70], EntityDuck['Duck'/6, l='MpServer', x=1139.91, y=4.00, z=150.68], EntityChicken['Chicken'/8, l='MpServer', x=1164.89, y=4.00, z=49.60], EntityDuck['Duck'/10, l='MpServer', x=1158.47, y=15.00, z=139.35], EntityDuck['Duck'/11, l='MpServer', x=1164.88, y=5.00, z=145.48], EntityVillager['Villager'/12, l='MpServer', x=1154.16, y=4.00, z=141.36], EntityChicken['Chicken'/15, l='MpServer', x=1169.63, y=4.00, z=73.21], EntityDuck['Duck'/16, l='MpServer', x=1183.46, y=4.00, z=74.86], EntityItem['item.item.egg'/17, l='MpServer', x=1168.70, y=4.00, z=72.49], EntitySheep['Sheep'/20, l='MpServer', x=1202.33, y=4.00, z=178.65], EntityPlayerSP['Otis_Goodman'/52, l='MpServer', x=1138.50, y=13.60, z=113.95]]
	Retry entities: 0 total; []
	Server brand: fml,forge
	Server type: Integrated singleplayer server
Stacktrace:
	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:461)
	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2888)
	at net.minecraft.client.Minecraft.run(Minecraft.java:462)
	at net.minecraft.client.main.Main.main(Main.java:118)
	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:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	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:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:25)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_171, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 260782232 bytes (248 MB) / 825229312 bytes (787 MB) up to 1886912512 bytes (1799 MB)
	JVM Flags: 0 total; 
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.42 Powered by Forge 14.23.5.2768 8 mods loaded, 8 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 |
	|:--------- |:-------------- |:--------------- |:-------------------------------- |:--------- |
	| UCHIJAAAA | minecraft      | 1.12.2          | minecraft.jar                    | None      |
	| UCHIJAAAA | mcp            | 9.42            | minecraft.jar                    | None      |
	| UCHIJAAAA | FML            | 8.0.99.99       | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
	| UCHIJAAAA | forge          | 14.23.5.2768    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
	| UCHIJAAAA | baubles        | 1.5.2           | Baubles-1.12-1.5.2.jar           | None      |
	| UCHIJAAAA | quackcraft     | Development 1.3 | Quack_Craft_main                 | None      |
	| UCHIJAAAA | patchouli      | 1.0-7.25        | Patchouli-1.0-7.25.jar           | None      |
	| UCHIJAAAA | custommainmenu | 2.0.8           | CustomMainMenu.jar               | None      |

	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4358' Renderer: 'Intel(R) HD Graphics 4000'
	Launched Version: 1.12.2
	LWJGL: 2.9.4
	OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4358, Intel
	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: 
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 4x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz