CSipSimple在android棒棒糖上抛出异常.
JNI DETECTED ERROR IN APPLICATION,输入无效修改UTF-8:非法启动字节0x8e
在进行voip呼叫时,我在这里向ISipService发送消息只是为了检查呼叫是进行还是断开连接.我在pjSip.getPtr()中获得此异常,该异常位于pjSipService.java类中.在这里,我粘贴我的错误日志.
12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0x8e 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] string: 'OKp.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p' 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] in call to NewStringUTF 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] from java.lang.String org.pjsip.pjsua.pjsuaJNI.pj_str_t_ptr_get(long, org.pjsip.pjsua.pj_str_t) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] "Thread-1487" prio=5 tid=34 Runnable 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x13084400 self=0xafe5fc00 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] | sysTid=11490 nice=0 cgrp=apps sched=0/0 handle=0xafed3a80 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] | state=R schedstat=( 517221254 1512118979 3817 ) utm=23 stm=28 core=0 HZ=100 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] | stack=0x9dc06000-0x9dc08000 stackSize=1012KB 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #00 pc 00004c58 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #01 pc 000034c1 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #02 pc 002526ad /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream>&, int, char const*, art::mirror::ArtMethod*)+84) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #03 pc 0023618b /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream >&) const+162) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #04 pc 000b1215 /system/lib/libart.so (art::JniAbort(char const*, char const*)+620) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #05 pc 000b1945 /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+68) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #06 pc 000b3ee3 /system/lib/libart.so (art::ScopedCheck::Check(bool, char const*, ...) (.constprop.128)+922) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #07 pc 000bd9e5 /system/lib/libart.so (art::CheckJNI::NewStringUTF(_JNIEnv*, char const*)+44) 12-03 17:26:38.625: A/art(11312): art/runtime/check_jni.cc:65] native: #08 pc 000f5885 /data/app/com.xpointers.careteam-2/lib/arm/libpjsipjni.so (_JNIEnv::NewStringUTF(char const*)+8)
任何的想法?或者,如果呼叫被其他方断开,则可以获得通知的任何替代方案?或wifi在其他设备上断开连接,为此我将收到呼叫断开的通知.