We don't know what "the app" is, but the error message is quite clear: a method is invoked on a null object reference. What object that is we can't say without seeing the code, but since the exact line number is given, it's easy for you to find out.
I don't know where the classes are. were do i find them?
Does "com.example.tony.concerts_.MainActivity$DownloadWeather" not look like the name of one of your classes? I advise to familiarize yourself with such stack traces - you will see (and will have to analyze) a lot of them if you're serious about Android development.
What you posted is not line 161 (or line 144) of your code. As the stack trace shows, the error occurs in the onPostExecute method when a JSONObject is initialized. So make sure that line of code works with correct data. If you're unsure, print all the relevant data to the logcat (you know how to do that, right?) - before the line that causes the problem :-)
The org.json.JSONObject.<init> means the JSONObject constructor. That makes the above line the #1 suspect. Where does xml come from, and what is its actual value? Is the null check maybe done one line too early, and should it check xml instead?
So the app no longer crashes? But it does not do what you expect it to do? If so, TellTheDetails of what it does do, and at what point it deviates from what you expected it to do.
posted 4 weeks ago
When I run the app I get those errs and than it crashes and its says this "08/18 07:15:40: Launching 'app' on samsung SM-G975W.
$ adb shell am start -n "com.example.tony.concerts_/com.example.tony.concerts_.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Waiting for process to come online...
Connected to process 2421 on device 'samsung-sm_g975w-R58M42AW06M'.
Process 2421 terminated."
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?