Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Stack Overflow Error

0 views
Skip to first unread message

Tanmay

unread,
May 1, 2006, 8:26:30 AM5/1/06
to
Problem Scenario :

We have a J2EE application, which has a front end developed in Java
Swing with usage of heavy graphics & managed by the weblogic server.
There are several application details in the Hash-Maps containing with
nested Hash-Maps & Hash maps contains the Serializable Java Value
Objects. These serializable Java Objects contains values which are Java
Primitive Types as well as Other Java Value Objects. When the client
launches the application & tries to read these Hash-Maps from the
server, the Stack Over Flow Exception as given below occurs. This has
started occurring from a few days only.

Stack Trace :

java.lang.StackOverflowError
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1812)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.util.HashMap.writeObject(HashMap.java:798)
at java.lang.reflect.Method.invoke(Native Method)
at
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)

Can you suggest something in this regard? This is VERY URGENT !!

Regards
Tanmay Agarwal
agarwal...@gmail.com

Hendrik Maryns

unread,
May 3, 2006, 11:35:38 AM5/3/06
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tanmay schreef:

Have you tried increasing the stack size with the -X(o)ss jvm options?

H.
- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEWM3Ke+7xMGD3itQRApipAJ9rFegcyT7Vy5JxXVXsU5jEolONggCeM9qe
CpoUAKcqRcRU0BWmpEvtRWk=
=x0Hj
-----END PGP SIGNATURE-----

Mishagam

unread,
May 3, 2006, 4:27:16 PM5/3/06
to
May be ObjectOutputStream tries to send Object referencing to itself
(throught I doubt it will create problem) or there is long sequence of
objects referencing one another , and each element of this sequence
cause level or recursion.
0 new messages