the speicified call count is not a number一种解决
来源:互联网 发布:axure linux 编辑:程序博客网 时间:2024/06/03 04:26
问题现象:
系统登录进去保持一断时间不操作,session失效后进行点击菜单出现弹出框提示:the speicified call count is not a number
解决过程:
1、由于是通过DWR调用引起的弹出框提示,故开始对dwr的请求增加过滤器
对DWR请求时候进行session失效判断并让其回到登录页面,测试发现还是会有这个弹出框提示
2、通过尝试使用网上的一些解决方法后发现此问题还是存在,回到问题的开始,既然是session过期点击菜单时候出现的,去寻找代码中可能引起问题的地方,发现有可能导致的问题是的地方就是点击菜单的时候进行了两次DWR请求操作:
3、尝试后发现此处没有对DWR进行设置调用方式,解决就比较容易了:就是在这两个DWR方法上事先DWR引擎设置好同步调用
DWREngine.setAsync(false);
//请求方法
DWREngine.setAsync(true);
问题可能是由于session失效后异步调用DWR的结果导致the specified call is not a number的提示
系统登录进去保持一断时间不操作,session失效后进行点击菜单出现弹出框提示:the speicified call count is not a number
解决过程:
1、由于是通过DWR调用引起的弹出框提示,故开始对dwr的请求增加过滤器
对DWR请求时候进行session失效判断并让其回到登录页面,测试发现还是会有这个弹出框提示
2、通过尝试使用网上的一些解决方法后发现此问题还是存在,回到问题的开始,既然是session过期点击菜单时候出现的,去寻找代码中可能引起问题的地方,发现有可能导致的问题是的地方就是点击菜单的时候进行了两次DWR请求操作:
3、尝试后发现此处没有对DWR进行设置调用方式,解决就比较容易了:就是在这两个DWR方法上事先DWR引擎设置好同步调用
DWREngine.setAsync(false);
//请求方法
DWREngine.setAsync(true);
问题可能是由于session失效后异步调用DWR的结果导致the specified call is not a number的提示
0 0
- the speicified call count is not a number一种解决
- 解决The selection is not within a valid module
- 解决The selection is not within a valid module
- 解决The selection is not within a valid module
- 解决The selection is not within a valid module
- NAND write: '$filesize' is not a number
- ORA-23421: job number 204 is not a job in the job queue
- ORA-23421: job number string is not a job in the job queue
- ORA-23421: job number 8219 is not a job in the job queue(dbms_job.broken)
- ORA-23421: job number 25 is not a job in the job queue
- ORA-23421: job number 25 is not a job in the job queue
- 解决python查询报%d format: a number is required, not str问题
- You may not call SetData on a resource while it is actively set on the GraphicsDevice. Unset it from
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is
- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is
- js 解码和编码方法大全
- 创建触发器样例
- Tomcat全攻略(TOMCAT详细教程)
- 第一章 Web MVC简介
- 如何查找当前活动的frame路径
- the speicified call count is not a number一种解决
- 17周项目1-2-2
- MVC 伪静态配置
- Hibernate HQL 括号问题
- java regex详解
- 17周项目二,1,(指针做形参)
- YCSB 安装 hadoop 2.2.0 + hbase 0.96
- 抽象工厂下的三层架构
- windows 版Tomcat 7.0的配置