【Caused by: java.lang.IllegalArgumentException: Original must not be null 】

下面是我开发项目中遇到的问题,Caused by: java.lang.IllegalArgumentException: Original must not be null,提示这个错误,百思不得其解。最后面不断的google,spring配置Aop配置相关的文章,最后硬着头皮去看看错误,想调试一番,因为spring的代理无非就是两种,一种是jdk代理;另外一种就是cglib代理。

  在这个项目中我用了spring的cglib代理,但是项目是SSH(spring+struts2+ibatis),struts2  默认注入的方式是jdk模式,问题是否是出在这个地方呢?

  错误:Failed to convert property value of type [com.taobao.www.fanjf.servicei.TaobaokeItemsService$$EnhancerByCGLIB$$20783c4d] to required type

  TaobaokeItemsService(实现类)注入到一个spring受管Bean中, 但是spring容器提示你注入的Bean类型不对,它说你注入的是 [$Proxy13] 类型,这就说明你可能在无意中将authorDaoImp实现了代理, 此时你再在spring容器中引用 TaobaokeItemsService(实现类)时得到的将是代理类型。

  这个似乎提示了我,在struts2当中,我必须通过接口注入方式。

  在com.taobao.www.fanjf.action.DisplayPayedAction这个action当中我必须通过接口注入,最后面确定了,lazy-init="false" 也必须使用

  [html]

  taobaokeItemsManager

  下面是配置:

  [html]

  <!-- 声明一个服务 -->

  <bean id="taobaokeItemsServiceTarget" class="com.taobao.www.fanjf.servicei.TaobaokeItemsService" lazy-init="false" autowire="byType"/>

  <!-- 相关的服务 -->

  <bean  id = "taobaokeItemsManager" class="org.springframework.aop.framework.ProxyFactoryBean" >

  <!--这里代理的是接口-->

  <property name="proxyInterfaces" value="com.taobao.www.fanjf.servicei.ITaobaokeItemsService">

  </property>

  <!--是ProxyFactoryBean要代理的目标类-->

  <property name="target">

  <ref bean="taobaokeItemsServiceTarget"/>

  </property>

  <property name="interceptorNames">

  <list>

  <value>methodCachePointCut</value>

  </list>

  </property>

  <property name="proxyTargetClass" value="true"/>

  </bean>

  <bean id="DisplayPayedAction" class="com.taobao.www.fanjf.action.DisplayPayedAction">

  <property name="taobaokeItemsManager" ref="taobaokeItemsManager"   />

  </bean>

  [java]

  [DEBUG] 2012-12-20 13:28:40 :Unable to apply any optimisations to advised method: protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract int org.springframework.aop.framework.Advised.indexOf(org.aopalliance.aop.Advice)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract int org.springframework.aop.framework.Advised.indexOf(org.springframework.aop.Advisor)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isFrozen()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract org.springframework.aop.TargetSource org.springframework.aop.framework.Advised.getTargetSource()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvisor(org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvisor(int,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.setTargetSource(org.springframework.aop.TargetSource)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.setPreFiltered(boolean)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isProxyTargetClass()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.setExposeProxy(boolean)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isExposeProxy()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract java.lang.Class[] org.springframework.aop.framework.Advised.getProxiedInterfaces()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract org.springframework.aop.Advisor[] org.springframework.aop.framework.Advised.getAdvisors()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isPreFiltered()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.isInterfaceProxied(java.lang.Class)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.removeAdvisor(int) throws org.springframework.aop.framework.AopConfigException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.removeAdvisor(org.springframework.aop.Advisor)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.replaceAdvisor(org.springframework.aop.Advisor,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvice(int,org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract void org.springframework.aop.framework.Advised.addAdvice(org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract boolean org.springframework.aop.framework.Advised.removeAdvice(org.aopalliance.aop.Advice)

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract java.lang.String org.springframework.aop.framework.Advised.toProxyConfigString()

  [DEBUG] 2012-12-20 13:28:40 :Method is declared on Advised interface: public abstract java.lang.Class org.springframework.aop.TargetClassAware.getTargetClass()

  [DEBUG] 2012-12-20 13:28:40 :Finished creating instance of bean 'fanjfReportMemeberDAO'

  [DEBUG] 2012-12-20 13:28:40 :Creating shared instance of singleton bean 'userInviteDAO'

  [DEBUG] 2012-12-20 13:28:40 :Creating instance of bean 'userInviteDAO'

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'methodCachePointCut'

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0'

  [DEBUG] 2012-12-20 13:28:40 :Eagerly caching bean 'userInviteDAO' to allow for resolving potential circular references

  [DEBUG] 2012-12-20 13:28:40 :Getting BeanInfo for class [com.taobao.www.fanjf.daoi.UserInviteDAO]

  [DEBUG] 2012-12-20 13:28:40 :Caching PropertyDescriptors for class [com.taobao.www.fanjf.daoi.UserInviteDAO]

  [DEBUG] 2012-12-20 13:28:40 :Found bean property 'class' of type [java.lang.Class]

  [DEBUG] 2012-12-20 13:28:40 :Found bean property 'dataSource' of type [javax.sql.DataSource]

  [DEBUG] 2012-12-20 13:28:40 :Found bean property 'sqlMapClient' of type [com.ibatis.sqlmap.client.SqlMapClient]

  [DEBUG] 2012-12-20 13:28:40 :Found bean property 'sqlMapClientTemplate' of type [org.springframework.orm.ibatis.SqlMapClientTemplate]

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'sqlMapClient'

  [DEBUG] 2012-12-20 13:28:40 :Invoking afterPropertiesSet() on bean with name 'userInviteDAO'

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'methodCachePointCut'

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0'

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'methodCachePointCut'

  [DEBUG] 2012-12-20 13:28:40 :Returning cached instance of singleton bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0'

  [DEBUG] 2012-12-20 13:28:40 :Creating [java.util.concurrent.ConcurrentHashMap]

  [DEBUG] 2012-12-20 13:28:40 :Creating implicit proxy for bean 'userInviteDAO' with 0 common interceptors and 2 specific interceptors

  [DEBUG] 2012-12-20 13:28:40 :Creating CGLIB2 proxy: target source is SingletonTargetSource for target object [com.taobao.www.fanjf.daoi.UserInviteDAO@17e9b52]

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final void org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.setDataSource(javax.sql.DataSource)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final org.springframework.orm.ibatis.SqlMapClientTemplate org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.getSqlMapClientTemplate()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final javax.sql.DataSource org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.getDataSource()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final void org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final com.ibatis.sqlmap.client.SqlMapClient org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.getSqlMapClient()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final void org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.setSqlMapClientTemplate(org.springframework.orm.ibatis.SqlMapClientTemplate)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [WARN ] 2012-12-20 13:28:40 :Unable to proxy method [public final void org.springframework.dao.support.DaoSupport.afterPropertiesSet() throws java.lang.IllegalArgumentException,org.springframework.beans.factory.BeanInitializationException] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

  [DEBUG] 2012-12-20 13:28:40 :Creating [java.util.concurrent.ConcurrentHashMap]

  [DEBUG] 2012-12-20 13:28:40 :Unable to apply any optimisations to advised method: public java.util.List com.taobao.www.fanjf.daoi.UserInviteDAO.query(java.lang.Long,java.lang.Long,java.lang.String,java.lang.String,java.util.Date,java.util.Date) throws java.lang.RuntimeException

  [DEBUG] 2012-12-20 13:28:40 :Unable to apply any optimisations to advised method: public com.taobao.www.fanjf.pojo.UserInvite com.taobao.www.fanjf.daoi.UserInviteDAO.findUserInviteById(int) throws java.lang.RuntimeException

  [DEBUG] 2012-12-20 13:28:40 :Unable to apply any optimisations to advised method: public void com.taobao.www.fanjf.daoi.UserInviteDAO.saveUserInvite(com.taobao.www.fanjf.pojo.UserInvite) throws java.lang.RuntimeException

  [DEBUG] 2012-12-20 13:28:40 :Unable to apply any optimisations to advised method: public void com.taobao.www.fanjf.daoi.UserInviteDAO.deleteUserInvite(int) throws java.lang.RuntimeException

  [DEBUG] 2012-12-20 13:28:40 :Unable to apply any optimisations to advised method: public void com.taobao.www.fanjf.daoi.UserInviteDAO.updateUserInvite(com.taobao.www.fanjf.pojo.UserInvite) throws java.lang.RuntimeException

更多精彩教程请关注:windows xp系统下载

转载于:https://www.cnblogs.com/qq12345678/p/3247409.html

linux基线检查、基线加固、安全漏扫、系统漏洞、centos7、文尾部附脚本 等保三级-CentOS Linux 7合规基线检查 风险分类:系统-等保三级-CentOS Linux 7合规基线检查 检测项说明: CentOS Linux 7合规基线检查,对标中国等保2.0第三级等级保护基本要求部分检查项目,仅供参考 检查项目 : 应对登录的用户进行身份标识和鉴别,身份标识具有唯一性,身份鉴别信息具有复杂度要求并定期更换 加固建议: 1、执行`cat /etc/shadow | awk -F: '($2 == "" ) { print $1}' `, 查看空密码账户并处理; 2、 阅读详情

相关推荐

深度学习简介(框架)

深度学习是一种基于人工神经网络的机器学习方法,它通过模拟人脑的工作原理来解决复杂的数据模式识别问题。这种方法在图像识别、语音识别、自然语言处理等领域取得了显著的进展。深度学习是机器学习的一个子领域,它基于人工神经网络的学习算法,特别是那些具有多层(深层)结构的网络。这些深度神经网络能够学习数据的高级特征和模式。深度学习作为人工智能的关键驱动技术,已经在多个领域展现出其强大的能力。随着研究的深入和技术的发展,深度学习将继续推动人工智能的边界向前发展。

2301_77539454的博客 5355

Caused by: java.lang.IllegalArgumentException

Caused by: java.lang.IllegalArgumentException 是因为jdk较高而项目需要的是低版本的问题 1.将idea或idea里的语言级别调到适合自己项目的版本比如安装的是1.8 项目需要1.6的环境 这样之后本地运行应该就没问题了(只用过idea eclipse还没试) 在没加下面这步之前 不要用maven打包 这样idea会用你打好的包 这样也会报错。 ...

weixin_34043301的博客 5547

ArcGIS Pro2.5深度学习使用注意事项

ArcGIS Pro2.5深度学习使用中的注意事项1、ArcGIS Pro2.5深度学习使用中的注意事项1.1、Label深度学习样本工具参数介绍1.2、准备数据参数介绍1.3、训练模型介绍1.4、ArcGIS Pro2.5深度学习推理工具和模型对应关系介绍1.4.1、Classify Objects Using Deep Learning1.4.2、Classify Pixels Using D...

GIS哼哈哈的博客 7206

Caused by: java.lang.IllegalArgumentException: Original must not be null

下面是我开发项目中遇到的问题,Caused by: java.lang.IllegalArgumentException: Original must not be null,提示这个错误,百思不得其解。最后面不断的google,spring配置Aop配置相关的文章,最后硬着头皮去看看错误,想调试一番,因为spring的代理无非就是两种,一种是jdk代理;另外一种就是 cglib代理。 在这个

thisisvoa的专栏 3万+

基于ESP32的智能停车场管理系统开发

智能停车场管理系统通过引入物联网(IoT)技术,实现对停车场内车辆的实时监控、空闲车位的管理、车辆的入场与出场控制等功能,大大提高了停车场的利用率和管理效率。通过集成物联网技术、云平台以及先进的传感器和执行器,系统不仅能实时监控停车场的车位状态,还能提供更好的用户体验。本文将介绍如何基于ESP32开发一个智能停车场管理系统,涵盖系统架构、硬件选择、软件开发以及最新技术的应用,帮助开发者实现高效的智能停车管理。ESP32的代码主要负责处理车位传感器的数据,控制LED指示灯的状态,以及与云平台进行数据交互。

2201_76125393的博客 919

【MATLAB代码】蚁群算法(Ant Colony Optimization, ACO)路径规划(避障)仿真程序,订阅专栏后可直接查看完整源代码

基于蚁群算法的路径规划系统。可自定义起点、终点和障碍物地图,系统通过蚁群算法自动计算最优路径,并输出路径坐标、障碍物地图和收敛曲线。完整MATLAB源代码直接运行。适用于复杂障碍环境下的路径优化问题。

985工科博士毕业,专攻定位、导航和滤波等算法研究。从业10年,主要使用MATLAB 3101

【Bug修复】java.lang.IllegalArgumentException、java.lang.NullPointerException 问题解决修复

【Bug修复】java.lang.IllegalArgumentException、java.lang.NullPointerException 问题解决修复。 问题说明; 分析解决; 相关代码; 【**根本原因**】若路由跳转页面没传参数时,使用@Autowire初始化参数对象无效,对象为null 【**解决方案**】使用常规获取跳转参数的方式:getIntent.getString() 【**代码定位**】可从log7、8、9中 model.BugActivity.initBinding定位相关类

weixin_44158429的博客 3964

2025美赛C题奥运奖牌榜模型(附代码+全保姆教程)Models for Olympic Medal Tables

伟大教练”效应的测量方法定义奖牌变化率:−−​如果变化率显著为正,且超出历史平均增长率,则认为存在“伟大教练”效应。使用统计方法(如t检验)验证教练到来是否带来显著性差异。

博客 6381

解决报错java.lang.IllegalArgumentException: Value must not be null!

解决报错java.lang.IllegalArgumentException: Value must not be null!

weixin_42148384的博客 3587

数学工具箱:Clarke与Park变换

本文详细解析了FOC(磁场定向控制)中的核心数学工具——Clarke变换与Park变换。首先阐述了坐标变换的必要性:将复杂的三相交流系统简化为直流系统,便于精确控制。Clarke变换将三相静止坐标系转换为两相静止坐标系,减少变量数量;Park变换进一步将两相静止坐标系转换为两相旋转坐标系,实现交流量到直流量的转换。文章提供了两种变换的数学公式、物理意义图解及C语言实现代码,并简要介绍了逆变换过程。这些变换为电机控制提供了关键的数学基础,后续将结合GD32F303的FPU特性进行优化实现。

汽车电子软件领域知识分享 190

AI智算-K8s+vLLM & Ray:DeepSeek-r1 671B 满血版分布式推理部署实践

自从上次发布 【AI-智算】K8s+SGLang实战:DeepSeek-r1:671b满血版多机多卡私有化部署全攻略] 文章后,本次将演示另一个主流推理引擎工具——vLLM,结合K8s、LWS、Ray、Volcano等技术栈,部署DeepSeek-r1 671b 满血版分布式推理集群,并对比其与SGLang推理引擎的性能表现。

Kason_iWiki 1840

Caused by: java.lang.IllegalArgumentException的解决方法

最近在网上下载了一个demo,在手机运行时出现“应用停止运行”,logo如下: 解决方法是: 1.检查文件路径是否出错; 2.如果文件路径没有出错,检查“存储空间”权限是否打开

csdn0711的博客 5万+

查找【CSDN】- 人工客服

【代码】查找【CSDN】- 人工客服。

👨‍💻 前端开发者 | 技术分享者 1442

Caused by: java.lang.IllegalArgumentException: Location must not be null

异常描述: java.lang.ExceptionInInitializerError at com.liyo.modules.sys.service.SystemService.printKeyLoadMessage(SystemService.java:570) at com.liyo.modules.sys.listener.WebContextListener.initWebApp...

小灰~的博客 1万+

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Caused by: java.lang.IllegalArgumentException: hostname can't be null

错误信息: Caused by: java.lang.IllegalArgumentException: hostname can't be null at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149) at java.net.InetSocketAddress.&lt;init&gt;(InetSock...

落地 7548

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

java Caused by: java.lang.IllegalArgumentException: The given id must not be null!

Caused by: java.lang.IllegalArgumentException: The given id must not be null! 解决: 其一:在方法中,字段查询初始化为null值时,再调用该值去做查询,则为报该错误。

hbq111的博客 1181

java.lang.IllegalArgumentException: hostname can‘t be null这个异常的解决办法分析

HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException: hostname can't be null type Exception report message Request processing failed; nested exception ...

hit、run 2万+

nested exception is java.lang.IllegalArgumentException: The given id must not be null!

nested exception is java.lang.IllegalArgumentException: The given id must not be null!

小丁的博客 560

java.lang.IllegalArgumentException: Host name may not be null:

菜鸟错误大全(五) 我们都是从新手一步一个坑踩过来的,下面我们来讲讲会遇到的常见错误和解决办法: java.lang.IllegalArgumentException: Host name may not be null:URL地址写错了,比如:http://www.baidu.com写成http: www.baidu.com

daojian5173的博客 2万+

解决——》java.lang.IllegalArgumentException: Body parameter 0 was null

1、操作2、现象(错误信息)3、原因错误代码:4、解决1)方案一:@RequestBody(required=false)2)方案二:传参数时限制authSession不能为空ody parameter 0 was null)1、操作调用controller时 2、现象(错误信息)java.lang.IllegalArgumentException: Body parameter 0 ...

weixin_30911451的博客 1114

线程池启动报null :Caused by: java.lang.IllegalArgumentException: null

线程池核心线程数<= 最大线程数,否则报Caused by: java.lang.IllegalArgumentException: null

HelloJavaE2的博客 292

java.lang.IllegalArgumentException: channel must not be null

ESB使用中介服务报错

qq_34254090的博客 574

Caused by: java.lang.IllegalArgumentException: Name for parameter binding must not be null or empty!

报错内容 Caused by: java.lang.IllegalArgumentException: Name for parameter binding must not be null or empty! For named parameters you need to use @Param for query method parameters on Java versions < 8 报错原因 可以看出我的方法上面传参名称和sql语句的名称是不一样的,所以要做修改成如下内容 这样子就解决问

ヾ凉秋的博客 1095

springboot项目启动类报Caused by: java.lang.IllegalArgumentException问题解决方案

springboot项目启动类报错记录springboot项目启动类报Caused by: java.lang.IllegalArgumentException问题解决方案 springboot项目启动类报Caused by: java.lang.IllegalArgumentException问题解决方案 具体错误展示内容如下: "C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspr

月亮投递员的博客 3万+

安卓java.lang.IllegalArgumentException: The observer is null.解决方案

刚刚在调试自己的APP项目的时候报错java.lang.IllegalArgumentException: The observer is null.,而之前是可以运行通过,所以百思不得其解,后来在网上查找相关资料,终于弄明白是咋回事,现在记录如下,一来算是积累调错方面的知识,二来或许可以帮到出现同样错误的人。 出错的主要原因是在ViewPager中使用到了GridView这样的控件,当销毁包含

(* ̄︶ ̄) 4319

FeignClient Caused by: java.lang.IllegalArgumentException

在项目中遇见好几次这个bug,被坑很多次,而且很难找出问题所在 Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 81: http://monntor/api/uur/test/e7e0ff2c-0f10-4705-a3a7-d410d0b9d08d/heat{heat}/list/

王仁一的博客 4858

Caused by: java.lang.IllegalArgumentException: Receiver not registered

或许是没走onCreate,但是Resume一定走的,那么就是Destroy的时候,为什么receiver非空,因为取消注册的时候是不会置为空的?运行时错误,在界面销毁的时候无法取消监听,因为接收器没有注册。系统强制关闭crash的应用。出现ANR,关闭应用界面。具体的代码类和方法行数。显示crash 弹窗。

。 1073
上一篇: ORA-12170 TNS 连接超时
下一篇: Flex编程注意之直接获取某个组件的对象(this[]用法)通过id获取控件
weixin_34400525
博客等级 码龄11年 5841粉丝 138原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值