Client crash on Escape.

Forum for bugs and technical problems.

Client crash on Escape.

Postby soos » Mon Jun 08, 2015 7:37 pm

After I press Escape client crashes with error:

Code: Select all
haven.UI$UIException: Wdgmsg sender (haven.LocalMiniMap) is not in rwidgets
   at haven.UI.wdgmsg(UI.java:197)
   at haven.Widget.wdgmsg(Widget.java:480)
   at haven.Widget.wdgmsg(Widget.java:482)
   at haven.GameUI.wdgmsg(GameUI.java:641)
   at haven.Widget.wdgmsg(Widget.java:482)
   at haven.Window.wdgmsg(Window.java:219)
   at haven.Widget.wdgmsg(Widget.java:475)
   at haven.Window.type(Window.java:227)
   at haven.Widget.type(Widget.java:596)
   at haven.ConsoleHost.type(ConsoleHost.java:120)
   at haven.Widget.type(Widget.java:596)
   at haven.ConsoleHost.type(ConsoleHost.java:120)
   at haven.UI.type(UI.java:227)
   at haven.HavenPanel.dispatch(HavenPanel.java:401)
   at haven.HavenPanel.run(HavenPanel.java:438)
   at java.lang.Thread.run(Thread.java:745)
soos
 
Posts: 22
Joined: Wed Nov 14, 2012 3:33 pm
Location: Saint-Petersburg, Russian Federation

Re: Client crash on Escape.

Postby EnderWiggin » Mon Jun 08, 2015 8:39 pm

Is this default client or one of the custom ones?
User avatar
EnderWiggin
 
Posts: 339
Joined: Wed Aug 01, 2012 9:12 am
Location: Ukraine

Re: Client crash on Escape.

Postby soos » Tue Jun 09, 2015 6:32 pm

EnderWiggin wrote:Is this default client or one of the custom ones?


Client: Default
OS: Linux x64
Java: jre7-openjdk 7.u79_2.5.5-1
soos
 
Posts: 22
Joined: Wed Nov 14, 2012 3:33 pm
Location: Saint-Petersburg, Russian Federation

Re: Client crash on Escape.

Postby EnderWiggin » Wed Jun 10, 2015 8:56 pm

It looks like John Carver should stop modding loftar's client and leave it to professionals ¦]. John, since minimap is purely client-side, it has no server-side id, so client crashes when this window tries to close normally. You need to catch esc symbol in type (or globtype, can't remember) and just call ui.destroy(this);
User avatar
EnderWiggin
 
Posts: 339
Joined: Wed Aug 01, 2012 9:12 am
Location: Ukraine

Re: Client crash on Escape.

Postby LOMS » Wed Jun 10, 2015 9:49 pm

EnderWiggin wrote:It looks like John Carver should stop modding loftar's client and leave it to professionals ¦]. John, since minimap is purely client-side, it has no server-side id, so client crashes when this window tries to close normally. You need to catch esc symbol in type (or globtype, can't remember) and just call ui.destroy(this);

I assume this will close minimap without a possibility to open it again ¦]
User avatar
LOMS
 
Posts: 568
Joined: Wed Aug 01, 2012 3:09 am
Location: Mordor, Russia

Re: Client crash on Escape.

Postby EnderWiggin » Thu Jun 11, 2015 11:12 am

LOMS wrote:I assume this will close minimap without a possibility to open it again ¦]
But there won't be any crashes!
User avatar
EnderWiggin
 
Posts: 339
Joined: Wed Aug 01, 2012 9:12 am
Location: Ukraine

Re: Client crash on Escape.

Postby soos » Mon Jun 15, 2015 11:32 am

EnderWiggin wrote:It looks like John Carver should stop modding loftar's client and leave it to professionals ¦]. John, since minimap is purely client-side, it has no server-side id, so client crashes when this window tries to close normally. You need to catch esc symbol in type (or globtype, can't remember) and just call ui.destroy(this);

Pull requests is the right way.
soos
 
Posts: 22
Joined: Wed Nov 14, 2012 3:33 pm
Location: Saint-Petersburg, Russian Federation


Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 13 guests