Groups
Sign in
Groups
Haxe
Conversations
Labels
About
Send feedback
Help
[Haxe3] cpp target Sys.println Critical Error Null Object Reference
32 views
cpp
crash
haxe3
Skip to first unread message
rorsach
unread,
Aug 2, 2013, 12:22:44 PM
8/2/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
It seems that passing a null object to Sys.println causes a Critical Error and the app crashes.
E.g.:
Sys.println(null);
Will cause a crash.
I'm wondering if there should be some kind of error checking to prevent a crash but rather print something sensible?
TopHattedCoder
unread,
Aug 3, 2013, 8:57:50 AM
8/3/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
On what platform does it do this?
rorsach
unread,
Aug 4, 2013, 1:00:10 AM
8/4/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
My bad:
Platform: Windows 7 64 bit.
The executable I'm creating is a simple console app.
Reply all
Reply to author
Forward
0 new messages