codepope / augurx

Automatically exported from code.google.com/p/augurx
0 stars 0 forks source link

Lockup when closing prefs if gallery didn't start #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a situation where the database startup fails (Issue 3 is a way to
do this)
2. Start AugurX
3. Close the resulting preferences dialog

What is the expected output? What do you see instead?
The program should shut down, instead the Starting up message is displayed
forever.

Original issue reported on code.google.com by adam.a.b...@gmail.com on 12 Jan 2007 at 11:21

GoogleCodeExporter commented 9 years ago
getPendingCommandsCount was failing because initaliseStatements hadn't been 
called so
the DB lookup it was using was null. Check for null and other exceptions and 
assume
no pending commands in those cases.

Original comment by adam.a.b...@gmail.com on 12 Jan 2007 at 11:26