Logistics Pipes

Logistics Pipes

13M Downloads

[Crash] NPE Updating screen events when you click on "Save as Image" in the crafting monitor

davisjw opened this issue ยท 0 comments

commented

versions:

  • minecraft: 1.12.2
  • forge: 14.23.5.2847
  • logistics pipes: 0.10.2.214

Repeat steps: in Request Table with Crafting monitor upgrade craft an item, open the crafting job, click on more button, click on "Save as image" button.

`Time: 12/16/19 9:52 PM
Description: Updating screen events

java.lang.NullPointerException: Updating screen events
at javax.imageio.ImageIO.write(ImageIO.java:1538)
at logisticspipes.gui.popup.RequestMonitorPopup.saveImage(RequestMonitorPopup.java:283)
at logisticspipes.gui.popup.RequestMonitorPopup.saveTreeToImage(RequestMonitorPopup.java:271)
at logisticspipes.gui.popup.RequestMonitorPopup.func_146284_a(RequestMonitorPopup.java:133)
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:443)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533)
at logisticspipes.utils.gui.SubGuiScreen.handleMouseInputSub(SubGuiScreen.java:127)
at logisticspipes.utils.gui.SubGuiScreen.func_146274_d(SubGuiScreen.java:122)
at logisticspipes.utils.gui.LogisticsBaseGuiScreen.func_146274_d(LogisticsBaseGuiScreen.java:355)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1759)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
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:

-- Head --
Thread: Client thread
Stacktrace:
at javax.imageio.ImageIO.write(ImageIO.java:1538)
at logisticspipes.gui.popup.RequestMonitorPopup.saveImage(RequestMonitorPopup.java:283)
at logisticspipes.gui.popup.RequestMonitorPopup.saveTreeToImage(RequestMonitorPopup.java:271)
at logisticspipes.gui.popup.RequestMonitorPopup.func_146284_a(RequestMonitorPopup.java:133)
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:443)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533)
at logisticspipes.utils.gui.SubGuiScreen.handleMouseInputSub(SubGuiScreen.java:127)
at logisticspipes.utils.gui.SubGuiScreen.func_146274_d(SubGuiScreen.java:122)
at logisticspipes.utils.gui.LogisticsBaseGuiScreen.func_146274_d(LogisticsBaseGuiScreen.java:355)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501)

-- Affected screen --
Details:
Screen name: logisticspipes.gui.orderer.GuiRequestTable

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['davisjw'/108094, l='MpServer', x=1859.50, y=63.00, z=1388.10]]
Chunk stats: MultiplayerChunkCache: 289, 289
Level seed: 0
Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (22,64,212), Chunk: (at 6,4,4 in 1,13; contains blocks 16,0,208 to 31,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 58636159 game time, 20325072 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 83 total; [MoCEntityGoldFish['GoldFish'/122881, l='MpServer', x=1795.32, y=61.62, z=1453.25], MoCEntityPiranha['Piranha'/122880, l='MpServer', x=1795.50, y=61.64, z=1455.50], MoCEntityCrab['Crab'/122883, l='MpServer', x=1911.50, y=49.00, z=1348.85], MoCEntityPiranha['Piranha'/122882, l='MpServer', x=1909.50, y=61.61, z=1344.50], MoCEntityCrab['Crab'/122885, l='MpServer', x=1917.32, y=51.00, z=1355.67], MoCEntityCrab['Crab'/122884, l='MpServer', x=1915.50, y=49.00, z=1348.85], MoCEntityMouse['Mouse'/122887, l='MpServer', x=1807.23, y=34.00, z=1432.65], MoCEntityCrab['Crab'/122886, l='MpServer', x=1908.60, y=48.00, z=1333.40], MoCEntityCrab['Crab'/122891, l='MpServer', x=1932.54, y=54.00, z=1349.50], MoCEntityPiranha['Piranha'/122894, l='MpServer', x=1937.28, y=62.00, z=1356.85], MoCEntityCrab['Crab'/123419, l='MpServer', x=1842.73, y=49.00, z=1335.28], EntityItem['item.item.exoticbirds.swan_egg'/143903, l='MpServer', x=1912.78, y=74.00, z=1383.68], MoCEntityCrab['Crab'/123423, l='MpServer', x=1828.20, y=49.00, z=1342.77], MoCEntityAngelFish['AngelFish'/123422, l='MpServer', x=1843.50, y=61.56, z=1317.50], MoCEntityPiranha['Piranha'/123427, l='MpServer', x=1913.85, y=61.78, z=1314.53], MoCEntityPiranha['Piranha'/123429, l='MpServer', x=1913.51, y=62.29, z=1313.03], MoCEntityPiranha['Piranha'/123428, l='MpServer', x=1913.50, y=61.43, z=1312.50], MoCEntityCrab['Crab'/123431, l='MpServer', x=1903.15, y=48.41, z=1339.50], EntityCartChest['Chest Cart'/123435, l='MpServer', x=1942.51, y=28.00, z=1343.69], EntityZombie['Zombie'/123439, l='MpServer', x=1792.74, y=18.00, z=1339.50], EntityZombie['Zombie'/123438, l='MpServer', x=1790.25, y=18.00, z=1337.54], EntityZombie['Zombie'/123440, l='MpServer', x=1800.58, y=39.00, z=1334.81], EntityButterfly['Black Swallowtail'/115251, l='MpServer', x=1864.25, y=122.34, z=1418.29], EntitySwan['Swan'/115250, l='MpServer', x=1865.50, y=113.00, z=1423.20], EntityButterfly['Black Swallowtail'/115252, l='MpServer', x=1860.51, y=120.75, z=1421.88], EntityItem['item.item.exoticbirds.swan_egg'/143931, l='MpServer', x=1855.97, y=118.00, z=1416.20], EntityItemFrame['entity.ItemFrame.name'/121941, l='MpServer', x=1856.50, y=66.50, z=1388.97], EntityCartChest['Chest Cart'/132235, l='MpServer', x=1954.50, y=29.06, z=1286.50], EntityItem['item.item.exoticbirds.swan_egg'/144046, l='MpServer', x=1900.98, y=63.00, z=1380.17], EntityItemFrame['entity.ItemFrame.name'/48842, l='MpServer', x=1855.50, y=66.50, z=1388.97], EntityItemFrame['entity.ItemFrame.name'/48843, l='MpServer', x=1854.50, y=66.50, z=1388.97], EntityItemFrame['entity.ItemFrame.name'/48844, l='MpServer', x=1853.50, y=66.50, z=1388.97], EntityBrainyZombie['Angry Zombie'/122575, l='MpServer', x=1919.25, y=32.00, z=1419.45], EntityDoeKiko['Kiko Doe'/122576, l='MpServer', x=1918.09, y=96.00, z=1400.01], EntityBuckKiko['Kiko Buck'/122583, l='MpServer', x=1888.97, y=87.00, z=1395.00], EntityItem['item.item.feather'/144100, l='MpServer', x=1919.62, y=92.00, z=1411.66], EntityItem['item.item.exoticbirds.swan_egg'/144105, l='MpServer', x=1822.78, y=60.00, z=1412.40], EntityCowHereford['Hereford Cow'/122607, l='MpServer', x=1892.94, y=80.00, z=1381.43], EntitySwan['Swan'/122610, l='MpServer', x=1901.83, y=63.00, z=1380.46], EntitySwan['Swan'/122613, l='MpServer', x=1912.78, y=74.00, z=1384.50], EntityDoeKiko['Kiko Doe'/122612, l='MpServer', x=1894.09, y=80.00, z=1386.19], EntityEweDorset['Dorset Ewe'/108282, l='MpServer', x=1918.13, y=108.00, z=1441.90], EntityItem['item.item.exoticbirds.duck_egg'/144158, l='MpServer', x=1824.60, y=77.00, z=1418.85], MoCEntityAnt['Ant'/122699, l='MpServer', x=1855.50, y=75.00, z=1446.98], MoCEntityCrab['Crab'/122698, l='MpServer', x=1855.50, y=78.00, z=1460.23], EntitySkeletonHorse['Skeleton Horse'/122709, l='MpServer', x=1822.37, y=62.30, z=1415.75], EntitySkeletonHorse['Skeleton Horse'/122708, l='MpServer', x=1825.53, y=62.31, z=1415.36], EntityHenPlymouthRock['Plymouth Rock Hen'/122711, l='MpServer', x=1833.49, y=75.00, z=1414.25], EntityDuck['Duck'/122710, l='MpServer', x=1824.93, y=77.00, z=1418.70], EntityDoeKiko['Kiko Doe'/122713, l='MpServer', x=1837.04, y=92.00, z=1414.35], MoCEntityCrab['Crab'/122715, l='MpServer', x=1833.45, y=94.00, z=1435.96], MoCEntityHorse['WildHorse'/122714, l='MpServer', x=1839.50, y=93.00, z=1429.50], EntityBoat['Boat'/122716, l='MpServer', x=1867.31, y=62.52, z=1364.83], MoCEntityCrab['Crab'/122731, l='MpServer', x=1921.50, y=59.00, z=1371.15], MoCEntityAnt['Ant'/115605, l='MpServer', x=1892.98, y=80.00, z=1440.91], MoCEntityBee['Bee'/115607, l='MpServer', x=1892.30, y=80.00, z=1435.53], EntityGoat['Goat'/115606, l='MpServer', x=1898.91, y=80.00, z=1424.98], EntityCartBasic['entity.cart_basic.name'/115610, l='MpServer', x=1858.50, y=1.06, z=1433.50], EntitySkeletonHorse['Skeleton Horse'/122801, l='MpServer', x=1811.81, y=61.98, z=1367.07], EntitySkeletonHorse['Skeleton Horse'/122800, l='MpServer', x=1812.28, y=62.56, z=1365.64], MoCEntityCrab['Crab'/122802, l='MpServer', x=1807.50, y=52.38, z=1372.15], EntityZombie['Zombie'/122805, l='MpServer', x=1823.88, y=10.05, z=1455.26], EntityDuck['Duck'/122807, l='MpServer', x=1819.70, y=63.01, z=1409.30], EntityBooby['Booby'/122806, l='MpServer', x=1820.75, y=63.34, z=1410.25], EntitySwan['Swan'/122809, l='MpServer', x=1822.03, y=63.00, z=1411.55], EntityBooby['Booby'/122808, l='MpServer', x=1821.30, y=63.21, z=1411.25], EntitySeagull['Seagull'/122810, l='MpServer', x=1820.70, y=62.61, z=1416.65], MoCEntityCrab['Crab'/128469, l='MpServer', x=1887.51, y=48.00, z=1310.49], EntitySwan['Swan'/115675, l='MpServer', x=1856.46, y=118.00, z=1416.78], EntityHogHampshire['Hampshire Hog'/115679, l='MpServer', x=1919.93, y=93.00, z=1412.07], EntityRoosterPlymouthRock['Plymouth Rock Rooster'/115683, l='MpServer', x=1922.12, y=104.00, z=1410.30], EntityDoeKiko['Kiko Doe'/115682, l='MpServer', x=1920.35, y=93.00, z=1413.35], EntityKingfisher['Kingfisher'/115686, l='MpServer', x=1922.74, y=113.00, z=1416.49], MoCEntityCrab['Crab'/122873, l='MpServer', x=1806.68, y=52.00, z=1379.30], MoCEntityCrab['Crab'/122872, l='MpServer', x=1833.85, y=49.41, z=1350.50], EntityPlayerSP['davisjw'/108094, l='MpServer', x=1859.50, y=63.00, z=1388.10], MoCEntityPiranha['Piranha'/122875, l='MpServer', x=1851.50, y=9.11, z=1357.50], MoCEntityPiranha['Piranha'/122874, l='MpServer', x=1850.50, y=9.51, z=1355.50], EntityCartChest['Chest Cart'/122876, l='MpServer', x=1806.50, y=25.06, z=1403.20], MoCEntityPiranha['Piranha'/128508, l='MpServer', x=1911.74, y=62.52, z=1311.69], MoCEntityPiranha['Piranha'/122879, l='MpServer', x=1806.50, y=9.74, z=1459.50], EntityItem['item.item.feather'/143868, l='MpServer', x=1832.26, y=71.00, z=1414.59], MoCEntityPiranha['Piranha'/122878, l='MpServer', x=1801.53, y=60.93, z=1363.03]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Non-integrated multiplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:532)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2741)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:419)
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)`