12-21-2011 07:48 AM
Anybody faced this problem before?
I've developed painstakingly a small app in few weeks and now it seems good as it runs well on 9930. I've requested signing key from RIM and installed all 3 in the Eclipse.
When I turned on device security, 9930 runs no problem. However same app when run on 9810 with device security turned on, it throws me error that my app is attempting to access secure API and refused to start.
I owned a 9810 with version 7.0 Bundle 1355 (v220.127.116.111, Platform 18.104.22.1689) while for Eclipse I'm using Blackberry JRE 7.0.0 which maps to net.rim.ejde.componentpack7.0.0_22.214.171.124.
All signing was done inside Eclipse.
I've uploaded the app into my real 9810 device it behave exactly the same as simulator.
Anyone can help please?
12-21-2011 12:39 PM
Finally I've figured out what causes the secure API exception --> Unified Search component
I've a unified search component implemented and works fabously in simulator.
But when uploaded to real device, it will have verifyerror.
I've take the pain to remove all unified search component from the project and suddenly wholla!! IT CAN RUN NOW! WOW!
Anyway, I would still love to have the unified search integration works. Any workaround or fix?
01-05-2012 05:07 PM
Please post the event log from the BlackBerry Smartphone taken after launching your application (with unified search included). You can extract an eventlog using the following command:
javaloader -u eventlog > log.txt
01-06-2012 07:15 AM
Please find the following:
guid:0x97C9F5F641D25E5F time: Fri Jan 06 19:56:07 2012 severity:0 type:2 appystem data:VM:LINK GTD
guid:0x97C9F5F641D25E5F time: Fri Jan 06 19:56:07 2012 severity:0 type:2 appystem data:module 19538 cannot reference net.rim.device.api.unifiedsearch.searchables.adapt
guid:0x97C9F5F641D25E5F time: Fri Jan 06 19:56:07 2012 severity:0 type:2 appystem data:Module 'GTD-2' attempts to access a secure API.
guid:0x97C9F5F641D25E5F time: Fri Jan 06 19:56:07 2012 severity:0 type:2 appystem data:Linker error: 'VerifyError' for GTD
guid:0xA9D098450BA333E9 time: Fri Jan 06 19:56:11 2012 severity:0 type:2 app:HomeScreen App data:Error starting GTD: Module 'GTD-2' attempts to access a secure API.
No detail message
01-06-2012 10:51 AM
This looks like a match to this issue: https://www.blackberry.com/jira/browse/JAVAAPI-221