VA 8.5: Fatal Application Error exit dialog

112 views
Skip to first unread message

Marten Feldtmann

unread,
Nov 11, 2011, 4:08:36 PM11/11/11
to va-sma...@googlegroups.com
According to the documentation:

" User error codes from 9000 through 9099 will suppress the display of the Fatal Application Error dialog box."

if this is true, how is this possible ? And another question: how can I get rid of this ?




Marten Feldtmann

unread,
Nov 11, 2011, 7:01:11 PM11/11/11
to va-sma...@googlegroups.com
I forgot the dialog
FatalapErrrDialog.png

Marten Feldtmann

unread,
Nov 12, 2011, 3:46:23 AM11/12/11
to va-sma...@googlegroups.com
On the other hand: why does esvio.exe at all gives such GUI interaction - its a headless application.


Marten Feldtmann

unread,
Nov 15, 2011, 9:19:59 AM11/15/11
to va-sma...@googlegroups.com
Any idea about this ?

Louis LaBrunda

unread,
Nov 16, 2011, 9:26:17 AM11/16/11
to va-sma...@googlegroups.com
Hi Marten,

I have used "System exit: 9001 withObject: nil" from a VAST 8.0.3 NT service image without a problem or dialog?

Lou

jtu...@objektfabrik.de

unread,
Nov 16, 2011, 9:55:15 AM11/16/11
to va-sma...@googlegroups.com
Lou, Marten,

same here: I use 9001 to signal a failed automated build to hudson, and there's never any dialog or anything. The image gets called by a batch file. But I start abt.exe, not esvio.exe.

So maybe this is a specialty of esvio.exe...?

Marten Feldtmann

unread,
Nov 16, 2011, 5:08:39 PM11/16/11
to va-sma...@googlegroups.com
"System exit: 9001 withObject: nil" under abt.exe works here also. I had to use "System primitiveExit: 9001 withObject: nil" under esvio.exe, because "System exit: 9001 withObject: nil" does not fully work under esvio.exe: it seems to kill lots of stuff within the image (Seaside is not working/serving any more), but it does NOT exit the application.

jtu...@objektfabrik.de

unread,
Nov 16, 2011, 7:36:08 PM11/16/11
to va-sma...@googlegroups.com
okay...

so here's the question for Instantiations: what is the difference between exit:withObject: and primitiveExit:withObject: and which is intended for what?

And while somebody is digging in the docs: maybe some info on the 9001 and up range for the value would also be helpful.

Thanks

Joachim

Marten Feldtmann

unread,
Nov 17, 2011, 1:32:12 AM11/17/11
to va-sma...@googlegroups.com
It's documented under "VA Smalltalk Virtual Machine API : Primitive error codes":

"Users can add new error codes with values above EsPrimErrMinUserError. User error codes from 9000 through 9099 will suppress the display of the Fatal Application Error dialog box."
Reply all
Reply to author
Forward
0 new messages