Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Tanisorn Norasing
6,114 Pointswhat i miss?
here 's the code
ParseQuery query = new ParseQuery("DoctorWhoEpisodes");
query.whereEqualTo("writer", "Neil Gaiman");
query.findInBackground(new FindCallback<ParseObject>() {
});
6 Answers

Hiroki Hokari
5,308 PointsAs long as I see this code, it lacks<ParseObject>
both after the firstParseQuery
and the second ParseQuery

Hiroki Hokari
5,308 PointsIf it's in the Code Challenge, there must be prepared a FindCallback for you, since if there wasn't, you have got to write some extra code of Callback.
What I'm trying to say is that you can use Callback that is already prepared in the CodeChallenge instead of new FindCallback

Tanisorn Norasing
6,114 Pointsthx for ur guidance.It's in CodeChallenge.
still error.
Note: ./MainActivity.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Tanisorn Norasing
6,114 Pointsthx for all help

Hiroki Hokari
5,308 PointsGot it . You don't cast both ParseQuery in the first line. Maybe it only gives caution so you could pass without them at that time, but now it's getting a problem.

r lomeli
6,000 PointsI´m also stuck here ... Do you find the solution ?

Hiroki Hokari
5,308 PointsThat message means that somthing is missing in the whole code, probably the last closing brace and the code is not properly processed because it couldn't close the braces. Could you paste whole code if you don't mind?

r lomeli
6,000 PointsNo ! it was a bug !! , you were right Hiroki ! Ok , I reload my code challenge and started again , I paste the same code from above for the 3 questions and all perfect now . Thanks !
r lomeli
6,000 Pointsr lomeli
6,000 PointsHello Hiroki , I try your solution but its the same
I get the same error : ./MainActivity.java:19: reached end of file while parsing }); ^ 1 error
Hiroki Hokari
5,308 PointsHiroki Hokari
5,308 PointsThat message means that somthing is missing in the whole code, probably the last closing brace and the code is not properly processed because it couldn't close the braces. Could you paste whole code if you don't mind?