thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tom schuring <...@clogwog.net>
Subject exception when running objective-c server
Date Thu, 20 Dec 2012 06:31:33 GMT
i'm trying to get an objetive-c thrift server going, and it compiles now,
it just throws an exception as soon as i try to create a processor with a
handler like:

*2012-12-20 17:20:41.762 controlhead[59769:11603] *** Terminating app due
to uncaught exception 'NSInvalidArgumentException', reason: '+[NSInvocation
_invocationWithMethodSignature:frame:]: method signature argument cannot be
nil'*

**** First throw call stack:*

*(0x16d8012 0x14fde7e 0x1762234 0x16c7e10 0x89594 0x31ba 0x32b9 0x3432
0x29f1 0x4427b7 0x442da7 0x443fab 0x455315 0x45624b 0x447cf8 0x2525df9
0x2525ad0 0x164dbf5 0x164d962 0x167ebb6 0x167df44 0x167de1b 0x4437da
0x44565c 0x28dd 0x2805)*

*libc++abi.dylib: terminate called throwing an exception*

*(lldb) *

i have implemented the thrift-generated interface in the handler (i use the
appdelegate now, but had it in a separate class as well with same results)

   @interface tsAppDelegate : UIResponder <UIApplicationDelegate, macuimacui
>

with empty but valid implementations:

- (void) status_update: (int) status_type status: (int32_t) status  //
throws TException
{
    NSLog(@"status_update");
}

....

 could it be the TException that i don't define ?

i'm not sure where to look at next ? any help very welcome!

thanks,
tom

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message