Known issues

This section lists known issues for the BlackBerry® Java® SDK 6.0 bundle 52.

BlackBerry APIs

The UiAction class is missing a constructor. (764904)

Impact: Any class that extends UiAction will fail to build with a "cannot find symbol" error on the class.

Workaround: None

The DOMMessageProcessor, XMLHashtableMessageProcessor, RSSMessageProcessor, and GUNZIPMessageProcessor classes are unable to process ByteMessage. (751220)

Impact: A ClassCastException is thrown when you invoke parse() using any of the mentioned message processor classes.

Workaround: Use StreamMessage instead of ByteMessage.

The TouchGesture.getSwipeDirection() method returns 0 when the gesture is not a swipe. However, the API reference says that the method returns -1 when the gesture is not a swipe. (736556)

Impact: This could create confusion in applications.

Workaround: Use the value 0 to check that a gesture is not a swipe.

A BrowserField with its navigation mode set to NAVIGATION_MODE_POINTER does not release focus to other UI components on the screen. (735608)

Impact: You cannot use any other UI components on the screen if focus has been given to the BrowserField. (732844)

Workaround: Use the BrowserField with the navigation mode set to NAVIGATION_MODE_DEFAULT or NAVIGATION_MODE_NODE.

If you try to load web content in a BrowserField using a ButtonField, an IllegalStateException with the message "tried to remove FieldWithFocus" is thrown.

Impact: You cannot load web content in a BrowserField using a ButtonField.

Workaround: None

If you send a message by using BlockingSenderDestination.sendReceiveAsFuture(), invoking MessageFuture.get() after receiving or cancelling the message blocks the thread. (720034)

Impact: Thread can be blocked indefinitely.

Workaround: Exit the application.

The deprecated class AddressBookFieldFactory recommends using a non-existing alternative API. (716481)

Impact: It is not clear what API to use in place of this API.

Workaround: Use LinkedContactUtilities.registerMenuItems() instead.

BlackBerry Integrated Development Environment

If you highlight a class and press Ctrl+F1 to open its page in the API reference, an extra backslash is appended to the source directory. (759667)

Impact: An error page is displayed.

Workaround: Browse to the correct page manually in the API Reference.

If you use the updatejad tool to update duplicate .jad files, the updatejad tool does not display a warning message and incorrectly updates the .jad file. (720102)

Impact: If you use the same .jad file as the first and second .jad file arguments to the updatejad tool, the updatejad tool makes incorrect updates to the .jad file.

Workaround: Use different .jad files as the first and second .jad file arguments to the updatejad tool.

When you attach the debugger to a BlackBerry device, a message appears with a list of missing debug files. When you try to debug an application, the class types for local instances of BlackBerry API classes are listed as "unknown". (528229)

Workaround: Click Cancel in each dialog.

BlackBerry Smartphone Simulator

To enable internet connectivity in the BlackBerry Smartphone Simulator for use by the browser or any Java application requiring an internet connection, start the MDS Connection service or simulate connecting the BlackBerry Smartphone Simulator to a WLAN network.

To start the MDS-CS, click Start > All Programs > Research In Motion > BlackBerry JDE 6.0 > MDS-CS.

To configure the BlackBerry Smartphone Simulator to launch MDS-CS on start up, follow these steps:

  1. In the BlackBerry Integrated Development Environment, click Edit > Preferences.
  2. Click the Simulator tab.
  3. In the General tab, select Launch Mobile Data System Connection Service (MDS-CS) with simulator.

To simulate a connection to a WLAN network, follow these steps:

  1. Click the banner at the top of the BlackBerry Smartphone Simulator screen
  2. Click Set Up Wi-Fi Network.
  3. Click Default WLAN Network.

The BlackBerry Smartphone Simulator crashes when attempting to open a new email message. (760983)

Impact: You cannot open newly received email messages in the BlackBerry Smartphone Simulator.

Workaround: None

The BlackBerry Smartphone Simulator throws a NullPointerException on your first attempt to make a call. (759414)

Workaround: Click Continue and attempt to make another call.

The BlackBerry Smartphone Simulator throws a NullPointerException is thrown if you try answer an incoming phone call. (752635)

Impact: You cannot receive calls in the BlackBerry Smartphone Simulator.

Workaround: None

The BlackBerry Smartphone Simulator for BlackBerry® Torch™ 9800 does not register touchscreen clicks properly on the phone screen if the keyboard is open. (751831)

Impact: You cannot use the Phone application.

Workaround: Use a BlackBerry device or close the keyboard when using the Phone application.

You cannot run two applications that use the Browser engine (for example, the browser and a widget) at the same time on the BlackBerry Smartphone Simulator.

Workaround:In the BlackBerry Smartphone Simulator, close an application that uses the browser engine before opening another or use a BlackBerry device.

The BlackBerry Smartphone Simulator might crash if you click Debug > Restart while the application you are editing is running. (747344)

Impact: You cannot use the hot swap feature.

Workaround: Close the application before clicking Debug > Restart.

If you make a change to your application that results in a compilation error, the Debug > Restart menu item is disabled in the BlackBerry Smartphone Simulator. (506807)

Impact: You cannot use the hot swap feature.

Workaround: Click Debug > Go in the BlackBerry Integrated Development Environment after fixing your code.

Sample applications

The HTTP Push Demo sample application does not receive messages sent by the server component. (760561)

Impact: You cannot receive messages in the client application.

Workaround: Comment out line 198: conn.setRequestProperty("X-RIM-Push-Reliability-Mode","APPLICATION"); in the server component source code.

The Command Framework Demo sample application is missing the Close menu item. (759326)

Impact: You cannot close the application using the menu.

Workaround: Click the Escape key to exit the application.

The Pane Manager Demo sample application throws a NullPointerException when you select a header of type "tab". (759281)

Impact: You cannot open a tab.

Workaround: Click Debug > Go in the BlackBerry Integrated Development Environment or test the application on a BlackBerry device.

In the EyelidField Demo sample application, the EyelidFieldManager draws a touch text focus area when the EyelidField containing a Field disappears. (759238)

Impact: The focus box remains on the screen when the EyelidField disappears.

Workaround: None

The Attachment Demo sample application throws a FileException with the message "File system error (1003)" when you attempt to attach a file without an inserted SD card. (759034)

Impact: You cannot attach a file.

Workaround: Insert an SD card into your device or simulate having an SD Card inserted if you are using the BlackBerry Smartphone Simulator.

The BlackBerry Maps Demo sample application does not open the expected map. (752411)

Impact: You may not see the correct map in the sample application.

Workaround: None

The Location Picker Demo sample application cannot open a location saved as a Favorite location on devices with a touch screen. (746084)

Impact: If you have checked the box "Do not stop execution when an exception is caught by "catch( Throwable )"" in the Debugging tab in Edit > Preferences, a NullPointerException is thrown. Otherwise, no location is opened.

Workaround: Use the trackpad to make the selection instead of the touch screen.

Text in the UI of the File Explorer Demo overlaps. (724640)

Impact: It is difficult to read the text in the sample application's UI.

Workaround: None

Next topic: Legal notice
Previous topic: Fixed issues

Was this information helpful? Send us your comments.