Ticket #258 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

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

Changed 11 years ago by dmn

  • severity set to major

Changed 11 years ago by ak19

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?

Changed 11 years ago by davidb

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.