EnderWiggin / Custom-Salem

client for Salem MMO
Other
22 stars 23 forks source link

Crash when selecting item in craft window #13

Closed EnderWiggin closed 9 years ago

EnderWiggin commented 9 years ago

Happens if item has some resources needed for tooltip not loaded. Stack trace:

#<Resource gfx/invobjs/shellfish>
    at haven.Resource$4.get(Resource.java:1490)
    at haven.Resource$4.get(Resource.java:1485)
    at haven.GobbleEventInfo.longtip(GobbleEventInfo.java:23)
    at haven.ItemInfo.longtip(ItemInfo.java:156)
    at haven.GobbleInfo.<init>(GobbleInfo.java:59)
    at haven.GobbleInfo$Data.create(GobbleInfo.java:124)
    at haven.ItemData.longtip(ItemData.java:66)
    at haven.CraftWnd.updateDescription(CraftWnd.java:178)
    at haven.CraftWnd.setCurrent(CraftWnd.java:138)
    at haven.CraftWnd.select(CraftWnd.java:122)
    at haven.MenuGrid.selectCraft(MenuGrid.java:525)
    at haven.MenuGrid.use(MenuGrid.java:482)
    at haven.CraftWnd$1.itemclick(CraftWnd.java:48)
    at haven.CraftWnd$1.itemclick(CraftWnd.java:37)
    at haven.Listbox.mousedown(Listbox.java:112)
    at haven.Widget.mousedown(Widget.java:528)
    at haven.Window.mousedown(Window.java:221)
    at haven.Widget.mousedown(Widget.java:528)
    at haven.GameUI.mousedown(GameUI.java:1170)
    at haven.Widget.mousedown(Widget.java:528)
    at haven.UI.mousedown(UI.java:301)
    at haven.HavenPanel.dispatch(HavenPanel.java:391)
    at haven.HavenPanel.run(HavenPanel.java:444)
    at java.lang.Thread.run(Unknown Source)