Re: [greenstone-users] GLI Applet - Collection cannot be opened

From Michael Dewsnip
DateFri, 08 Sep 2006 10:16:57 +1200
Subject Re: [greenstone-users] GLI Applet - Collection cannot be opened
In-Reply-To (96e0484d0609071101m379c53c4j6e7b286dd85df7b3-mail-gmail-com)
Hi Galvin,

OK, you should do the same thing as before: try the request in your web
browser and see what the error is:

.../gliserver.pl?cmd=get-script-options&script=import.pl&xml=&language=en&un=<username>&pw=<password>

Perhaps we should take this off-list until we've got it sorted out.

Regards,

Michael

Galvin Clancey wrote:

> Hi Michael,
>
> The error message looks much shorter this time:
>
>
> Greenstone Librarian Interface (GLI)
> Copyright (C) 2005, 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 Java: C:WINDOWSsystem32
>
> Running the Greenstone Librarian Interface...
> Deleting user's local collect directory...
> Done.
> gliserver args: cmd=download-collection-configurations
> gliserver args: cmd=download-collection&c=sustaina
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> at javax.swing.plaf.basic.BasicProgressBarUI.updateSizes
> (Unknown Source)
>
> at javax.swing.plaf.basic.BasicProgressBarUI.getBox(Unknown
> Source)
> at
> com.sun.java.swing.plaf.windows.WindowsProgressBarUI.paintIndeterminate(Unknown
> Source)
> at javax.swing.plaf.basic.BasicProgressBarUI.paint (Unknown
> Source)
> at javax.swing.plaf.ComponentUI.update(Unknown Source)
> at javax.swing.JComponent.paintComponent(Unknown Source)
> at javax.swing.JComponent.paint(Unknown Source)
> at javax.swing.JComponent.paintChildren(Unknown Source)
> at javax.swing.JComponent.paint(Unknown Source)
> at javax.swing.JComponent.paintChildren(Unknown Source)
> at javax.swing.JComponent.paint (Unknown Source)
> at javax.swing.JComponent.paintChildren(Unknown Source)
> at javax.swing.JComponent.paint(Unknown Source)
> at javax.swing.JLayeredPane.paint(Unknown Source)
> at javax.swing.JComponent.paintChildren (Unknown Source)
> at javax.swing.JComponent.paint(Unknown Source)
> at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
> at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
> at javax.swing.JComponent._paintImmediately(Unknown Source)
> at javax.swing.JComponent.paintImmediately(Unknown Source)
> at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
> at
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
> Source)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
> gliserver args: cmd=get-script-options&script=import.pl&xml=&language=en
> 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:170)
> at
> org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:295)
> 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:895)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$100(CollectionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:794)
> java.lang.NullPointerException
> at
> org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:324)
> 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:895)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$100
> (CollectionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:794)
> java.lang.NullPointerException
> at
> org.greenstone.gatherer.collection.ScriptOptions.getArgumentCount
> (ScriptOptions.java:116)
> at
> org.greenstone.gatherer.gui.OptionsPane.buildImport(OptionsPane.java:186)
> at
> org.greenstone.gatherer.gui.CreatePane.refresh(CreatePane.java:613)
> at org.greenstone.gatherer.gui.GUIManager.refresh
> (GUIManager.java:545)
> at org.greenstone.gatherer.Gatherer.refresh(Gatherer.java:618)
> at
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:940)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$100(CollectionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTask.run(CollectionManager.java:794)
>
> Thanks,
>
> Galvin