Sync problem from phone to csweb

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Komin
Posts: 60
Joined: July 23rd, 2016, 1:27 pm

Sync problem from phone to csweb

Post by Komin »

Dear Josh & CSPro team,

I am tying to sync data from my mobile phone to cspreweb server but the result is below message:

CSEnry Error (100119
Error connecting to sync server: java.lang.NullPointerException:.

please take note: Currently, i am using cspro & csproweb code that announced by U.S. Census Bureau
it's latest version both cspro file setup and csweb code.

Could you please helps to advice me, what wrong is it? :?: :?:

Regards,
Komin
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync problem from phone to csweb

Post by josh »

Please post sync.log file from the phone.
Komin
Posts: 60
Joined: July 23rd, 2016, 1:27 pm

Re: Sync problem from phone to csweb

Post by Komin »

Dear Josh & CSPro team,

Below is synlog file from my phone

2017-05-20 22:20:20,667 - Connection succeeded
2017-05-20 22:20:21,626 - Got remote directory listing. Found 8 file(s)
2017-05-20 22:20:24,693 - Changed remote directory to /lasttest
2017-05-20 22:20:25,159 - Got remote directory listing. Found 2 file(s)
2017-05-20 22:20:27,680 - Downloaded sync file last_test.pff
2017-05-20 22:20:31,218 - Disconnected
2017-05-20 22:20:33,223 -

Regards,
Komin
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync problem from phone to csweb

Post by josh »

Is there any more to that log file? It isn't showing any errors.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync problem from phone to csweb

Post by josh »

Wait a minute, that is the log file from a PNC file, not from using synchronization options or sync logic functions (syncconnect/syncfile/syncdata). Send the file named sync.log. That is log file name for the new synchronization. The old PNC based sync uses "synclog.txt", the new one uses "sync.log".
Komin
Posts: 60
Joined: July 23rd, 2016, 1:27 pm

Re: Sync problem from phone to csweb

Post by Komin »

Dear Josh & CSPro team,

Here is the sync.log from my phone

22/05/2017 16:44:44.147 INFO: Connect to server http://csentrydatastore.com/api using saved credentials
22/05/2017 16:44:49.988 ERROR: Error connecting to server: java.lang.NullPointerException:

Please advise.

Regards,
Komin
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync problem from phone to csweb

Post by josh »

Make sure your phone can access the internet. I've seen a similar error when my tablet was not connected to the internet.

If that isn't the problem then can you send me a username/password I can use to test sync with your site from? You can send it to me by private message.
Komin
Posts: 60
Joined: July 23rd, 2016, 1:27 pm

Re: Sync problem from phone to csweb

Post by Komin »

Dear Josh,

May i know your personal email?

Regards,
Komin
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync problem from phone to csweb

Post by josh »

You can use the private message function of this forum or you can email to cspro@lists.census.gov
Post Reply