Welcome to the official BlackBerry Support Community Forums.

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

inside custom component

Java Development

Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

javaloader/ota/DM: works. BES-deployment: does not work

I use this code in static context at startup (autostart and/or before i create my application instance):




When i use

  • javaloader
  • OTA install
  • Desktop Manager
    to install the application i get the correct permissions request dialog on startup (if needed).

If i install using bes-deployment i get an IllegalStateException:

error invoking permissions: java.lang.IllegalStateException: no application instance

I have tested this behavior on two devices (storm 1 os5, 8900 os5).

anybody a slightest idea why this happens?

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter