This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
When the user chooses the viewList method (lines 73-84) and then presses deleteItem method right after (lines 1-71), the error at line 45 happens, stating what it says on that line. If the user never touches the view choice then the code will work perfectly fine and the user can keep on deleting items and keep entering invalid items all day. It isn't until the user presses the view choice, then that deleteItem method is just worthless and all they can really do next is create a new list or exit the program. can anybody help? I believe it has to do with the boolean because the new temp file shows the list with the deleted item, it's just not renaming the new temp file and deleting the old one so obviously the deleting item part is working bu not the boolean
Joined: Apr 26, 2013
Here is line counter if the problem might be here...