[greenstone-users] New install of Greenstone and unable to load the demo collection

From graeme
DateWed, 24 Jan 2007 16:44:45 +0430
Subject [greenstone-users] New install of Greenstone and unable to load the demo collection
From the web server I can access the demo collection I have installed Greenstone 2.72 on a linux box (Fedora 6). I have changed the gli.sh script to use Sun's version of java (jdk1.5.0_07). I can run the gli script but I am unable to load the demo collection.

When I try and load the collection I get the following error:

The collection at:
/var/www/html/gsdl/collect/demo/demo.col
cannot be opened.

Along with this I have a fine collection of Java exceptions, so at the end of this message I have included the entire output. The first three exceptions occur on start up the remaining ones occur when I try and load the collection. Once I get the error on the collection I am unable to close the gli, it just freezes and I need to close it from the terminal.

I hope that someone will be able to assist me.

Many thanks,

graeme.


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: /var/www/html/gsdl
Your environment has successfully been set up to run Greenstone
Checking Perl: /usr/bin/perl
Checking Java: /usr/java/jdk1.5.0_07/bin/java

Running the Greenstone Librarian Interface...
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is unsupported, ignoring
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at javax.swing.plaf.synth.SynthContext.getPainter (SynthContext.java:181)
        at javax.swing.plaf.synth.SynthPanelUI.update(SynthPanelUI.java:95)
        at javax.swing.JComponent.paintComponent(JComponent.java:742)
        at javax.swing.JComponent.paint(JComponent.java :1005)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
        at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run (EventDispatchThread.java:110)
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)