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