Compiled Error.

Hi.
Compiled an application for Linux, which before had no problem.

Now when executing it says:

 An exception of class NilObjectException was not handled. The application must shut down.

And it never gets executed.

What can be ?

Somewhere in your program you are attempting to reference an object of some kind that has never been instantiated…

And they can be quite difficult to find sometimes…

Something is different between debug and build. Check your IDE scripts first. Then have your app create a log file. At every method that is executed during start add something like

[code]Globals.theErrorLog.logitem currentMethodName, “open”

'your code here

Globals.theErrorLog.logitem currentMethodName + " done", “close”[/code]

And every method and event should have a custom exception handler:

exception exc theException = new ErrorException(exc, currentMethodName)

The 2 lines write info about the exception to the log handler and open a window that collects all session and crash logs. Then the window can send all info to me.

Yes, FolderItem. A child floder thtat not exist.
Solved.