08-11-2011 10:34 AM
Hi all,
I have a bit of an intriguing problem. I am loading an app will a splashscreen and about half the time I get a no stack trace error. The splashscreen is pushed while I am getting data and images from a remote server, then parsing the data. This is the code I get a no stack trace on:
_app.invokeLater( new Runnable() {
public void run() {
// This represents the next step after loading. This just shows
// a dialog, but you could push the applications main menu screen.
try {
getUiEngine().pushScreen(new DirectoryScreen(sqlmanager));
_app.getActiveScreen().getScreenBelow().close();
} catch (Exception e) {
// TODO Auto-generated catch block
System.out.println("in the runnable exception: " + e.getMessage());
e.printStackTrace();
}
}
});
Typically, the error message is something like "in the runnable exception: Index -3 >= 4
Help!
Solved! Go to Solution.
08-11-2011 10:45 AM
Check the code in DirectoryScreen. Use a step by step debugging...