You can improve the look of that if statement with a helper method.
Something like this:
for(int objectcount = 0; objectcount < fileinfo.length(); objectcount++){
...
Type: Posts; User: aussiemcgr
You can improve the look of that if statement with a helper method.
Something like this:
for(int objectcount = 0; objectcount < fileinfo.length(); objectcount++){
...
Ok, well either objects is null, or objects[loopcontrol] is null (I would guess the latter). Check to make sure you are adding objects to the array. You must have not filled up the array all the way....
Welcome. When you get an exception thrown, it is helpful to include, as well as what you already did, the full stack trace of the exception, and the specific line of code the exception is occurring...