Android:抛出Paint IndexOutOfBoundsException

时间:2016-09-16 11:09:40

标签: java android indexoutofboundsexception

在某些设备上我的应用程序崩溃了,不知道为什么,我已经集成了bugsnag并捕获了以下堆栈跟踪,你能告诉它是什么意思:

java.lang.IndexOutOfBoundsException·
Raw
Paint.java:2762android.graphics.Paint.getRunAdvance 
TextLine.java:748android.text.TextLine.handleText   
TextLine.java:902android.text.TextLine.handleRun    
TextLine.java:417android.text.TextLine.measureRun   
TextLine.java:296android.text.TextLine.measure  
TextLine.java:270android.text.TextLine.metrics  
Layout.java:1056android.text.Layout.getLineExtent   
Layout.java:1012android.text.Layout.getLineMax  
Layout.java:984android.text.Layout.getLineRight 
Editor.java:1727android.widget.Editor.drawHardwareAccelerated   
Editor.java:1663android.widget.Editor.onDraw    
TextView.java:6534android.widget.TextView.onDraw    
View.java:17469android.view.View.draw   
View.java:16464android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 
ViewGroup.java:3711android.view.ViewGroup.dispatchDraw  
View.java:16459android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 
ViewGroup.java:3711android.view.ViewGroup.dispatchDraw  
View.java:17472android.view.View.draw   
View.java:16464android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 
ViewGroup.java:3711android.view.ViewGroup.dispatchDraw  
View.java:17472android.view.View.draw   
View.java:16464android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 
ViewGroup.java:3711android.view.ViewGroup.dispatchDraw  
View.java:17472android.view.View.draw   
View.java:16464android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 
ViewGroup.java:3711android.view.ViewGroup.dispatchDraw  
View.java:16459android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 

同样的堆栈跟踪:

CoordinatorLayout.java:1132android.support.design.widget.CoordinatorLayout.drawChild    
ViewGroup.java:3711android.view.ViewGroup.dispatchDraw  
View.java:16459android.view.View.updateDisplayListIfDirty   
View.java:17238android.view.View.draw   
ViewGroup.java:3921android.view.ViewGroup.drawChild 
DrawerLayout.java:1377android.support.v4.widget.DrawerLayout.drawChild

0 个答案:

没有答案