codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
https://www.codenameone.com/
Other
1.71k stars 408 forks source link

Black berry build giving exception when debug first time using blackberry simulato #273

Closed codenameone closed 7 years ago

codenameone commented 9 years ago

Original issue 273 created by codenameone on 2012-07-24T10:34:24.000Z:

Whenever i debug the application for the first time it gives me this exception:

What steps will reproduce the problem? 1.Build the application and download it. 2.Try running it and see the exception.

What is the expected output? What do you see instead? It should run properly without any exception.

What version of the product are you using? On what operating system? Windows XP SP2, CodenameOne:1.0.0.201207221636

Please provide any additional information below. Error log:

DWAI [BlackBerry Simulator]
RIM JVM[localhost:8000]
Thread net_rim_app_manager(1)id=18427904
Thread net_rim_bb_oldcodcleanup(10)id=1361920
Thread net_rim_vad(27)id=27412480
Thread net_rim_process_launcher(19)id=23864320
Thread net_rim_plazmic_themereader(33)id=22454272
Thread net_rim_services_impl(23)id=62046208
Thread net_rim_bb_timeddialogapp(50)id=74320896
Thread net_rim_services_impl(4)id=91211776
Thread net_rim_bb_call_control(55)id=96893952
Thread net_rim_bb_messaging_app(57)id=97326080
Thread net_rim_services_impl(23)id=77081600
Thread net_rim_bb_browser_daemon(81)id=103459840
Thread net_rim_bb_profiles_alertengine_app(62)id=98954240
Thread net_rim_bb_ribbon_app(88)id=105434112
Thread net_rim_bb_phone_app(65)id=99772416
Thread net_rim_tid_newWordsExtractor(129)id=199497728
Thread net_rim_bb_browser_push(101)id=187004928
Thread net_rim_bb_games_app(98)id=185801728
Thread net_rim_bb_supl_app(132)id=200675328
Thread NotificationsDemo(155)id=211113984
Thread MedicineTracker(154)id=210731008
Thread net_rim_media_actions_daemon(150)id=205362176
Thread net_rim_bb_geolocationagent(131)id=199801856
Thread net_rim_bb_clock(112)id=190793728
Thread net_rim_bb_mediaapp_launcher_app(148)id=204281856
Thread BBSave(164)id=213437440
Thread net_rim_bb_otasl_app(180)id=218717184
Thread net_rim_services_impl(23)id=216186880
Thread DWAI(189)id=222279680
Thread net_rim_services_impl(4)id=262625280
Thread [MyApplication5(197)id=231793664](Suspended %28exception RuntimeException%29)
UiEngineImpl.addScreenModal(Screen) line: 1935
Dialog.doModal() line: 652
Dialog.alert(String) line: 484
ApplicationControlScreen.validateAndSetHandles(int[], boolean) line: 780
ApplicationControlScreen.<init>(int, ApplicationPermissions) line: 199
ApplicationPermissionsManager.generateApplicationControlScreen(ApplicationPermissions) line: 692
ApplicationPermissionsManager.invokePermissionsRequest(ApplicationPermissions) line: 512
null(Application).invokeAndWait(Runnable) line: 2827
Thread net_rim_services_impl(23)id=218544128
Thread net_rim_bb_fileindexservice(182)id=219443200
Thread net_rim_plazmic_pushactivator(171)id=215766016
Thread net_rim_bb_qm_peer(190)id=246532096

codenameone commented 9 years ago

Comment #1 originally posted by codenameone on 2012-07-24T10:35:53.000Z:

I asked Chen about this and he said you aren't signing the distribution. When using the build server we always sign and assume that an application is signed.

codenameone commented 9 years ago

Comment #2 originally posted by codenameone on 2012-07-24T10:42:36.000Z:

I have signed the application providing the details of Signtool db and signtool csk along with my password

codenameone commented 9 years ago

Comment #3 originally posted by codenameone on 2012-07-24T10:52:04.000Z:

If you run the application under the debugger is it still signed?

codenameone commented 9 years ago

Comment #4 originally posted by codenameone on 2012-07-24T11:18:55.000Z:

Yes it is signed, whenever we run any external application we have to give the path of cod file and that cod file is same as is generated after signing..i am debugging using the emulator not with device

codenameone commented 7 years ago

Closing old Google code issues which are no longer relevant by now