Hello, the null pointer isn’t because you didn’t declare your variables or anything like that, that part from what I can see is correct. The issue must be the links you are passing in. The null pointer basically means that you are trying to have your program work with something, that “doesn’t exist”. So your program says, “where is it? I can’t find it!” and then shows the null pointer error. I would suggest at first, checking your links?
Edit
Also, forgive me if I’m wrong on this but are you supposed to have the “sketch” prefix for everything? Maybe you can just try loadStrings(your url); That, I got from looking at the reference for loadStrings.
Hopefully this helps,
EnhancedLoop7