Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

Unexpected runtime exceptions are thrown by the BlackBerry Administration API

by BlackBerry Development Advisor ‎04-21-2010 01:01 PM - edited ‎09-20-2010 10:25 AM (3,782 Views)

Summary

 

This article applies to the following:

 

  • BlackBerry® Administration API
  • BlackBerry® Enterprise Server 5.0.1

 

Details

 

The following exception is thrown when invoking BlackBerry Administration API methods:

java.lang.RuntimeException:java.lang.NoSuchMethodError



Cause

 

This issue is caused when BlackBerry Administration API 5.0 is installed on the computer that hosts BlackBerry Enterprise Server 5.0.1. Applications that are created using the BlackBerry Administration API 5.0 are compatible with BlackBerry Enterprise Server 5.0 and later. However, the back-end mappings between the BlackBerry Administration API and the BlackBerry Administration Service might change between versions of the BlackBerry Enterprise Server which might result in errors if an incompatible version of BlackBerry Administration API is installed on the BlackBerry Enterprise Server.

In BlackBerry Enterprise Server 5.0, the BlackBerry Administration API is an optional component and must be installed separately. In BlackBerry Enterprise Server 5.0.1, the BlackBerry Administration API is bundled with the main installation. When BlackBerry Enterprise Server 5.0 is upgraded to version 5.0.1, the BlackBerry Administration API is upgraded automatically and should not be removed. If the earlier version of the BlackBerry Administration API is removed, the functionality of the BlackBerry Administration API is lost. The BlackBerry Administration API must be restored before it can be used.

Resolution

 

To restore the BlackBerry Administration API, reinstall the BlackBerry Enterprise Server 5.0.1, and do not remove the previous version of the BlackBerry Administration API.

Contributors
Users Online
Currently online: 28 members 2,666 guests
Please welcome our newest community members: