Best practices and troubleshooting
Best practices
How to... | Steps |
---|---|
Avoid issues if you remove an RX method annotation | If you remove an RX method annotation, code that was generated previously for that annotation will remain in the ui.server project. You must manually remove all generated code from the ui.server project, then regenerate the code by clean-building the ui.server project (Project > Clean). When this is complete, refresh all projects in Eclipse . |
Remove a plug-in from a BlackBerry UEM installation (test or production) |
|
Troubleshooting
Issue | Possible solution |
---|---|
In Eclipse , I can't view log data for the UI server | In Run > Run Configurations > Java Application > UI Server , add the following VM argument: -"Dlog4j.configuration=file:///${bep.ui}/log4j.xml" |
Eclipse crashes | Add -XX:-UseLoopPredicate to the eclipse.ini file. For more information, see Stack Overflow: Eclipse crashing frequently. |
The Core or UI launchers do not start | Complete the integration process again and select the Regenerate launchers check box. |
The ui.client project does not compile due to missing classes in the <plug-in_id> .ui.server packageThere are errors in *-generated projects (but none in server projects) | Possible solution 1 :
If this does not correct the issue, clean all projects (Project > Clean > Clean all projects) then repeat steps 5 and 6. Possible solution 2 : In the project ui.server-generated, create a folder named src/generated. Put a dummy file in this folder and rebuild the project.Possible solution 3 : Run the integration process again (see Create an Eclipse workspace and integrate it with BlackBerry UEM) and do not select Create Basic Plug-in Projects . |