java.lang.StackOverflowError

ZK-Tracker | jimmyshiau | 5 years ago
  1. 0

    <Mar 9, 2012 5:16:19 PM CST> <Error> <HTTP Session> <BEA-100049> <Error lookingup session with id:yKL2PZKMfL97yF37Wm1501GhrWpV1px3Cd1WfmHTZgGH1GrgXLZ2!-1976267667!-8848822 java.rmi.ServerError: A error occurred the server; nested exception is: java.lang.StackOverflowError at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223) at weblogic.cluster.replication.ReplicationManager_1032_WLStub.fetch(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) Truncated. see log file for complete stacktrace Caused By: java.lang.StackOverflowError at weblogic.utils.io.DataIO.writeUTF(DataIO.java:194) at weblogic.common.internal.WLObjectOutputStream.writeUTF(WLObjectOutputStream.java:73) at java.io.ObjectStreamClass.writeNonProxy(ObjectStreamClass.java:666) at java.io.ObjectOutputStream.writeClassDescriptor(ObjectOutputStream.java:640) at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1245) {code:xml} <?page title="new page title" contentType="text/html;charset=UTF-8"?> <zk> <window title="new page title" border="normal" apply="com.FileUploadComposer" id="devWindow"> <button upload="true" id="btnUpload" label="Upload Button" /> <button id="upload" label="Upload.get" /> </window> </zk> {code} {code} package com; import org.zkoss.util.media.Media; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.ForwardEvent; import org.zkoss.zk.ui.event.UploadEvent; import org.zkoss.zk.ui.util.GenericForwardComposer; import org.zkoss.zul.Fileupload; public class FileUploadComposer extends GenericForwardComposer { public void onUpload$btnUpload(Event event) { Media media = ((UploadEvent) ((ForwardEvent) event).getOrigin()).getMedia(); System.out.println(media.getName()); } public void onClick$upload() { try { int maxFiles = 3; int maxSize = 104857600; boolean alwaysNative = true; // always returns null, handle UploadEvent in listener Fileupload.get("message", "title", maxFiles, maxSize, alwaysNative); } catch (Exception e) { System.out.println("{} Upload failed onClick$upload()"); } } public void onUpload$devWindow(Event event) { Media media = ((UploadEvent) ((ForwardEvent) event).getOrigin()).getMedia(); System.out.println(media.getName()); } } {code}

    ZK-Tracker | 5 years ago | jimmyshiau
    java.lang.StackOverflowError
  2. 0

    <Mar 9, 2012 5:16:19 PM CST> <Error> <HTTP Session> <BEA-100049> <Error lookingup session with id:yKL2PZKMfL97yF37Wm1501GhrWpV1px3Cd1WfmHTZgGH1GrgXLZ2!-1976267667!-8848822 java.rmi.ServerError: A error occurred the server; nested exception is: java.lang.StackOverflowError at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223) at weblogic.cluster.replication.ReplicationManager_1032_WLStub.fetch(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) Truncated. see log file for complete stacktrace Caused By: java.lang.StackOverflowError at weblogic.utils.io.DataIO.writeUTF(DataIO.java:194) at weblogic.common.internal.WLObjectOutputStream.writeUTF(WLObjectOutputStream.java:73) at java.io.ObjectStreamClass.writeNonProxy(ObjectStreamClass.java:666) at java.io.ObjectOutputStream.writeClassDescriptor(ObjectOutputStream.java:640) at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1245) {code:xml} <?page title="new page title" contentType="text/html;charset=UTF-8"?> <zk> <window title="new page title" border="normal" apply="com.FileUploadComposer" id="devWindow"> <button upload="true" id="btnUpload" label="Upload Button" /> <button id="upload" label="Upload.get" /> </window> </zk> {code} {code} package com; import org.zkoss.util.media.Media; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.ForwardEvent; import org.zkoss.zk.ui.event.UploadEvent; import org.zkoss.zk.ui.util.GenericForwardComposer; import org.zkoss.zul.Fileupload; public class FileUploadComposer extends GenericForwardComposer { public void onUpload$btnUpload(Event event) { Media media = ((UploadEvent) ((ForwardEvent) event).getOrigin()).getMedia(); System.out.println(media.getName()); } public void onClick$upload() { try { int maxFiles = 3; int maxSize = 104857600; boolean alwaysNative = true; // always returns null, handle UploadEvent in listener Fileupload.get("message", "title", maxFiles, maxSize, alwaysNative); } catch (Exception e) { System.out.println("{} Upload failed onClick$upload()"); } } public void onUpload$devWindow(Event event) { Media media = ((UploadEvent) ((ForwardEvent) event).getOrigin()).getMedia(); System.out.println(media.getName()); } } {code}

    ZK-Tracker | 5 years ago | jimmyshiau
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to trace the source of a stack overflow error

    Stack Overflow | 5 years ago | David
    java.lang.StackOverflowError

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at weblogic.utils.io.DataIO.writeUTF()
    2. weblogic.utils.io
      DataIO.writeUTF
      1. weblogic.utils.io.DataIO.writeUTF(DataIO.java:194)
      1 frame
    3. weblogic.common.internal
      WLObjectOutputStream.writeUTF
      1. weblogic.common.internal.WLObjectOutputStream.writeUTF(WLObjectOutputStream.java:73)
      1 frame
    4. Java RT
      ObjectOutputStream.writeNonProxyDesc
      1. java.io.ObjectStreamClass.writeNonProxy(ObjectStreamClass.java:666)
      2. java.io.ObjectOutputStream.writeClassDescriptor(ObjectOutputStream.java:640)
      3. java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1245)
      3 frames