Changeset 18684 for gli

Show
Ignore:
Timestamp:
13.03.2009 18:50:28 (11 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.

Files:
1 modified

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) {