haxeui / haxeui-hxwidgets

The hxWidgets backend of the HaxeUI framework -
http://haxeui.org
MIT License
23 stars 7 forks source link

Runtime Error: native.xml classes (Haxe 3.4) #4

Closed aW4KeNiNG closed 7 years ago

aW4KeNiNG commented 7 years ago

Hi.

The new Haxe 3.4 version doesn't compile the classes in the native.xml file. The haxe.ui.backend.hxwidgets.size.* and haxe.ui.backend.hxwidgets.behaviours.*. With 3.2.1 it works fine.

Stacktrace:

Called from hxcpp::__hxcpp_main
Called from Main::main Main.hx line 13
Called from haxe.ui.HaxeUIApp::ready haxe/ui/HaxeUIApp.hx line 16
Called from haxe.ui.HaxeUIApp::init haxe/ui/HaxeUIApp.hx line 25
Called from haxe.ui.backend.AppBase::init haxe/ui/backend/AppBase.hx line 69
Called from Main::main Main.hx line 149
Called from haxe.ui.components.Button::new haxe/ui/components/Button.hx line 21
Called from haxe.ui.core.InteractiveComponent::new haxe/ui/core/InteractiveComponent.hx line 11
Called from haxe.ui.core.Component::new haxe/ui/core/Component.hx line 59
Called from haxe.ui.core.Component::addClass haxe/ui/core/Component.hx line 705
Called from haxe.ui.core.Component::invalidateStyle haxe/ui/core/Component.hx line 1609
Called from haxe.ui.components.Button::applyStyle haxe/ui/components/Button.hx line 80
Called from haxe.ui.core.Component::applyStyle haxe/ui/core/Component.hx line 1633
Called from haxe.ui.core.Component::set_native haxe/ui/core/Component.hx line 220
Called from haxe.ui.components.Button::create haxe/ui/components/Button.hx line 39
Called from haxe.ui.core.Component::create haxe/ui/core/Component.hx line 83
Called from haxe.ui.core.Component::createLayout haxe/ui/core/Component.hx line 115
Error : Null Object Reference
aW4KeNiNG commented 7 years ago

It works now with 3.4.0 git version. It is a problem with 3.4.0-rc1.