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
Sync problem from phone to csweb
Re: Sync problem from phone to csweb
Please post sync.log file from the phone.
Re: Sync problem from phone to csweb
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
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
Re: Sync problem from phone to csweb
Is there any more to that log file? It isn't showing any errors.
Re: Sync problem from phone to csweb
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".
Re: Sync problem from phone to csweb
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
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
Re: Sync problem from phone to csweb
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.
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.
Re: Sync problem from phone to csweb
Dear Josh,
May i know your personal email?
Regards,
Komin
May i know your personal email?
Regards,
Komin
Re: Sync problem from phone to csweb
You can use the private message function of this forum or you can email to cspro@lists.census.gov