The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Ravi Shankar on November 27, 2001 at 7:18 AM

> I am facing problem in my application,
> When I run my Java application. Most of the time it run's fine
> but sometimes at the start it exit the JVM. Why?

> I start my application with the GUI(JFrame), sometimes it shows the
> JFrame for a sec and JVM exits. Most of the time it works fine but sometimes it exits.
> Is this is the Thread problem. I am using thread for some other propose.
> I checked it properly and lastly i commented the thread protion to check the problem
> But the problem still aries.
> I did not get any exception and anything else.
> Do have any solution or can you suggest me why this is happening.
> I checked my code but it does not throw the exception, I also saw most of the archive
> but failed...

> I will be thankful if someone suggest something or the probable cause of it.

> Rajesh

Mr.rajesh to figure out the problem....put all methods in try and catch and print printstacktrace for all. And implement windowclose or exit whatever...and there also try to throw the exception.

if you do above...i think you will get some msg why it is coming out. and let me know what you do actually in ur form also.



Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us