← Back to team overview

dhis-mobile-devs team mailing list archive

Re: Issues with the J2ME client. Cannot login

 

Hi there. Thanks for the quick response.

I reverted back to 102, and got this. Same error with the custom revision
we have been using in Zambia for sometime.

Regards,
Jason


run-facility:
     [exec] Running with storage root
C:\Users\jason\j2mewtk\2.5.2\appdb\temp.DefaultColorPhone33
     [exec] Running with locale: English_United Kingdom.1252
     [exec] Running in the identified_third_party security domain
     [exec] java.io.IOException: Connection closed
     [exec]     at com.sun.midp.io.ConnectionBaseAdapter.ensureOpen(+16)
     [exec]     at com.sun.midp.io.ConnectionBaseAdapter.openInputStream(+4)
     [exec]     at com.sun.midp.io.j2me.http.Protocol.openInputStream(+4)
     [exec]     at
org.hisp.dhis.mobile.connection.task.AbstractTask.handleError(+21)
     [exec]     at
org.hisp.dhis.mobile.connection.task.AbstractTask.upload(+328)
     [exec]     at
org.hisp.dhis.mobile.connection.task.UploadDataSetValueTask.run(+20)


On Wed, May 21, 2014 at 5:35 AM, Em Le Hong <em.hispvietnam@xxxxxxxxx>wrote:

> BTW, if you don't need it now, I will try to fix your bug in some days for
> you to run on latest version of client.
>
>
> On Wed, May 21, 2014 at 10:34 AM, Em Le Hong <em.hispvietnam@xxxxxxxxx>wrote:
>
>> The latest J2ME client can't run on version 2.14 server for sure. Because
>> I'm working on J2ME and will add more orgUnit which cause of the bug you
>> see now. So if you want to run it now, try J2ME client version 102
>>
>>
>> On Wed, May 21, 2014 at 10:21 AM, Long Ngo Thanh <
>> long.hispvietnam@xxxxxxxxx> wrote:
>>
>>> Hi Jason,
>>>
>>> We added quite a lot of new feature in that latest 121 revision of
>>> Aggregate client so it only work with server 2.15 and up
>>>
>>> @Paul,Em: please let Jason know exactly from which revision, the server
>>> support for that new Aggregate client?
>>>
>>> Long
>>>
>>>
>>> On Wed, May 21, 2014 at 10:16 AM, Jason Pickering <
>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>
>>>> Having some issues with the latest version of the J2ME client (revision
>>>> 121). Logs are below.
>>>>
>>>> The client launches in the emulator, and then when attempting to login,
>>>> I get the error below. I see in the server logs that the client logs in.
>>>>
>>>> Server information: Version 2.14, Build revision, 13721
>>>>
>>>> Any idea what might be causing this?
>>>>
>>>> Regards,
>>>> Jason
>>>>
>>>>
>>>> run-facility:
>>>>      [exec] Running with storage root
>>>> C:\Users\jason\j2mewtk\2.5.2\appdb\temp.Defaul
>>>>      [exec] Running with locale: English_United Kingdom.1252
>>>>      [exec] Running in the identified_third_party security domain
>>>>      [exec] Setting Up Logger...
>>>>      [exec] [LOG] Initializing Log Management...
>>>>      [exec] [LOG] Opening Console Logger...
>>>>      [exec] [LOG] Console Logger getting logs...
>>>>      [exec] [LOG] Opening RMS Logger...
>>>>      [exec] [LOG] RMS Logger getting logs...
>>>>      [exec] [LOG] Setting enabled: false
>>>>      [exec] [LOG] Setting buffer size: 20
>>>>      [exec] [LOG] Setting level: DISABLED
>>>>      [exec] [LOG] Setting enabled: false
>>>>      [exec] [LOG] Setting include tag:
>>>>      [exec] [LOG] Setting exclude tag:
>>>>      [exec] [LOG] Setting include message:
>>>>      [exec] [LOG] Setting exclude message:
>>>>      [exec] java.io.EOFException
>>>>      [exec]     at java.io.DataInputStream.readUnsignedShort(+23)
>>>>      [exec]     at java.io.DataInputStream.readUTF(+6)
>>>>      [exec]     at java.io.DataInputStream.readUTF(+4)
>>>>      [exec]     at org.hisp.dhis.mobile.model.OrgUnit.deSerialize(+85)
>>>>      [exec]     at
>>>> org.hisp.dhis.mobile.connection.task.LoginTask.handleLogIn(+40)
>>>>      [exec]     at
>>>> org.hisp.dhis.mobile.connection.task.LoginTask.run(+114)
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis-mobile-devs
>>>> Post to     : dhis-mobile-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis-mobile-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>>  *Ngo Thanh Long* long.hispvietnam@xxxxxxxxx+84935084665
>>>
>>
>>
>>
>> --
>> Le Hong Em
>>                   +84 126 7171 650
>>
>
>
>
> --
> Le Hong Em
>                   +84 126 7171 650
>

Follow ups

References