Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Basics Getting Started with Java Strings, Variables, and Formatting

"Communication Problem"

I am trying to do the challenge questions and I am getting a "communication problem" after I hit "check work". This continues to happen so I am stuck??? This is only my second day working on the teamtreehouse site and I am under the 7 day trial. So far I am noticing there is a ton of lag when trying to navigate through the course and there have also been times where I had my cursor get stuck and i had to basically start over completely because my workspace wouldn't respond. This has been a very cumbersome experience so far but I am hoping things improve. Thanks

Name.java
// I have setup a java.io.Console object for you named console
string firstName = "Howard";

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Howard,

Sometimes I do experience that "Communication Problem" as you describe, but I do not experience any lag. It's been my experience here on Treehouse that the Communication problem is usually a result of a few things.
First, the Treehouse Servers 'glitch'. In this case, if you just close the window, not "restart" or any other button, just close and click check work again, it usually works... sometimes twice, unless the servers are down, but I've only seen that a few times in the years that I've been a student here.

Second, there is an issue with your internet connection.

Lastly, and this appears to be the issue here, is incorrect code that breaks the code checker to the point of crashing. This doesn't happen often, but sometimes the validator just breaks because it can't find the correct code. So, if you've eliminated the first two, then it probably is number 3 ==> A syntax error in your code.
For the code above, while you have the structure right, the keyword String must be capitalized. Once you fix that up and "check work" again, there should be no problem.

Hope that helps. And Welcome to Treehouse! :wave:

:) :dizzy:

Thank you however I fixed the syntax error after the first "check work" I did. The first time I checked the work is got an error and I realized the syntax error and fixed it. Subsequent work check attempts failed with the communication error. I am still experiencing the issue BTW.

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

Howard Christian

It looks like it is an issue with the Treehouse Servers as Rob Informs in this Post. Fortunately, this really doesn't happen often. :)