Opened 16 years ago

Closed 16 years ago

#258 closed defect (fixed)

XML exception when not providing a GS3 path to GLI

Reported by: dmn Owned by: ak19
Priority: moderate Milestone: 3.04 Release
Component: GLI Severity: major
Keywords: Cc:

Description

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 GSDL3: /home/daven/research/greenstone3-ui/customizingGreenstone3
JRE_HOME: /opt/jdk1.6.0
Your environment has successfully been set up to run Greenstone3
Checking GSDL: /home/daven/research/greenstone3-ui/customizingGreenstone3/gs2build
Your environment has successfully been set up to run Greenstone
Checking Perl: /usr/bin/perl
Checking Java: /opt/jdk1.6.0/bin/java

Running the Greenstone Librarian Interface...
Version: 1.0

SAX exception: The content of elements must consist of well-formed character data or markup.
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
        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.abortMarkup(XMLDocumentScanner.java:680)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1250)
        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:436)
        at org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:412)
        at org.greenstone.gatherer.util.XMLTools.parseXMLFile(XMLTools.java:396)
        at org.greenstone.gatherer.util.XMLTools.parseXMLFile(XMLTools.java:384)
        at org.greenstone.gatherer.greenstone3.ServletConfiguration.<init>(ServletConfiguration.java:118)
        at org.greenstone.gatherer.Gatherer.init(Gatherer.java:389)
        at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:217)
        at org.greenstone.gatherer.GathererProg.main(GathererProg.java:78)
java.lang.NullPointerException
        at org.greenstone.gatherer.greenstone3.ServletConfiguration.<init>(ServletConfiguration.java:120)
        at org.greenstone.gatherer.Gatherer.init(Gatherer.java:389)
        at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:217)
        at org.greenstone.gatherer.GathererProg.main(GathererProg.java:78)
java.lang.NullPointerException
        at org.greenstone.gatherer.gui.GatherPane.<init>(GatherPane.java:128)
        at org.greenstone.gatherer.gui.GUIManager.display(GUIManager.java:369)
        at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:525)
        at org.greenstone.gatherer.GathererProg.main(GathererProg.java:81)
java.lang.NullPointerException
        at org.greenstone.gatherer.gui.GatherPane.<init>(GatherPane.java:128)
        at org.greenstone.gatherer.gui.GUIManager.display(GUIManager.java:369)
        at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:525)
        at org.greenstone.gatherer.GathererProg.main(GathererProg.java:81)

Change History (3)

comment:1 by dmn, 16 years ago

Severity: major

comment:2 by ak19, 16 years ago

Try running this with the updated code from SVN. Does it now at least show the line where the error occurred?

The defect is titled "XML exception when not providing a GS3 path to GLI" but from the output it looks as if GSDL3HOME and GSDLHOME have been provided (or at least identified):

Checking GSDL3: /home/daven/research/greenstone3-ui/customizingGreenstone3 JRE_HOME: /opt/jdk1.6.0 Your environment has successfully been set up to run Greenstone3 Checking GSDL: /home/daven/research/greenstone3-ui/customizingGreenstone3/gs2build Your environment has successfully been set up to run Greenstone Checking Perl: /usr/bin/perl Checking Java: /opt/jdk1.6.0/bin/java

What should I do to reproduce this bug?

comment:3 by davidb, 16 years ago

Resolution: fixed
Status: newclosed

Run GLI with -debug to get more helpful error reporting.

Note: See TracTickets for help on using tickets.