醒目的空异常醒目、异常

由网友(小傲慢)分享简介:我工作的一个Java应用程序的Andr​​oid和我目前我得到了一个问题,调试器步入我的catch块,不管怎样前为空?有没有人见过这样的事情之前?}赶上(例外前){//调试器即将通过catch块和前为空????}解决方案 这听起来像源$ C ​​$ c和编译的类是不同步的,所以调试器步入错误的块。试着做一个干净的...

我工作的一个Java应用程序的Andr​​oid和我目前我得到了一个问题,调试器步入我的catch块,不管怎样前为空?有没有人见过这样的事情之前?

 }
赶上(例外前)
{
   //调试器即将通过catch块和前为空????
}
 

解决方案

这听起来像源$ C ​​$ c和编译的类是不同步的,所以调试器步入错误的块。

试着做一个干净的,然后重建。

有你更精彩 2016新闻频道跨年嘉年华来啦

I'm working on a java application for android and I currently am getting a problem where the debugger is stepping into my catch block and somehow ex is null? Has anyone seen anything like this before?

}
catch(Exception ex)
{
   // Debugger is coming through the catch block and ex is null ????
}

解决方案

This sounds like the source code and the compiled classes are out of sync, so the debugger is stepping into the wrong block.

Try to do a clean and then a rebuild.

阅读全文

相关推荐

最新文章