Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

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] (Running)   
        Thread [net_rim_bb_oldcodcleanup(10)id=1361920] (Running)   
        Thread [net_rim_vad(27)id=27412480] (Running)   
        Thread [net_rim_process_launcher(19)id=23864320] (Running)   
        Thread [net_rim_plazmic_themereader(33)id=22454272] (Running)   
        Thread [net_rim_services_impl(23)id=62046208] (Running)   
        Thread [net_rim_bb_timeddialogapp(50)id=74320896] (Running)   
        Thread [net_rim_services_impl(4)id=91211776] (Running)   
        Thread [net_rim_bb_call_control(55)id=96893952] (Running)   
        Thread [net_rim_bb_messaging_app(57)id=97326080] (Running)   
        Thread [net_rim_services_impl(23)id=77081600] (Running)   
        Thread [net_rim_bb_browser_daemon(81)id=103459840] (Running)   
        Thread [net_rim_bb_profiles_alertengine_app(62)id=98954240] (Running)   
        Thread [net_rim_bb_ribbon_app(88)id=105434112] (Running)   
        Thread [net_rim_bb_phone_app(65)id=99772416] (Running)   
        Thread [net_rim_tid_newWordsExtractor(129)id=199497728] (Running)   
        Thread [net_rim_bb_browser_push(101)id=187004928] (Running)   
        Thread [net_rim_bb_games_app(98)id=185801728] (Running)   
        Thread [net_rim_bb_supl_app(132)id=200675328] (Running)   
        Thread [NotificationsDemo(155)id=211113984] (Running)   
        Thread [MedicineTracker(154)id=210731008] (Running)   
        Thread [net_rim_media_actions_daemon(150)id=205362176] (Running)   
        Thread [net_rim_bb_geolocationagent(131)id=199801856] (Running)   
        Thread [net_rim_bb_clock(112)id=190793728] (Running)   
        Thread [net_rim_bb_mediaapp_launcher_app(148)id=204281856] (Running)   
        Thread [BBSave(164)id=213437440] (Running)   
        Thread [net_rim_bb_otasl_app(180)id=218717184] (Running)   
        Thread [net_rim_services_impl(23)id=216186880] (Running)   
        Thread [DWAI(189)id=222279680] (Running)   
        Thread [net_rim_services_impl(4)id=262625280] (Running)   
        Thread [MyApplication5(197)id=231793664] (Suspended (exception RuntimeException))   
            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] (Running)   
        Thread [net_rim_bb_fileindexservice(182)id=219443200] (Running)   
  Thread [net_rim_plazmic_pushactivator(171)id=215766016] (Running)   
        Thread [net_rim_bb_qm_peer(190)id=246532096] (Running)    

Original issue reported on code.google.com by rahulaer...@gmail.com on 24 Jul 2012 at 10:34

GoogleCodeExporter commented 9 years ago
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.

Original comment by shai.almog on 24 Jul 2012 at 10:35

GoogleCodeExporter commented 9 years ago
I have signed the application providing the details of Signtool db and signtool 
csk along with my password

Original comment by rahulaer...@gmail.com on 24 Jul 2012 at 10:42

GoogleCodeExporter commented 9 years ago
If you run the application under the debugger is it still signed?

Original comment by shai.almog on 24 Jul 2012 at 10:52

GoogleCodeExporter commented 9 years ago
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

Original comment by rahulaer...@gmail.com on 24 Jul 2012 at 11:18