your eclipse's crashing, I have encountered similar errors before. Try your code in another computer and see if error still exist.
On Aug 31, 5:09 pm, 诗阳 刘 <senyoung...@gmail.com> wrote: > I am recently programming and when I debug my program, I got this > error. I don't have any idea about what's why. Can anyone help me? > Thanks a lot. Here is the log error information: > > eclipse.buildId=M20110210-1200 > java.version=1.6.0_26 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN > Framework arguments: -product org.eclipse.epp.package.java.product > Command-line arguments: -os win32 -ws win32 -arch x86 -product > org.eclipse.epp.package.java.product > > Error > Wed Aug 31 16:49:16 CST 2011 > Internal error logged from JDI Debug: > > org.eclipse.debug.core.DebugException: Invalid stack frame > at > org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getUnderlyingStackF > rame(JDIStackFrame.java: > 1010) > at > org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getUnderlyingThisOb > ject(JDIStackFrame.java: > 700) > at > org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getThis(JDIStackFra > me.java: > 1058) > at > org.eclipse.jdt.internal.debug.ui.JavaDebugHover.getHoverInfo2(JavaDebugHov > er.java: > 362) > at > org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(Be > stMatchHover.java: > 141) > at > org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHov > erInfo2(JavaEditorTextHoverProxy.java: > 82) > at org.eclipse.jface.text.TextViewerHoverManager > $4.run(TextViewerHoverManager.java:166) > > Also, I would like to paste my program. Please let me know if you find > any bug about it. Thanks a log.It is the function below where the > project broke down: > public boolean smooth(){ > int x,y,i,j; > int r=1,d=1; > int sum,num; > int temp=0; > > for(y = 0; y < this.Imgh; y++) > { > for(x = 0; x < this.Imgw; x++) > { > sum = 0; > num = 0; > for(i = -r; i <= r; i++) > { > if((i+y<0) || (i+y>=this.Imgh)) > continue; > for(j = -r; j <= r; j++) > { > if((j+x<0 )|| (j+x>=this.Imgw)) > continue; > > temp=(y+i)*this.Imgw+x+j; > if((temp>=0)&&(temp<this.Imgw*this.Imgh)){ > sum += this.g_OrgFinger[temp]; > num++; > } > else{ > Log.e("myerror","matrix overload"); > } > } > } > this.g_Temp[y*this.Imgw+x] = (byte)(sum/num); > } > > } > return true; > } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en