[sync] String index out of range: -9

Karsten Fourmont fourmont at gmx.de
Thu Jan 5 03:43:41 PST 2006


Hi,

Please try the cvs version.

I just did a sync with Sync4J SyncClient Outlook connector 2.0.32 and it 
worked fine.

 > I only get "String index out of range: -9" here.

That's a sync4j error message. Can't say anything about that.


 > The connection has to use https://, perhaps that could be an issue?

Don't think so: the client receives an answer from the server, so some 
communication does happen.

Cheers,
  Karsten



Fabian Fischer wrote:
> Hello everyone,
> 
> I recently got a Sony Ericsson W800 and I want to synchronize my Horde
> data with the phone.
> I configured it as described somewhere else here and it does not
> connect, instead it tells me something about an invalid server response.
> 
> For testing I installed Sync4j SyncClient PIM demo on my PC to see
> what's wrong.
> 
> I only get "String index out of range: -9" here. Horde is latest 3.1 RC1.
> 
> Last lines of debug console:
>      <Last>0</Last>
>      <Next>1136453202</Next>
>     </Anchor>
>    </Meta>
>   </Item>
>  </Alert>
>  <Get>
>   <CmdID>6</CmdID>
>   <Meta>
>    <Type xmlns="syncml:metinf">application/vnd.syncml-devinf+wbxml</Type>
>   </Meta>
>   <Item>
>    <Target>
>     <LocURI>./devinf11</LocURI>
>    </Target>
>   </Item>
>  </Get>
>  <Final></Final>
> </SyncBody></SyncML>
> 10:27:01:031 [INFO] - The server alert code for calendar is 201
> 10:27:01:031 [INFO] - The server alert code for contacts is 201
> 10:27:01:031 [DEBUG] - source - Name: contacts| Status: 201
> 10:27:01:031 [DEBUG] - source - Name: calendar| Status: 201
> 10:27:01:031 [INFO] - Synchronizing contacts, calendar
> 
> And in the main message window:
> Setting up SyncManager...
> Synchronizing...
> String index out of range: -9
> 
> The connection has to use https://, perhaps that could be an issue?
> Or is something wrong about the "location"? I used "calendar" and
> "contacts" in Sync4j.
> 
> Any help appreciated!
> 
> Thanks in advance
> Fabian
> 



More information about the sync mailing list