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.


Parameter "url" must not be null

I get this issue, tried to run the code without my input for the code challenge, but I still get this:

Exception in thread "main" java.lang.IllegalArgumentException: Parameter 'url' must not be null!
    at org.apache.commons.csv.Assertions.notNull(Assertions.java:35)
    at org.apache.commons.csv.CSVParser.parse(CSVParser.java:202)
    at com.teamtreehouse.challenges.highscores.service.ScoreService.getParser(ScoreService.java:28)
    at com.teamtreehouse.challenges.highscores.service.ScoreService.getCSVStream(ScoreService.java:32)
    at com.teamtreehouse.challenges.highscores.service.ScoreService.getScoreStream(ScoreService.java:59)
    at com.teamtreehouse.challenges.highscores.service.ScoreService.getAllScores(ScoreService.java:65)
    at com.teamtreehouse.challenges.highscores.Main.main(Main.java:12)

3 Answers

Can i paste a snapshot?

of course

<noob /> do you know by any chance what's the problem?

i means can u pass ur current snapsho

Unfortunately, I can't. My snapshot application has some issues and I don't know how to fix. Sorry for wasting your time. Thanks anyways.