Bug #17: program crashes while trying to book a non existing offer
- Estimated Hours: 0.1 (0.1 added, 0 remaining) 100 %
- State: Closed
- Assigned To: pinene
- Closed: Yes
Bug Details:
Try to book any non existing offer, and the program reports that a null pointer exception has happened.
The error was that before checking if any booking existed, the program tried to print the price of the found booking to the console, thus generating an error when the booking was a null, not existing.
The print was placed after the program chacks if the booking exists.
pinene added 0.1 hours on Mon 02 Mar, 2015 09:09:55 +0000
You do not have sufficient permissions to add hours to this bug.
Entry has no comments
You do not have sufficient permissions to comment
Revision | Author | Commited | Message |
---|---|---|---|
1e12ff ... | pinene | Mon 02 Mar, 2015 09:12:44 +0000 | Database management was changed, now it opens the database and it closes it every time it is accessed. Furthermore, bug #17 was corrected |