快速修复 org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
在使用列表时,我在 Axis2 v1.6.1 和 v1.6.2 上都遇到了以下问题:
java.lang.StackOverflowError:
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
...
我对此进行了深入搜索,并意识到这个问题在 Apache 发布 Axis2 v1.6.2 之前不会得到解决。 有人能快速解决这个问题吗? 谢谢!
I've encountered the following problem with both Axis2 v1.6.1 and v1.6.2, when using lists:
java.lang.StackOverflowError:
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:467)
...
I did a deep search on this and realized that this issue won't be fixed until Apache releases Axis2 v1.6.2.
Does anyone have a quick fix for that?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题出在 axis2-adb-1.6.1.jar 文件中。
如果您等不及 1.6.2 发布,我已经创建了一个新的 jar,基于 v1.6.1,它解决了这个问题;我使用的代码基于 Apache 的源代码(他们的主干),并且错误修复类似于他们为 1.6.2 所做的修复(谢谢,Sagara Gunathunga :))。除了这个特定的错误修复之外,我没有改变任何东西。
您可以从此处下载该 jar ,当您将此 jar 复制到 lib 目录时,不要忘记删除旧的 axis2-adb-1.6.1.jar。
一旦你这样做了(当然,并重新启动你的应用程序) - 问题就消失了。
只要 v1.6.2 未发布,我就会尝试将这个 jar 保留在我的保管箱中。
希望所有 Java 开发人员在升级到 Axis2 1.6.1 时很快就会发现它很有用。
The problem is in axis2-adb-1.6.1.jar file.
If you cannot wait for 1.6.2 to be released, I've created a new jar, based on v1.6.1, which fixes this problem; the code I used is based on Apache's source code (their trunk), and the bugfix is similar to the fix they did for 1.6.2 (Thanks, Sagara Gunathunga :)). I didn't change anything except from this specific bugfix.
You can download the jar from here, don't forget to remove the old axis2-adb-1.6.1.jar when you copy this jar into your lib directory.
Once you did that (and restart your application, of course) - the problem is gone.
I'll try to keep this jar on my dropbox as long as v1.6.2 is not released.
Hope all of you java developers will find it useful soon when upgrading to Axis2 1.6.1.