Submitted On 05-DEC-2000
eyth
I saw this problem as well. I had a file that I could read and write from
JDK 1.2 fine. But when I switched to 1.3, I got a stack overflow error.
Submitted On 03-MAY-2001
jpschewe
I've hit this problem too, only I've got one thread and a really big data structure and I'm using -ss200m and I still get a stack overflow. Anything bigger than 200 gives a windows exception or an out of memory error.
Submitted On 04-MAY-2001
antenangeli
I can't believe they are not fixing this for merlin...
Sometimes Sun drives me nuts...
Submitted On 02-AUG-2001
gerd.ziegler
we use serialization to cache big database structure...
can't use it because of this error
Submitted On 07-NOV-2001
cbthiess
Serialization is fundamental to nearly every significant
Java project, and while this bug remains outstanding, it
simply can't
be trusted. Any minor change to the way one serialized
object refers
to another can suddenly, and unfixably break the
application. The
only work-arounds are custom serialization and changing the
startup
arguments, neither of which can work in general, the second
of which
is sensitive not just to the changes you make but very
specific ways
in which you might use the program.
This bug is a horrible gaping wound in a vital organ of the
Java
beast, and that this bug has lasted more than 3 years
without a fix
tells me that the priorities of the Java development team
are
seriously flawed. In all applications, especially
enterprise
applications, robustness is of paramount importance, and
this bug
means that what worked before may, in only subtly different
circumstances, start failing miserably and horribly.
This bug MUST be fixed NOW. As far as I'm concerned, 1.4
should be
delayed to get this fix in, and if not, a service patch
should be
released immediately afterwards/separately to address it.
<shakes head>
following minor changes: any introduction of a reference
between objects that previously weren't linked can
suddenly break the entire program.
Submitted On 03-APR-2002
dim
I have a case where the deserialization throws
StackOverFlowError on Jserv with JDK1.1.8, but not on
JDK1.3.1 or running standalone (without Jserv) with either
versions of JDK. This is on Solaris.
Submitted On 04-DEC-2002
markafoltz
i have encountered this bug while trying to serialize a
knowledge base, which contains the dependency graph for a
(possibly) large Java program.
upping the stack size doesn't help, and besides, i need that
space for
the heap!
sun, please fix this bug NOW. otherwise, serialization of
any interesting data structure is impossible. now, i have
to implement
custom serialization of my edge lists and be very careful
not to re-create a fully connected object graph in the future.
come on, sun, this is second-year computer science stuff!
Submitted On 05-DEC-2002
wolpert
One more comments: Bug doesn't seem to happen as offen on
Linux, but
that's likely due to a larger default process-stack size
anyways. (Sun's 1.3.1
on redhat 7.x) Only seen bug with Solaris on Sparc. (x86
ignored :-)
Submitted On 05-DEC-2002
wolpert
We've seen this bug with jdk1.3.1_01 and 1.3.1_06 as well as
the mentioned
versions. In our case, there are many objects (not 1000,
but a few hundred)
but its a fully connected object graph. Have not tested
this with jdk1.4, but
our production environment is jdk1.3 for the near future.
Since this is 'in
progress' and no comments from sun for about 2 years, it
would be nice
to know the progress of this one, and if a 'fix' would be
made available to
jdk1.3 if its fixed in a future version of jdk 1.4.x
However, I have to
assume that this dropped off sun's radar list. (Bug since
1.1? Geesh...)
Submitted On 20-MAY-2003
okamuraT
I met this bug in my product.
Jdk1.4.1_01 and Jdk1.4.1_02 on windows.
I can not believe why this bug has not been fixed yet.
Submitted On 09-OCT-2003
flabes
Arrgh, still not fixed! Here's another example: DOM versions
that implement Node.getNextSibling() using a reference to
that sibling throw a StackOverflowError when serializing a
DOM that has elements with some 1000 children (which is
quite common). I cannot use such an implementation in an EJB
context.
See also
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4284,
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5144, and
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18925.
Submitted On 24-OCT-2003
bestsss
The problem is very common if you try to serialize a
(relative large) recursive structure w/o special handling.
Using heap stack is not difficult at all. I believe that it
would take not more than a single day (max two) to change
the code...
Submitted On 28-SEP-2004
ulasergin
Until this bug is fixed serialization mechanism must only be used in simple collage homeworks.(Just simple ones) and avoid using in enterprise projects
Submitted On 28-JUL-2005
Dewhurst
7 years now: time to fix it, maybe? People use Java for things bigger than cell phones, you know.
I can build and run this big hairy problem, but I can't save the object graph for future analysis. In my business, this kind of thing is enough to turn clients away from Java.
Oh boy....
Submitted On 07-JUL-2006
agilejava
I hit this problem aslo,8 years,please fix it,ok?
Submitted On 27-OCT-2006
ugine
The same situation in 1.5.0_08 and 1.6.0b
Submitted On 26-JUN-2007
Happy Anniversary! 9 years!!! I believe a tradional gift of pottery is in order.
Submitted On 03-OCT-2008
lfrittelli
10 Years and counting!
Any plans on fixing this? ever?
Submitted On 24-JUN-2009
Jess_Holle
This is a *bug*, not an RFE, and needs to be fixed ASAP!
Submitted On 06-NOV-2009
when this is gonna be fixed!! PLEASE~~~~ it is almost 10 years!!!!
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|