尝试查找 Flex“RPC 错误”的原因弹出窗口
我正在使用 Flex 4 应用程序(使用 BlazeDS 的 MXML 和 ActionScript 前端以及 Java 后端),并且正在尝试查找错误的根源。
用户有时(可能每周一次)在其 Web 浏览器中会收到一个带有“RPC 错误”的弹出窗口。如果他们重试该操作,则会收到相同的错误。重新启动浏览器或重新加载页面即可使错误消失。查看服务器日志,我没有看到服务器端有任何错误。如何找出 RPC 错误的原因?我可以在浏览器或 Flash 播放器中配置某些设置来获取更多信息吗?
感谢您的任何想法。我已经搜索过网络&一些论坛包括SO,但我空手而归。
编辑:在这种情况下,问题似乎是网络连接丢失(用户通过蜂窝调制解调器连接)。我仍然对有关如何解决此问题的任何想法感兴趣。
I'm working with a Flex 4 application (MXML and ActionScript front-end using BlazeDS and Java back-end) and I am trying to find the origin of an error.
The user sometimes (maybe once a week) gets a pop-up window with "RPC Error" in their web browser. If they retry the operation, they get the same error. Restarting the browser or maybe just reloading the page makes the error go away. Looking in the server log, I don't see any error on the server side. How can I figure out the cause of the RPC error? Can I configure some setting in the browser or Flash player to get additional info?
Thanks for any ideas. I've searched the web & some forums including SO but I've come up empty-handed.
Edit: in this case it appears the problem was loss of the network connection (user was connected via cell modem). I'm still interested in any ideas about how to troubleshoot this problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我喜欢在 Firefox 中进行开发并使用 Firebug 作为控制台。当 Flex 应用程序启动时,打开 Firebug 并查看“网络”选项卡。它将显示 Flex 初始化时进行的所有 RPC 调用,这对于此类错误非常有用。
I like to do my development in Firefox and using Firebug as a console. When the Flex app starts, open up Firebug and look at the Net tab. It will bring up all the RPC calls made while Flex is initializing, which can be very useful for these kinds of bugs.