Changeset 18684 for gli


Ignore:
Timestamp:
2009-03-13T18:50:28+13:00 (15 years ago)
Author:
ak19
Message:

For some reason the remoteGreenstoneServer was not instantiated soon enough in the action queue on time for the getProgressBar() call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/remote/ActionQueue.java

    r17630 r18684  
    114114        // Wait until we are notify()ed by addAction that there is a new job on the queue
    115115        try {
    116         Gatherer.remoteGreenstoneServer.getProgressBar().setAction(null);
     116        if(Gatherer.remoteGreenstoneServer != null) {
     117            Gatherer.remoteGreenstoneServer.getProgressBar().setAction(null);
     118        }
    117119        synchronized (this) {
    118120            while(queue.size() <= 0) {
Note: See TracChangeset for help on using the changeset viewer.