Uncaught exception - Invalid array access

Hello. I’m debug my game project with

openfl test windows - neko

and have a strange exception

Called from ? line 1
Called from ApplicationMain.hx line 138
Called from ApplicationMain.hx line 26
Called from lime/app/Preloader.hx line 64
Called from openfl/display/Preloader.hx line 93
Called from NMEPreloader.hx line 107
Called from openfl/events/EventDispatcher.hx li
Called from openfl/display/DisplayObject.hx lin
Called from openfl/events/EventDispatcher.hx li
Called from openfl/display/Preloader.hx line 12
Called from lime/app/Preloader.hx line 249
Called from lime/app/Event.hx line 141
Called from ApplicationMain.hx line 82
Called from ApplicationMain.hx line 168
Called from C:\HaxeToolkit\haxe\std/neko/_std/T
Called from ApplicationMain.hx line 207
Called from ApplicationMain.hx line 234
Called from Main.hx line 189
Uncaught exception - Invalid array access
AL lib: (EE) alc_cleanup: 1 device not closed

I’m using haxelibs
actuate: [1.8.6]
box2d: [1.2.3]
hxcpp: [3.2.180]
layout: [1.2.1]
lime-samples: [2.6.0]
lime: [2.6.9]
openfl-samples: [3.3.1]
openfl: [3.3.9]
swf: [2.1.2]

latest version of haxe compiler

C:\Users\n06rin\Desktop\openfl\DisplayingABitmap>h
Haxe Compiler 3.2.1 - (C)2005-2015 Haxe Foundation

and nekoVm
C:\Users\n06rin\Desktop\openfl\DisplayingABitmap>n
NekoVM 2.0.0 ©2005-2013 Haxe Foundation

I’m google and found this article
https://bugs.launchpad.net/ubuntu/+source/haxe/+bug/1251221
So, If I’m compile for flash target everything work.

I’m need to download latest nekoVM?
Where I can do that?
At https://github.com/HaxeFoundation/neko I see link to nightly build. It is what I need?

What’s happening at Main 189? Is it an array, a ByteArray…? Thanks :slight_smile:

it was be array of objects.

Anyway, I’m donwload nightbuild of neko… and it now saying that out of memory :smile:
Maybe I need more optimizes algorhytm.