Compiler Errors When Deploying Device Applications

Problem: You see compiler errors when you deploy mobile business objects (MBOs) that begin with the same characters and end with "list."

If there are two MBOs named xxx and xxxList, for example "OpGet" and "OpGetList" in the same project, compiler errors occur when the device application is deployed to either Windows Mobile or BlackBerry devices. Internally, the compiler generates a List class for MBOs. In the case of OpGet, an entity named OpGetList is generated, which conflicts with the second MBO named OpGetList, resulting in compiler errors.

Solution: Avoid this naming convention if it conflicts with other MBOs. Rename existing MBOs or place them in a different project.

Related concepts
Troubleshoot Code Generation
Related tasks
Unwired WorkSpace Crashes When Previewing or Test Executing Large Amounts of Data
Cannot Access Sample Database After Switching Network Types
Data Source Connection Fails After Installing to a New Directory
Attribute Length Set Incorrectly for Operation and Load Parameters
Related reference
JDBC Connection Errors
Mobile Business Object Errors
Preview Errors for a Web Service Mobile Business Object
Deploying to Unwired Server Fails
Deploying to Unwired Server in a Cluster Fails
Data Truncation for Attributes without Explicit Length
Input Parameters Fail to Generate for Complex Data Sources
Client Device Database Performance Issues after Primary Key Changed to Composite