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.

#1

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

#2

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.

#3

Status:open» confirmed

Confirmed in svn.

#4

Status:confirmed» fixed

Fixed in rev. 1194.

#5

Status:fixed» closed

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