Mantis - Baratine
Viewing Issue Advanced Details
5897 minor always 05-07-15 19:16 05-11-15 17:35
nam  
 
normal  
new  
open  
none    
none  
0005897: StackOverflow in MarshalBean.convert()
affected java.util classes: HashMap, LinkedList, etc. May want to set null when there is a recursive field.

java.lang.StackOverflowErrorjava.lang.StackOverflowErrorjava.lang.StackOverflowError
    at java.nio.Buffer.<init>(Buffer.java:201)
    at java.nio.CharBuffer.<init>(CharBuffer.java:281)
    at java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:70)
    at java.nio.CharBuffer.wrap(CharBuffer.java:373)
    at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:265)
    at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
    at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
    at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
    at java.io.PrintStream.write(PrintStream.java:526)
    at java.io.PrintStream.print(PrintStream.java:669)
    at java.io.PrintStream.println(PrintStream.java:823)
    at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)
    at java.lang.Throwable.printStackTrace(Throwable.java:655)
    at java.lang.Throwable.printStackTrace(Throwable.java:643)java.lang.StackOverflowError
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:307)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    at java.io.PrintStream.write(PrintStream.java:482)
    at com.caucho.log.impl.EnvironmentStream.write(EnvironmentStream.java:161)
    at com.caucho.vfs.WriteStream.flush(WriteStream.java:463)
    at java.io.PrintStream.write(PrintStream.java:482)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
    at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
    at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
    at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
    at java.io.PrintStream.write(PrintStream.java:527)
    at java.io.PrintStream.print(PrintStream.java:669)
    at java.io.PrintStream.println(PrintStream.java:823)
    at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)
    at java.lang.Throwable.printStackTrace(Throwable.java:658)
    at java.lang.Throwable.printStackTrace(Throwable.java:643)
    at java.lang.Throwable.printStackTrace(Throwable.java:634)
    at com.caucho.amp.marshal.MarshalBean.convert(MarshalBean.java:196)
    at com.caucho.amp.marshal.MarshalBean$MarshalFieldObject.convert(MarshalBean.java:361)
    at com.caucho.amp.marshal.MarshalBean.convert(MarshalBean.java:187)
    at com.caucho.amp.marshal.MarshalBean$MarshalFieldObject.convert(MarshalBean.java:361)
    at com.caucho.amp.marshal.MarshalBean.convert(MarshalBean.java:187)
    at com.caucho.amp.marshal.MarshalBean$MarshalFieldObject.convert(MarshalBean.java:361)
    at com.caucho.amp.marshal.MarshalBean.convert(MarshalBean.java:187)
    at com.caucho.amp.marshal.MarshalBean$MarshalFieldObject.convert(MarshalBean.java:361)
    at com.caucho.amp.marshal.MarshalBean.convert(MarshalBean.java:187)
    at com.caucho.amp.marshal.MarshalBean$MarshalFieldObject.convert(MarshalBean.java:361)
    at com.caucho.amp.marshal.MarshalBean.convert(MarshalBean.java:187)

There are no notes attached to this issue.