Known Issues for Sybase Unwired WorkSpace – Mobile Business Object Development

Learn about known issues and apply workarounds for Unwired WorkSpace and mobile business object (MBO) development.

Issue NumberDescription
CR 695596
R
Removing subsequent MBO during MBO creation fails.
For example:
  1. Drag and drop a Web service that contains two XSLTs.
  2. Unselect the subsequent MBO in the "Create mobile business objects" page, and click Finish.
  3. Two MBOs are generated.
Unselecting the subsequent MBO in the "Create mobile business objects" page should result in generation of only one MBO. This applies to Web service, SAP, and RESTful data sources.

Workaround: Manually remove the subsequent MBO from the Mobile Application Diagram after finishing the MBO creation wizard.

CR 695589
If you choose a simple datatype as an output parameter while creating an MBO operation from an SAP EIS using the MBO Operation Creation wizard, the output mapping page does not list the simple type parameter, but does list structure parameters.
This may also generate a warning message similar to:
The output record of the 'CREATE' operation 
'MBOName->OperationName' 
with 'Apply results to the cache' option set does not contain the primary key columns.

Workaround: You can safely ignore this message.

CR 695165
When creating an MBO or operation from a REST Web service data source, if you select Response and specify an XSLT in the Representation tab, then choose Request and unselect Request again, the already selected XSLT for the Response is cleared.

Workaround: Select an XSLT for the Response again if you unselect Request in the Representation tab.

CR 694409

Deployment and code generation errors occur for MBOs that contain attributes with BigBinary datatypes but do not have primary-key attribute(s).

In addition, this error appears during code generation and deployment:
Alternate keys are missing! Please check if all attributes are BLOB/CLOB types.

Workaround: Set MBO primary key attributes.

CR 690308
Open cursor does not work well for some kinds of MBOs.

For example, a BlackBerry opencursor wasNull() function may throw an exception, while the C# version proceeds. This might happen if the return value from the database on the device is incorrect.

Workaround: If you receive an opencursor exception, check the return value from the device's database for possible clues.

CR 689859
Sybase Unwired Platform Unwired WorkSpace Welcome page moves to standby mode after Eclipse is started.

This is due to a known Eclipse 3.7 bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=355560). In standby mode, the Welcome page is docked to the right as a view in the Mobile Development perspective, since the Problem View is part of the Mobile Development perspective.

Workaround: Double-click the docked Welcome page to extend it to full screen.

CR 689707
Default runtime values requirements.

For an MBO operation, a non-nullable argument must get its runtime value via one of the following: client parameter, personalization key, default value, or fill-from-attribute. If a non-nullable argument has fill-from-attribute or client parameter already, its default value is ignored. Unwired WorkSpace still allows the user to input a default value.

Workaround: In this case, you need not set the default value, because it is not used during runtime.

CR 688956
Unwired WorkSpace fails during preview or test execute.

When doing preview or test execute in Unwired WorkSpace during MBO development if the data volume is large, for example, either a large number of rows, or a large object in the returned result, Unwired WorkSpace may run out of memory and fail.

Workaround: Do not select Preview or Test Execute with large results, or increase the Java VM argument, -Xss -Xms, and -Xmx in the UnwiredWorkSpace.bat to increase the stack and memory (heap) size.

CR 688576
The Oracle datatype NCLOB is not supported.
Workaround: Convert the unsupported datatype to a supported datatype. Convert the CLOBS datatype to a varchar datatype There are two ways to do this:
  • Create a stored procedure and call it from the MBO. In the stored procedure, convert the CLOBS to varchar
  • Create this Transact-SQL® statement, which fetches 4000 bytes of the CLOB: select dbms_lob.substr( x, 4000, 1 ) from T.

    The maximum varchar length allowed in Transact-SQL statements is 4000 bytes. You can increase this to 32KB. To process the BLOB in this way, a Stored Procedure is recommended. For example:

    declare 
      my_var long; 
    begin 
      for x in ( select X from t ) 
      loop 
        my_var := dbms_lob.substr( x.X, 32000, 1 );
.
CR 682651
Unwired WorkSpace does not support saving files as PDF.

Invoking File > Save As Image File from the Object Diagram context menu fails if PDF is the image format.

This is a known Eclipse GMF bug. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=338380

Workaround: None.

CR 677453
When Unwired WorkSpace is uninstalled and reinstalled in a different directory, you get a ClassNotFoundException message if the old workspace is used and you connect using the JDBC connection profile.
Workaround: Update the driver definition to point to the correct path:
  1. From Unwired WorkSpace, select Window > Preferences > Sybase, Inc > Connectivity > Driver Definitions.
  2. Select the driver type, and click Edit to invoke the Edit Driver Definition dialog.
  3. Click the Jar List tab, and edit the path of the JDBC driver.
  4. Reimport any Mobile Application Projects that require the updated driver for connecting to the database.
CR 676634
For Web Service and other datasources with very complex structures with deeply nested element trees, StackOverflow or OutOfMemory messages may occur, or some of the operation input parameters may not be generated properly.
In some cases, you see this error:
The assigned stack size and/or heap size is 
not sufficient for the attempted operation.

Workaround: Increase the stack and heap size of the Eclipse runtime parameter in UnwiredWorkSpace.bat with -Xmx, -Xms, -Xss arguments, or reduce the complexity or nested level of the Web Service definition of the MBO operation.

CR 642942
Cannot generate code with Javadoc option enabled to a folder containing Chinese characters.

When using the code generation wizard, if you enable the option to generate Javadoc, you cannot generate the code to a folder containing Chinese characters without first changing the language for non-Unicode programs to Chinese.

Workaround:
  1. Select Start > Settings > Control Panel.
  2. Double-click Regional and Language Options, then click the Advanced tab.
  3. From the drop-down list, select Chinese, and click Apply.
  4. Click OK.