[greenstone-users] GLI not functioning with Ubuntu

From Bret Wiebe
DateTue, 27 Mar 2007 16:38:47 -0700
Subject [greenstone-users] GLI not functioning with Ubuntu
Hi,

I've installed Greenstone v2.72 on a box running Ubuntu 5.10, kernel
2.6.12-10. It works great for accessing the demo collection over the web
but the GLI is not working. There are basically two errors in
functionality: (1) when I try to open the demo collection the result
is a message "The collection at: /usr/local/gsdl/collect/demo/demo.col
cannot be opened." (2) when I then try to close GLI the cursor changes
to 'please wait' mode and then nothing happens, I have to Ctrl-C in the
terminal window to end the program.

The computer is presently running Apache 2.0.54-5, perl 5.8.7 and jre
1.6.0 I have also tried using jre 1.4.2_13 but the same behaviour
occurred. I think that the jre is working okay because the "Greenstone
Editor for Metadata Sets" seems to work fine - I can open, edit and save
files and then exit the app with no errors.

The text from the console while running GLI is included below. Any
suggestions on what else to check or how to rectify this would be
greatly appreciated.

Thanks,
Bret Wiebe
Prince Rupert Library


running ./gli.sh produces the following:

Greenstone Librarian Interface (GLI)
Copyright (C) 2006, New Zealand Digital Library
Project, University Of Waikato
GLI comes with ABSOLUTELY NO WARRANTY; for details see
LICENSE.txt
This is free software, and you are welcome to
redistribute it

Checking GSDL: /usr/local/gsdl
Your environment has successfully been set up to run
Greenstone
Checking Perl: /usr/bin/perl
Checking Java: /usr/bin/java

Running the Greenstone Librarian Interface...
Version: v2.72

SAX exception: The element type "PluginList" must be
terminated by the matching end-tag "</PluginList>".
org.xml.sax.SAXParseException: The element type
"PluginList" must be terminated by the matching
end-tag "</PluginList>".
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:635)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.endOfInput(XMLDocumentScanner.java:1462)
at
org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocumentScanner.java:418)
at
org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifications(XMLValidator.java:694)
at
org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultEntityHandler.java:1026)
at
org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityReader.java:168)
at
org.apache.xerces.readers.AbstractCharReader.changeReaders(AbstractCharReader.java:150)
at
org.apache.xerces.readers.AbstractCharReader.scanContent(AbstractCharReader.java:1097)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1150)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at
org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
at
org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML(Plugins.java:303)
at
org.greenstone.gatherer.greenstone.Plugins.loadPluginsList(Plugins.java:233)
at
org.greenstone.gatherer.Gatherer.init(Gatherer.java:404)
at
org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:183)
at
org.greenstone.gatherer.GathererProg.main(GathererProg.java:79)
java.lang.NullPointerException
at
org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML(Plugins.java:304)
at
org.greenstone.gatherer.greenstone.Plugins.loadPluginsList(Plugins.java:233)
at
org.greenstone.gatherer.Gatherer.init(Gatherer.java:404)
at
org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:183)
at
org.greenstone.gatherer.GathererProg.main(GathererProg.java:79)
SAX exception: The markup in the document preceding
the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the
document preceding the root element must be
well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626)
at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:809)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at
org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
at
org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:145)
at
org.greenstone.gatherer.gui.DownloadPane.loadDownload(DownloadPane.java:255)
at
org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:105)
at
org.greenstone.gatherer.gui.GUIManager.display(GUIManager.java:360)
at
org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:434)
at
org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
SAX exception: The markup in the document preceding
the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the
document preceding the root element must be
well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626)
at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:809)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at
org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
at
org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:145)
at
org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:320)
at
org.greenstone.gatherer.collection.ScriptOptions.<init>(ScriptOptions.java:55)
at
org.greenstone.gatherer.collection.Collection.<init>(Collection.java:110)
at
org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:948)
at
org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:82)
at
org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:838)
java.lang.NullPointerException
at
org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:323)
at
org.greenstone.gatherer.collection.ScriptOptions.<init>(ScriptOptions.java:55)
at
org.greenstone.gatherer.collection.Collection.<init>(Collection.java:110)
at
org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:948)
at
org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:82)
at
org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:838)
java.lang.NullPointerException
at
org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:75)
at
org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
at
org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyListModel.java:213)
at
org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:80)
at
org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails(CollectionDesignManager.java:128)
at
org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(CollectionDesignManager.java:103)
at
org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:987)
at
org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:82)
at
org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:838)
Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
org.greenstone.gatherer.collection.CollectionManager.saveCollection(CollectionManager.java:1256)
at
org.greenstone.gatherer.gui.GUIManager.saveThenCloseCurrentCollection(GUIManager.java:296)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:458)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:448)
at
org.greenstone.gatherer.gui.GUIManager.processWindowEvent(GUIManager.java:885)
at java.awt.Window.processEvent(Unknown
Source)
at
java.awt.Component.dispatchEventImpl(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown
Source)
Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
org.greenstone.gatherer.collection.CollectionManager.saveCollection(CollectionManager.java:1256)
at
org.greenstone.gatherer.gui.GUIManager.saveThenCloseCurrentCollection(GUIManager.java:296)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:458)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:448)
at
org.greenstone.gatherer.gui.GUIManager.processWindowEvent(GUIManager.java:885)
at java.awt.Window.processEvent(Unknown
Source)
at
java.awt.Component.dispatchEventImpl(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown
Source)
Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
org.greenstone.gatherer.collection.CollectionManager.saveCollection(CollectionManager.java:1256)
at
org.greenstone.gatherer.gui.GUIManager.saveThenCloseCurrentCollection(GUIManager.java:296)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:458)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:448)
at
org.greenstone.gatherer.gui.GUIManager.processWindowEvent(GUIManager.java:885)
at java.awt.Window.processEvent(Unknown
Source)
at
java.awt.Component.dispatchEventImpl(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown
Source)
Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
org.greenstone.gatherer.collection.CollectionManager.saveCollection(CollectionManager.java:1256)
at
org.greenstone.gatherer.gui.GUIManager.saveThenCloseCurrentCollection(GUIManager.java:296)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:458)
at
org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:448)
at
org.greenstone.gatherer.gui.GUIManager.processWindowEvent(GUIManager.java:885)
at java.awt.Window.processEvent(Unknown
Source)
at
java.awt.Component.dispatchEventImpl(Unknown Source)
at
java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown
Source)