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

Posts: 10
Registered: ‎01-22-2013
My Device: Torch 9800
My Carrier: Bell Canada

Uncaught exception: Application net_rim_bb_trust_application_manager (334) is not responding



When my application is installed using the BLACKBERRY DESKTOP SOFTWARE, it crashes and burns, ending in the message: Uncaught exception: Application net_rim_bb_trust_application_manager (334) is not responding: process terminated.


My application is configured to Auto-run on startup, so it automatically begins to run/execute immediately after it is installed.  However, it should also be mentioned that no exceptions are thrown when my application automatically begins to run/execute after the device is hard rebooted (BlackBerry even prompts for the end-user to trust the application after a reboot)..


I suspect that this issue is due to a lack of a graphical user interface -- that is to say that I suspect that the BlackBerry Trust Application expects my application to be in some sort of state that occurs when a BlackBerry application displays a window, but it is not in that state.  Another possibility is the code attempting to do something that requires trust, prior to trust being provided, but I do not understand why this is not an issue upon reboot.


Oh, and it also merits mention that my application installs and executes perfectly well, when installed via the Eclipse IDE debugging session.


Many approaches have been attempted to resolve this issue... the start-up code of my application follows:

package com.telecost.bbshadow;


import net.rim.device.api.system.ApplicationManager;
import net.rim.device.api.system.SystemListener;
import net.rim.device.api.ui.UiApplication;


public class ShadowApp extends UiApplication implements SystemListener {

 public static void main(String[] args) {
  ShadowApp appInstance = new ShadowApp();      
  if (ApplicationManager.getApplicationManager().inStartup()) {
  } else {

 public ShadowApp() { }

 private void doStartupWorkLater() {
  invokeLater(new Runnable() {
   public void run() {
 private void doStartupWork() {
  ApplicationManager myApp = ApplicationManager.getApplicationManager();
  while(myApp.inStartup()) {
   try {
   } catch(Exception e) {
    // Catch Exception
  if (DataContext.dataContext.TermsAccepted()) {
  } else {
   // pushModalScreen(new ShadowScreen());
   pushScreen(new ShadowScreen());

 public void batteryGood() {
  // TODO Auto-generated method stub
 public void batteryLow() {
  // TODO Auto-generated method stub
 public void batteryStatusChange(int status) {
  // TODO Auto-generated method stub
 public void powerOff() {
  // TODO Auto-generated method stub
 public void powerUp() {