我正在使用bugsense 3.4jar。我有一个简单的测试代码来生成NullPointerException.But我看不到生成的崩溃,所以我找了eclipse的logcat,找到了这些日志:
08-05 16:30:03.967: W/BugSenseHandler(10490): Transmitting crash Exception No peer certificate
08-05 16:30:03.973: I/System.out(10490): close [socket][/0.0.0.0:49073]
08-05 16:30:03.974: W/BugSenseHandler(10490): Transmitting crash Exception No peer certificate
08-05 16:30:03.981: D/libc-netbsd(10490): getaddrinfo: bugsense.appspot.com return error = 0x8 >>
08-05 16:46:27.199: W/BugSenseHandler(10660): Transmitting crash Exception No peer certificate
mycode的:
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
BugSenseHandler.initAndStartSession(this, MYAPIKEY);
.......
try {
String i = null;
Log.e("test crashed report", i);
} catch (Exception e) {
// TODO: handle exception
BugSenseHandler.sendException(e);
}
有人帮帮我吗?谢谢!