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 Using your New Tools Errors

Error Sites for Beginners?

Craig's Intro to Java course talks about determining the meaning of error messages that we receive, and he refers to various development networks to search for the meaning of error messages. The issue here is as a beginner I get overwhelmed and lost in the jargon on many developer sites like the Mozilla site or forums that are commonly referenced like Stack Overflow. Is there a site that's intended for a beginner that explains common error messages in a more "common language" way? (an example site of a similar verbal nature to what I'm thinking would be Computer Hope)

3 Answers

Bhushan Sabadra
PLUS
Bhushan Sabadra
Courses Plus Student 1,646 Points

Hey nekilof just one thing keep on trying sometimes it will take 2 hours to understand a single jargon sometime it will click ? You in minutes so just keep on trying trying trying ...... don't listen to others it's hard or it's difficult you have started it so keep on going Particularly to your problem try to find a easy way !!!! I.e leave some things which you don't understand and move on sometime after you will relate and do it .I tried the same and it worked for me

Keep coding

Bhushan Sabadra Bro what you meant was exactly right...I sometimes dont think too much about the errors....if any error popups i just find out about that particular error only...as you mentioned sometimes later on it will click our mind...even now with Mr. Craigs vids....i watch but when I watch it again only I will understand certain things hahaha....Then i look at my self like a fool...thinking what was I doing when i watched the 1st time...

Anyways bro thanks for your advice... <Peace/>

Hi nekilof: One of the best places for beginners is right here on Treehouse. Today (Sept 2017) I got the following error: TreeStory.java:13: error: incompatible types: String cannot be converted to boolean
String name = console.readline("Enter your name: ") ;
I googled it & of course, I saw those Stack Overflow entries, but I looked a few entries down the page and found several that were right here on Treehouse. I picked the first one and it was my exact mistake: I spelled the method wrong. I wrote readline instead of readLine: https://teamtreehouse.com/community/java-error-string-cannot-be-converted-to-boolean

But wait, that was not my only mistake! After fixing the first one, I ran it again, and it even asked me for the name and the adjective, but then it gave me this error: Exception in thread "main" java.util.MissingFormatArgumentException: Format specifier '%s'
at java.util.Formatter.format(Formatter.java:2519)
at java.util.Formatter.format(Formatter.java:2455)
at java.io.Console.format(Console.java:170)
at java.io.Console.printf(Console.java:209)
at TreeStory.main(TreeStory.java:15)
This time when I searched for: Exception in thread "main" java.util.MissingFormatArgumentException: Format specifier '%s', the first SEVERAL entries were for Treehouse. The first one was not very helpful, but the second one spelled exactly what it should look like so I could match up where the closing quotes belong. I had mine at the end, just before the closing ) parenthesis, instead of at the end of the string, BEFORE the comma after the string (and I was missing the comma between the two variable names.

After I fixed all three of the above errors, using at least 3 Treehouse entries, my code ran properly. Google + Treehouse are your new best friends, but if you still get stuck after fixing several errors like this, then you can always just ask code questions right here in these forums too.