Do you have any more questions about your program? Is so, post them.
Type: Posts; User: Norm
Do you have any more questions about your program? Is so, post them.
What variable has the null value? How did it get a null value?
Note: Some methods return a null value when they are called if they can not find any data.
There is a variable with a null value when line 20 is executed. Look at line 20, find the variable with the null value and then backtrack in the code to see why that variable does not have a valid...
Make sure all the catch blocks have a call to the printStackTrace() method. The error message will give the line number where the error happens.
Please copy the full text of the error message and paste it here. It has important info about the error. Make sure all the catch blocks have a call to the printStackTrace() method.
What variable...
Please copy the full text of the error message and paste it here. It has important info about the error.
Add a call to the printStackTrace() method to the catch block to get the full error message.
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
This is an example of hardcoding. I meant to code it in the program...
Start with the simple, easy to do part of the program.
Hardcode the filename of the compressed file in your program. Then using the File class create a File object and print out some statistics...