Sign in to follow this  

Multi-threading

This topic is 3150 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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
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

This topic is 3150 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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