Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Regular Contributor
Posts: 83
Registered: ‎05-24-2011
My Device: Storm 9550
My Carrier: XXX
Accepted Solution

No stack trace - only some of the time with SplashScreen

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));
								} catch (Exception e) {
									// TODO Auto-generated catch block
									System.out.println("in the runnable exception: " + e.getMessage());



Typically, the error message is something like "in the runnable exception: Index -3 >= 4




Posts: 713
Registered: ‎05-31-2010
My Device: 8520
My Carrier: Movistar

Re: No stack trace - only some of the time with SplashScreen

Check the code in DirectoryScreen. Use a step by step debugging...