IllegalArgumentException异常

原创 2015年07月07日 17:16:50
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: FATAL EXCEPTION: main
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: Process: com.android.dialer, PID: 5524
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: java.lang.IllegalArgumentException: invalid call type: 0
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallTypeIconsViewEx.getCallTypeDrawable(CallTypeIconsViewEx.java:219)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallTypeIconsViewEx.set(CallTypeIconsViewEx.java:178)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllog.CallLogListItemView.setCallType(CallLogListItemView.java:1279)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.PhoneCallDetailsHelperEx.setPhoneCallDetails(PhoneCallDetailsHelperEx.java:109)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallLogAdapterEx.bindView(CallLogAdapterEx.java:1047)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllog.CallLogListAdapter.bindView(CallLogListAdapter.java:41)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallLogAdapterEx.bindGroupView(CallLogAdapterEx.java:635)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.android.common.widget.GroupingListAdapter.getView(GroupingListAdapter.java:477)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.AbsListView.obtainView(AbsListView.java:2372)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.makeAndAddView(ListView.java:1813)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.fillDown(ListView.java:698)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.fillFromTop(ListView.java:759)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.layoutChildren(ListView.java:1632)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.AbsListView.onLayout(AbsListView.java:2166)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:374)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2483)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2189)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1257)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6424)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:591)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:560)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:808)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:103)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.app.ActivityThrea

IllegalArgumentException: invalid call type: 0 calltype参数不合法,Switch(calltype) case中无0的选项,所有抛出参数非法异常
版权声明:本文为博主原创文章,未经博主允许不得转载。Android北京开发技术群 482266514密码CSDN

使用RecyclerView时出现异常IllegalArgumentException的原因

使用RecyclerView时出现异常IllegalArgumentException的原因     最近在项目当中使用RecyclerView常常出现异常,java.lang.IllegalAr...
  • u014327427
  • u014327427
  • 2016年12月09日 10:38
  • 2214

java.lang.IllegalArgumentException 非法参数异常

该异常的主要原因是jdk的版本和spring的版本不匹配,只要将jdk的版本改为比原来低版本的就可以解决了 我的jdk原来是1.8的,spring是3.2的,然后我将jdk改为1.7的,问题就解...
  • github_37473774
  • github_37473774
  • 2017年05月10日 20:00
  • 4533

java.lang.IllegalArgumentException

java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.(Unknown Source) at org....
  • sundaytok
  • sundaytok
  • 2014年07月16日 13:58
  • 4447

ES中查询数据使用date_histogram时报错

ES中,查询数据时,出现如下错误:"reason": { "type": "illegal_argument_exception", "reason": "Fielddata is d...
  • u010466329
  • u010466329
  • 2017年07月21日 16:40
  • 618

spring boot jpa-java.lang.IllegalArgumentException: Not a managed type异常问题解决方法

最近遇到一个问题:在生产中有两个模块,一个模块负责定时任务,并负责存库,另一个模块则负责读取数据库,并展示,由于是两个不同的模块,所以每个模块中都有一部分entity是公用的,导致整个系统的代码重复率...
  • liuchuanhong1
  • liuchuanhong1
  • 2017年07月02日 12:03
  • 5307

Toast异常

近期在测试时发现在某一个手机弹出Toast时候出现了这个异常,其他手机没有发现 后查看手机系统版本发现是Android 7.1,错误主要log如下WindowManager$BadTokenExce...
  • zh_qianwei
  • zh_qianwei
  • 2017年05月25日 10:51
  • 715

Android自定义吐司(Toast)

安卓写自定义吐司样式,先查看Toast类的源码: public static Toast makeText(Context context, CharSequence text, @Du...
  • lnniyunlong99
  • lnniyunlong99
  • 2016年05月30日 15:40
  • 2814

IllegalArgumentException occured : Parameter value [camera]was not matching type [java.lang.Double]

在Play框架平台开发中遇到这样一个报错, java代码如下: public MonEntity queryMonEntityByName(String name){ return M...
  • lylyyg
  • lylyyg
  • 2017年06月26日 12:10
  • 426

hql语句之间少了空格引起的.IllegalArgumentException不合法异常

line 1:81: unexpected token: e at org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseP...
  • HaleyLiu123
  • HaleyLiu123
  • 2017年04月04日 10:55
  • 719

正则表达式匹配被忽略的异常

在软件开发中可能会有一些异常,因为开发习惯问题导致异常未被正确处理,只是打印了日志: try{ ... } catch (Exception e) { e.printStackTra...
  • ALLsharps
  • ALLsharps
  • 2016年07月15日 11:07
  • 797
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:IllegalArgumentException异常
举报原因:
原因补充:

(最多只允许输入30个字)