When closing after fullscreen, nullpointerexception

Project:AgateLib
Version:0.3.x-dev
Component:Core
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

i get a nullpointer exception in Window at line 179
if (frameBuffer == null || frameBuffer.Impl != Impl.FrameBuffer)

Impl is null.

i close the window with this.Quit() in the Update Method of AgateGame.

meno
Posted - Wed, 01/27/2010 - 04:39

has nothing to do with anything but i saw this in the same DisplayWindow class

public int Height
{
get { return Size.Height; }
set
{
Size = new Size(Size.Width, Size.Height);
}
}

i think there is an overlook

meno
Posted - Wed, 01/27/2010 - 13:23

actually, this seems to happen only on windows and just when closing with a keyboardpress within the update method.

this now happens too when closing a normal window with keyboardpress.

kanato
Posted - Wed, 01/27/2010 - 17:51
Status:open» confirmed

Confirmed in svn.

kanato
Posted - Thu, 01/28/2010 - 09:32
Status:confirmed» fixed

Fixed in rev. 1194.

kanato
Posted - Fri, 02/12/2010 - 00:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.