IndexOutOfBoundsException-on-startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhis-mobile |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Trunk code running on the Microemulator.
Exception in thread "event-thread" java.lang.
at javax.microedit
at org.hisp.
at org.hisp.
at org.hisp.
at javax.microedit
09)
at org.microemu.
her.java:246)
at org.microemu.
at org.microemu.
at java.lang.
C:\dhis2\
Changed in dhis-mobile: | |
status: | New → Won't Fix |
Thanks for this procedure, this seems to have solved the problem. Thanks.
I suppose the use case for being able to switch both URLs AND databases may
be pretty weak, but I am not sure. Does not seem to be a burning issue at
the moment.
Regards,
Jason
On Mon, Apr 25, 2011 at 9:32 AM, TRAN NGUYEN Minh Luan <
<email address hidden>> wrote:
> Hi, dhis2.net/ dhis IndexOutOfBound sException ion.lcdui. ChoiceGroup. getString( ChoiceGroup. java:327) dhis.mobile. ui.DHISMIDlet. T(Unknown Source) dhis.mobile. ui.DHISMIDlet. B(Unknown Source) dhis.mobile. ui.DHISMIDlet. commandAction( Unknown ion.lcdui. Display$ DisplayAccessor $1.run( Display. java:2 device. ui.EventDispatc her$RunnableEve nt.run( EventDispatc device. ui.EventDispatc her.post( EventDispatcher .java:164) device. ui.EventDispatc her.run( EventDispatcher .java:99) Thread. run(Unknown Source) microemulator- trunk\microemul ator\target>
>
> I checked with your server and newest client. I still cant get the error.
>
> I got this error once when I use emulator to connect one server (1st
> database), and then change to another server (2nd database which support
> multi language). However, this change of server is illogic (we change url
> not database, is it right ?), one mobile connect to one server (it means
> only one database).
>
> If you use emulator, please check the "delete RMS when start midlet"
> option, and before exit midlet, uncheck it before restart midlet.
>
> If you use mobile, please send the new jar file to clean old RMS being
> attached with old jar file or use the ReInitilize function to clear old
> data.
>
> Hope it will fix the problem.
>
>
> Regards,
> Minh Luan
>
> 2011/4/25 Jason Pickering <email address hidden>
>
>> OK. Should be working now.
>>
>> I was able to login to the web interface. DId not try through the client
>> yet .
>>
>> Thanks for taking a look.
>> Regards,
>> Jason
>>
>>
>> On Mon, Apr 25, 2011 at 6:14 AM, Jason Pickering <
>> <email address hidden>> wrote:
>>
>>> Hi There.
>>>
>>> I have created an account on my server for you if you want to test.
>>>
>>> Server address = http://
>>> User name = MinhLuan
>>> Password = MinhLuan1
>>>
>>> Here is the other info.
>>>
>>> Server = rev 3380
>>> Mobile client = rev 115
>>> Microemulator = rev 2491
>>>
>>> Best regards,
>>> Jason
>>>
>>>
>>> On Mon, Apr 25, 2011 at 5:46 AM, TRAN NGUYEN Minh Luan <
>>> <email address hidden>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Could you tell me the version of both client and server code ? I could
>>>> not re-create this bug with the newest code.
>>>>
>>>> 2011/4/23 jason.p.pickering <email address hidden>
>>>>
>>>>> Public bug reported:
>>>>>
>>>>> Trunk code running on the Microemulator.
>>>>>
>>>>> Exception in thread "event-thread" java.lang.
>>>>> at
>>>>> javax.microedit
>>>>> at org.hisp.
>>>>> at org.hisp.
>>>>> at org.hisp.
>>>>> Source)
>>>>> at
>>>>> javax.microedit
>>>>> 09)
>>>>> at
>>>>> org.microemu.
>>>>> her.java:246)
>>>>> at
>>>>> org.microemu.
>>>>>
>>>>> at
>>>>> org.microemu.
>>>>> at java.lang.
>>>>>
>>>>> C:\dhis2\
>>>>>
>>>>> ** Affects: dhis-mobile
>>>>> Importance: Undecided
>>>>> Status: Ne...