Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the memory overflow caused by serialization error (JavaSerializer.java:313) in dubbox call

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to solve the dubbox call serialization error (JavaSerializer.java:313) infinite loop caused by memory overflow", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to solve the dubbox call serialization error (JavaSerializer.java:313) infinite loop caused memory overflow" bar!

The phenomena are as follows:

Java.lang.StackOverflowError

At sun.reflect.UnsafeFieldAccessorImpl.ensureObj (UnsafeFieldAccessorImpl.java:57)

At sun.reflect.UnsafeByteFieldAccessorImpl.getByte (UnsafeByteFieldAccessorImpl.java:44)

At sun.reflect.UnsafeByteFieldAccessorImpl.getInt (UnsafeByteFieldAccessorImpl.java:57)

At java.lang.reflect.Field.getInt (Field.java:574)

At com.alibaba.com.caucho.hessian.io.JavaSerializer$IntFieldSerializer.serialize (JavaSerializer.java:351)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeInstance (JavaSerializer.java:263)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject (JavaSerializer.java:227)

At com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject (Hessian2Output.java:408)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject (JavaSerializer.java:203)

At com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject (Hessian2Output.java:408)

At com.alibaba.com.caucho.hessian.io.JavaSerializer$FieldSerializer.serialize (JavaSerializer.java:313)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeInstance (JavaSerializer.java:263)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject (JavaSerializer.java:227)

At com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject (Hessian2Output.java:408)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject (JavaSerializer.java:203)

At com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject (Hessian2Output.java:408)

At com.alibaba.com.caucho.hessian.io.JavaSerializer$FieldSerializer.serialize (JavaSerializer.java:313)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeInstance (JavaSerializer.java:263)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject (JavaSerializer.java:227)

At com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject (Hessian2Output.java:408)

At com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject (JavaSerializer.java:203)

At com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject (Hessian2Output.java:408)

Reason: dubbox's localdatetime support for jdk1.8 is not good. Resolve the problem with java.util.date instead.

Thank you for reading, the above is "how to solve the dubbox call serialization error (JavaSerializer.java:313) infinite loop caused by memory overflow" content, after the study of this article, I believe you on how to solve the dubbox call serialization error (JavaSerializer.java:313) infinite loop caused by memory overflow this problem has a more profound experience, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report