title: Midlet crashes when calling bluetooth API
body: <p>When I run following code on my phone I get black screen saying there was uncaught exception but whole block is wrapped in try/catch block so it is weird, anyway when I proceed with execution code just gets to "Getting device.." so it obviously fails on this line:</p>
  
  <pre><code>   LocalDevice local = LocalDevice.getLocalDevice();
  </code></pre>
  
  <p>Here is whole method:</p>
  
  <pre><code> public void startBT() 
              {
              try 
                      {
                          f.append("Getting device..");
                          LocalDevice local = LocalDevice.getLocalDevice();
                          f.append("Got local device..");
                          DiscoveryAgent agent = local.getDiscoveryAgent();
                          f.append("Got local discovery agent..");
                          connString = agent.selectService(new UUID(
                                  "86b4d249fb8844d6a756ec265dd1f6a3", false),
                                  ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false);
                          f.append("Got connection string - &gt;" + connString);
              } 
                      catch (Exception ex) 
                      {
                          Alert message = new Alert("info");
                          message.setString(ex.getMessage());
                          Display.getDisplay(this).setCurrent(message);
              }
  }
  </code></pre>
  
  <p>Any ideas?</p>