Sign in to follow this  
Recruit0

Multi-threading

Recommended Posts

Recruit0    122
I'm trying to create a thread in Java. What am I doing wrong? I've been hacking at it for hours and this is as far as I could get. EDIT: I'm not getting errors or output but the program stops working. Nvm, it was because I was creating the thread at the beginning of the constructor instead at the end (Null Pointer Exceptions). [Edited by - Recruit0 on April 30, 2009 12:16:25 AM]

Share this post


Link to post
Share on other sites
janta    345
You'd get help faster if you could first post a simplified subset of your code that exhibit the undesired behavior. Couldn't you at least specify where the exception occurs?

Share this post


Link to post
Share on other sites
Recruit0    122
I fixed the error but the program locks up/stops working. I don't know how this works so this is probably as much as I can cut out without leaving out information.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this