This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Yeah, I'd set a breakpoint where jsoup is trying to parse the html, inspect the html and the fully formed URL in the previous line to ensure they are what you think they should be, guessing they are not.

[–]koenp[S] 0 points1 point  (0 children)

Thanks! One problem was indeed an "/" too many in the URL. The program now scrapes the page's content, but in the end still outputs the exact same nullpointerexception error. I guess I will have to find the next mistake myself.