This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Stack Overflow Error - URGENT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Stack Overflow Error - URGENT" Watch "Stack Overflow Error - URGENT" New topic

Stack Overflow Error - URGENT

Tanmay Agarwal

Joined: May 01, 2006
Posts: 1
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 :

at java.util.HashMap.writeObject(
at java.lang.reflect.Method.invoke(Native Method)

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

Tanmay Agarwal
Kamesh Loganathan

Joined: Jan 21, 2006
Posts: 20
I am not sure why this is happening in your application but in genral this happens in swing when there is a dead lock. Since swing is event driven, if for some reason there is an event that triggers another and that inturn triggers the first one, then you end up with Stack overflow exception. Hope this helps.
I agree. Here's the link:
subject: Stack Overflow Error - URGENT