Problem when sending byte array

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

andreagius
Posts: 2
Joined: 18 Jul 2011, 15:42

Postby andreagius » 18 Jul 2011, 15:46

I read all this post but it doesn't sole my problem.
I downloaded the update too.
This is the dump of my error:

---------

2011-07-18 18:08:48.977 Lottomatica[631:707] [SFS - INFO]Data Read: Binary Size: 411
a0 01 98 78 01 d5 94 cf 4e c2 40 10 c6 a7 7f c0 ...x....N.@.....
45 90 58 f4 a2 c6 ab 47 6d 89 a5 36 70 10 e2 c5 E.X....Gm..6p...
9b 89 77 9b 85 6e 49 4d d9 25 ed 42 a2 0f e0 0b ..w..nIM.%.B....
f9 1a be 82 77 df a2 6e b7 0d 11 0c 87 1a 20 31 ....w..n.......1
4d f6 b0 33 9d d9 df 7e df 4e 0b 34 50 b0 06 3a M..3...~.N.4P..:
28 23 15 40 99 b6 40 05 25 36 a0 a6 03 80 86 a0 (#.@..@.%6......
92 e0 08 db 08 f6 7c 12 e0 59 c4 15 c8 3e 0d 90 ......|..Y...>..
a6 7d 19 22 45 9d 45 06 20 03 2a 22 df fe 44 d0 .}."E.E...*"..D.
1c 84 74 cc 1e 39 0e 02 cb b4 6e 35 50 35 00 03 ..t..9....n5P5..
aa 46 56 6c 3f 60 94 7b 9c 24 9c a9 ba a8 dd 8f .FVl?`.{.$......
43 2c 7e 17 91 9a cf 26 21 0d d9 fd 5d 16 68 4e C,~....&!...].hN
98 4f 62 cc 59 fc 80 29 c9 33 aa 78 8e 39 8e b3 .Ob.Y..).3.x.9..
f0 31 4e 12 c2 93 ab 45 d6 e5 94 8e 65 99 fa 88 .1N....E....e...
45 2c 26 1e 65 13 a2 aa 3a a4 69 9a 37 4e c2 57 E,&.e...:.i.7N.W
52 34 16 db 00 0d b9 dd 28 d2 f3 13 65 f9 81 38 R4......(...e..8
6b 86 d2 3b 45 70 d8 8f 48 92 84 cc 75 ac 0b 79 k..;Ep..H...u..y
0b e2 aa fe 00 53 b7 6c d3 72 3c b9 ca ae 3f 48 .....S.l.r<...?H
8e 0a 92 9c cd 74 d7 83 04 1f a5 40 20 2d 40 ba .....t.....@.-@.
ef 02 64 88 a9 1f 72 d6 71 77 04 d2 b6 d6 83 94 ..d...r.qw......
54 64 01 d2 3b 43 d0 18 cc 62 4a 5e 36 a4 86 bb Td..;C...bJ^6...
aa c6 c9 92 1a 5e e1 f8 8d a1 48 33 4a 73 9d 23 .....^....H3Js.#
38 f0 9f 69 48 59 7b 43 2c ce 2a cb 8a b3 da e5 8..iHY{C,.*.....
29 9a b2 e4 ef 27 92 09 28 29 9e 84 20 f3 cc 56 )....'..().....V
f6 b6 20 76 25 48 f7 6d 65 70 d9 ff 77 70 0d c5 ...v%H.mep..wp..
7b b7 4c f3 da 74 6e 3a ce d6 94 59 b6 97 65 96 {.L..tn:...Y..e.
b7 d7 ba 09 9c a6 df b1 e1 93 2a ..........*
2011-07-18 18:08:49.083 Lottomatica[631:707] *** Terminating app due to uncaught exception 'SFSCodecException', reason: 'Invalid SFSDataType. Expected: 18, found: 120'
*** Call stack at first throw:
(
0 CoreFoundation 0x33a4164f __exceptionPreprocess + 114
1 libobjc.A.dylib 0x33e84c5d objc_exception_throw + 24
2 Giuseppe 0x000d9157 -[DefaultSFSDataSerializer decodeSFSObject:] + 218
3 Giuseppe 0x000dad33 -[DefaultSFSDataSerializer binary2object:] + 166
4 Giuseppe 0x000edf07 +[SFSObject newFromBinaryData:] + 54
5 Giuseppe 0x000f004d -[SFSProtocolCodec onPacketRead:] + 36
6 Giuseppe 0x000ecaeb -[SFSIOHandler handlePacketData:] + 590
7 Giuseppe 0x000ed759 -[SFSIOHandler onDataRead:] + 412
8 Giuseppe 0x000d1ad1 -[BitSwarmClient stream:handleEvent:] + 1612
9 CoreFoundation 0x33a13fd9 _inputStreamCallbackFunc + 52
10 CoreFoundation 0x339c0a21 _signalEventSync + 76
11 CoreFoundation 0x339c09bd _cfstream_solo_signalEventSync + 64
12 CoreFoundation 0x339c08b1 _CFStreamSignalEvent + 332
13 CoreFoundation 0x339c0763 CFReadStreamSignalEvent + 10
14 CFNetwork 0x3679ec1b _ZN12SocketStream40dispatchSignalFromSocketCallbackUnlockedEP24SocketStreamSignalHolder + 26
15 CFNetwork 0x3672c3fb _ZN12SocketStream14socketCallbackEP10__CFSocketmPK8__CFDataPKv + 110
16 CFNetwork 0x3672c37d _ZN12SocketStream22_SocketCallBack_streamEP10__CFSocketmPK8__CFDataPKvPv + 48
17 CoreFoundation 0x33a1d491 __CFSocketDoCallback + 340
18 CoreFoundation 0x33a1e4a9 __CFSocketPerformV0 + 84
19 CoreFoundation 0x33a18a79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
20 CoreFoundation 0x33a1a6a3 __CFRunLoopDoSources0 + 194
21 CoreFoundation 0x33a1b4eb __CFRunLoopRun + 230
22 CoreFoundation 0x339abec3 CFRunLoopRunSpecific + 230
23 CoreFoundation 0x339abdcb CFRunLoopRunInMode + 58
24 GraphicsServices 0x3451441f GSEventRunModal + 114
25 GraphicsServices 0x345144cb GSEventRun + 62
26 UIKit 0x334f8d69 -[UIApplication _run] + 404
27 UIKit 0x334f6807 UIApplicationMain + 670
28 Giuseppe 0x0000295b main + 70
29 Giuseppe 0x00002910 start + 40
)
terminate called after throwing an instance of 'SFSCodecException'


-----
can someone help me?

Bye Giuseppe
andreagius
Posts: 2
Joined: 18 Jul 2011, 15:42

Postby andreagius » 18 Jul 2011, 15:47

I read all this post but it doesn't sole my problem.
I downloaded the update too.
This is the dump of my error:

---------

2011-07-18 18:08:48.977 Lottomatica[631:707] [SFS - INFO]Data Read: Binary Size: 411
a0 01 98 78 01 d5 94 cf 4e c2 40 10 c6 a7 7f c0 ...x....N.@.....
45 90 58 f4 a2 c6 ab 47 6d 89 a5 36 70 10 e2 c5 E.X....Gm..6p...
9b 89 77 9b 85 6e 49 4d d9 25 ed 42 a2 0f e0 0b ..w..nIM.%.B....
f9 1a be 82 77 df a2 6e b7 0d 11 0c 87 1a 20 31 ....w..n.......1
4d f6 b0 33 9d d9 df 7e df 4e 0b 34 50 b0 06 3a M..3...~.N.4P..:
28 23 15 40 99 b6 40 05 25 36 a0 a6 03 80 86 a0 (#.@..@.%6......
92 e0 08 db 08 f6 7c 12 e0 59 c4 15 c8 3e 0d 90 ......|..Y...>..
a6 7d 19 22 45 9d 45 06 20 03 2a 22 df fe 44 d0 .}."E.E...*"..D.
1c 84 74 cc 1e 39 0e 02 cb b4 6e 35 50 35 00 03 ..t..9....n5P5..
aa 46 56 6c 3f 60 94 7b 9c 24 9c a9 ba a8 dd 8f .FVl?`.{.$......
43 2c 7e 17 91 9a cf 26 21 0d d9 fd 5d 16 68 4e C,~....&!...].hN
98 4f 62 cc 59 fc 80 29 c9 33 aa 78 8e 39 8e b3 .Ob.Y..).3.x.9..
f0 31 4e 12 c2 93 ab 45 d6 e5 94 8e 65 99 fa 88 .1N....E....e...
45 2c 26 1e 65 13 a2 aa 3a a4 69 9a 37 4e c2 57 E,&.e...:.i.7N.W
52 34 16 db 00 0d b9 dd 28 d2 f3 13 65 f9 81 38 R4......(...e..8
6b 86 d2 3b 45 70 d8 8f 48 92 84 cc 75 ac 0b 79 k..;Ep..H...u..y
0b e2 aa fe 00 53 b7 6c d3 72 3c b9 ca ae 3f 48 .....S.l.r<...?H
8e 0a 92 9c cd 74 d7 83 04 1f a5 40 20 2d 40 ba .....t.....@.-@.
ef 02 64 88 a9 1f 72 d6 71 77 04 d2 b6 d6 83 94 ..d...r.qw......
54 64 01 d2 3b 43 d0 18 cc 62 4a 5e 36 a4 86 bb Td..;C...bJ^6...
aa c6 c9 92 1a 5e e1 f8 8d a1 48 33 4a 73 9d 23 .....^....H3Js.#
38 f0 9f 69 48 59 7b 43 2c ce 2a cb 8a b3 da e5 8..iHY{C,.*.....
29 9a b2 e4 ef 27 92 09 28 29 9e 84 20 f3 cc 56 )....'..().....V
f6 b6 20 76 25 48 f7 6d 65 70 d9 ff 77 70 0d c5 ...v%H.mep..wp..
7b b7 4c f3 da 74 6e 3a ce d6 94 59 b6 97 65 96 {.L..tn:...Y..e.
b7 d7 ba 09 9c a6 df b1 e1 93 2a ..........*
2011-07-18 18:08:49.083 Lottomatica[631:707] *** Terminating app due to uncaught exception 'SFSCodecException', reason: 'Invalid SFSDataType. Expected: 18, found: 120'
*** Call stack at first throw:
(
0 CoreFoundation 0x33a4164f __exceptionPreprocess + 114
1 libobjc.A.dylib 0x33e84c5d objc_exception_throw + 24
2 Giuseppe 0x000d9157 -[DefaultSFSDataSerializer decodeSFSObject:] + 218
3 Giuseppe 0x000dad33 -[DefaultSFSDataSerializer binary2object:] + 166
4 Giuseppe 0x000edf07 +[SFSObject newFromBinaryData:] + 54
5 Giuseppe 0x000f004d -[SFSProtocolCodec onPacketRead:] + 36
6 Giuseppe 0x000ecaeb -[SFSIOHandler handlePacketData:] + 590
7 Giuseppe 0x000ed759 -[SFSIOHandler onDataRead:] + 412
8 Giuseppe 0x000d1ad1 -[BitSwarmClient stream:handleEvent:] + 1612
9 CoreFoundation 0x33a13fd9 _inputStreamCallbackFunc + 52
10 CoreFoundation 0x339c0a21 _signalEventSync + 76
11 CoreFoundation 0x339c09bd _cfstream_solo_signalEventSync + 64
12 CoreFoundation 0x339c08b1 _CFStreamSignalEvent + 332
13 CoreFoundation 0x339c0763 CFReadStreamSignalEvent + 10
14 CFNetwork 0x3679ec1b _ZN12SocketStream40dispatchSignalFromSocketCallbackUnlockedEP24SocketStreamSignalHolder + 26
15 CFNetwork 0x3672c3fb _ZN12SocketStream14socketCallbackEP10__CFSocketmPK8__CFDataPKv + 110
16 CFNetwork 0x3672c37d _ZN12SocketStream22_SocketCallBack_streamEP10__CFSocketmPK8__CFDataPKvPv + 48
17 CoreFoundation 0x33a1d491 __CFSocketDoCallback + 340
18 CoreFoundation 0x33a1e4a9 __CFSocketPerformV0 + 84
19 CoreFoundation 0x33a18a79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
20 CoreFoundation 0x33a1a6a3 __CFRunLoopDoSources0 + 194
21 CoreFoundation 0x33a1b4eb __CFRunLoopRun + 230
22 CoreFoundation 0x339abec3 CFRunLoopRunSpecific + 230
23 CoreFoundation 0x339abdcb CFRunLoopRunInMode + 58
24 GraphicsServices 0x3451441f GSEventRunModal + 114
25 GraphicsServices 0x345144cb GSEventRun + 62
26 UIKit 0x334f8d69 -[UIApplication _run] + 404
27 UIKit 0x334f6807 UIApplicationMain + 670
28 Giuseppe 0x0000295b main + 70
29 Giuseppe 0x00002910 start + 40
)
terminate called after throwing an instance of 'SFSCodecException'


-----
can someone help me?

Bye Giuseppe

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 85 guests