Changeset 17005

Show
Ignore:
Timestamp:
25.08.2008 21:16:52 (11 years ago)
Author:
ak19
Message:

Fixed a bug (missing help files) that caused an exception when the applet runs (see Firefox > Tools > Java Console output). This minor bugfix has not solved the bigger issue though: that of the help files being missing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/HelpFrame.java

    r16333 r17005  
    235235        }        
    236236 
     237        if (document == null) { 
     238            String errormsg = "HelpFrame.HelpContentsTreeModel constructor(): There's no help document after parsing"; 
     239            System.err.println(errormsg); 
     240            DebugStream.println(errormsg); 
     241            return; 
     242        } 
    237243        // Traverse the help hierarchy, building a tree representing its structure 
    238244        Node document_node = document.getFirstChild();