Known Issues for Device Clients and Applications

Learn about known issues and apply workarounds for device applications.

Common Issues for Multiple Device Types

CR #Description
651389
Windows Mobile and BlackBerry client applications may leak database connections.

For these types of applications, each thread is allocated a database connection when doing CRUD operation on the package MBO. The connection remains on the thread and is not closed unless you explicitly call closeConnection. If the application spawns a thread, performs any operation then throws the thread away, the connection remains open until the application exits.

Workaround:Explicitly call closeConnection before destroying threads.

649551
If user credentials are changed in the backend SAP system, applications can still access SAP content.

This connection remains open, because Unwired Server pools open connections that were originally created with credentials that are now invalid. Because SAP JCo client connections do not support reauthentication, the same session remains active despite using expired credentials.

Workaround: Update the SAP credentials used in Sybase Control Center. Then clear the existing connection currently pooled by stopping and restarting Unwired Server.

649083
Sort works incorrectly device applications when child MBOs that have multiple primary keys.

For Blackberry and Windows applications, object queries and dynamic queries do not work properly in this case:

When a query includes a similar SELECT statement:
SELECT * FROM MBO WHERE attribute1 = something ORDER BY attribute2
and when this same SELECT statement sets attribute1 or attribute2 as primary keys or part of a named query's WHERE clause, the query fails.

Workaround: Remove the named query that contains the where clause of attribute1 or attribute2, and instead use a dynamic query for that named query, including the one shown in the SELECT statement.

648305
Sync screen hangs when an MBO does an initial sync.

When an MBO contains many attributes, the default client database page size might not be appropriate. Consequently, the generated application takes a long time to synchronize the MBO.

Workaround: Manually increase the page size for the database client on the device.

629818
Passing null values for user name/password personalization keys is not supported.

Workaround: None.

594804
When performing a search with "equals" and "ends with" search criteria, you see an Unable to find... message.

When performing a search with "does not end with" search criteria, all the rows are shown.

Workaround: If your table includes the char column, you can use SQL with rtrim(column name) as the column name in the MBO definition. For example:
SELECT   dept_id,
           rtrim(dept_name) as dept_name,
           dept_head_id 
  FROM sampledb.dba.department

Known Issues for BlackBerry

Learn about known issues and apply workarounds specific to the BlackBerry.

CR #Description
628249
Cannot see details of photos taken by in-device camera on BlackBerry 8220 and 9000.

When you try to display a photo taken by the device's camera in an MBO details screen or pending operation screen, you cannot see the image in detail, and the pending screen cannot focus on the column.

Workaround: Use a non-bitmap image instead of a photo.

641424
BlackBerry application incorrectly displays "Previous instance still active" message.
When you perform the following actions on OS 5.0, you might get a Previous instance still active message:
  1. From the application, press Back button to exit.
  2. Re-open the application and press Back button to exit again.

Workaround: None. Ignore the message.

623504
You see unexpected errors when you shut down a BlackBerry Mobile Data System during synchronization.

Workaround: Restart MDS. For more information on this known BlackBerry issue, see the BlackBerry Issue Tracker page at https://www.blackberry.com/jira/browse/JAVAAPI-1131 (login required).

619983
On BlackBerry devices, you cannot input Chinese characters into the password field.

Protected personalization keys and passwords use the same user interface component on RIM, which does not allow Chinese characters.

Workaround: None.

612195
Cannot import memo to the device application when performing a Read Memo PIM action by focusing on the memo in the memo list.
This applies to:
  • BlackBerry 8900, version 4.6.1
  • BlackBerry 9000, version 4.6.0
  • BlackBerry 9530, version 4.7.0
  • BlackBerry 8220, version 4.6.0
Workaround:
  1. Open the memo in the memo list.
  2. Perform the import.
567841
Extra icon appears on BlackBerry device application.

If you generate code using the Device Application Designer Code Generation wizard with the Debug the BlackBerry application with the BlackBerry Java Plug-in option, then run the application using the BlackBerry Java pug-in for Eclipse, an extra icon appears on the device screen.

Workaround: None. You can ignore the extra icon. It does not affect application use.

Known Issues for Windows and Windows Mobile

Learn about known issues and apply workarounds specific to Windows and Windows Mobile.

CR #Description
641760
When the device user selects a date using the time picker control, the Control screen freezes.

This happens when Datetime field does not have focus.

Workaround: Give the Datetime field focus before using the time picker.

622391
Double-byte characters are not supported for Windows Mobile device ribbon names.

If the Windows Mobile device ribbon name contains double-byte characters in Device Application Designer, you receive a compile error or generate Windows Mobile CAB error after code generation.

Workaround: None.

617045
On some Windows Mobile devices, the editbox control properties Show Border and vertical and horizontal spans do not show properly on the device.

Workaround: None.