Neko: Invalid operation (+)

45 views
Skip to first unread message

Justin C.

unread,
Oct 24, 2015, 8:12:16 PM10/24/15
to HaxeFlixel
For some odd reason, Neko can't add. I'm not sure why this is. Here's the full error message:

AL lib: (EE) alc_cleanup: 1 device not closed
Invalid operation (+)
Called from PlayState::playerTouchFuel line 301
Called from flixel.system.FlxQuadTree::overlapNode line 663
Called from flixel.system.FlxQuadTree::execute line 587
Called from flixel.system.FlxQuadTree::execute line 600
Called from flixel.system.FlxQuadTree::execute line 596
Called from flixel.system.FlxQuadTree::execute line 608
Called from flixel.FlxG::overlap line 339
Called from PlayState::update line 212
Called from flixel.FlxState::tryUpdate line 155
Called from flixel.FlxGame::update line 700
Called from flixel.FlxGame::step line 648
Called from flixel.FlxGame::onEnterFrame line 493
Called from openfl._legacy.events.EventDispatcher::dispatchEvent line 98
Called from openfl._legacy.display.DisplayObject::__dispatchEvent line 182
Called from openfl._legacy.display.DisplayObject::__broadcast line 161
Called from openfl._legacy.display.DisplayObjectContainer::__broadcast line 286
Called from openfl._legacy.display.Stage::__render line 1103
Called from openfl._legacy.display.Stage::__checkRender line 351
Called from openfl._legacy.display.Stage::__pollTimers line 1084
Called from openfl._legacy.display.Stage::__doProcessStageEvent line 430

One more thing, this error happens when playing the game.

SruloArt

unread,
Oct 25, 2015, 9:45:40 AM10/25/15
to HaxeFlixel
* Google it, it's more complicated than that.
* Maybe something in playerTouchFuel is null, causing a quick crash, causing OpenAL to not close the audio device.

Justin C.

unread,
Oct 25, 2015, 10:30:40 AM10/25/15
to HaxeFlixel
The problem most likely has to do with the variable being null. Thanks ^)^
Reply all
Reply to author
Forward
0 new messages