[greenstone-users] Re: Unable to "steal" control of file (Michael Dewsnip)

From Rich Robinson
DateThu, 24 Jun 2004 09:46:57 -0700
Subject [greenstone-users] Re: Unable to "steal" control of file (Michael Dewsnip)
In-Reply-To (20040624001910-0661020579-mail1-gtcinternet-com)
Hi Michael,

About being unable to steal back control of the file, you wrote:

>Try manually deleting the gli.lck file in the affected collection.

I do, and it simply restores another lock file of the same name in
the same place.

>Regarding your other errors, please try Greenstone 2.51, as we have
>fixed many problems with the GLI since 2.50. Be sure to let us know if
>you still have any problems!

I upgraded the Java to the latest, I think that's 1.4.2 and tried
again to take control of the collection, same lock problem - Java
error details are below. Next, I uninstalled Greenstone 2.50, except
for the collections themselves which was presented as an option to
keep them, and installed 2.51. Same problem, with the errors below.

>It would be useful to have the line number at the end of the first line
>in your GLI stack trace below.

This is simply the readout from the 'black window', I am unaware of
how to get additional information - being largely a Mac user and not
Windows. (But on 9.2.2. so can't use the OSX version of Greenstone.)

FYI, the configuration of the system this is running on is (from
Control Panels/System):
System:
Microsoft Windows 2000
5.000.2195
Service Pack 2

Computer:
x86 Family 6 Model 8 Stepping
3
AT/AT COMPATIBLE
130,352 KB RAM

****************************************************
Errors on Java 1.4.2, Greenstone 2.50:
****************************************************

Running the Greenstone Librarian Interface...
Exception occurred!
java.lang.NullPointerException
at org.greenstone.gatherer.cdm.Format.<init>(Format.java:93)
at org.greenstone.gatherer.cdm.Format.create(Format.java:141)
at
org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
stModel.java:201)
at
org.greenstone.gatherer.cdm.FormatManager.<init>(FormatManager.java:8
1)
at
org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
(CollectionDesignManager.java:134)
at
org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(Collection
DesignManager.java:93)
at
org.greenstone.gatherer.collection.CollectionManager.loadCollection(C
ollectionManager.java:842)
at org.greenstone.gatherer.Gatherer.run(Gatherer.java:295)
at org.greenstone.gatherer.Gatherer.main(Gatherer.java:666)
Terminate batch job (Y/N)?

****************************************************
Errors on Java 1.4.2, Greenstone 2.51:
****************************************************

Running the Greenstone Librarian Interface...
java.lang.NullPointerException
at
org.greenstone.gatherer.gui.DesignPane.canSave(DesignPane.java:102)
at org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:526)
at
org.greenstone.gatherer.gui.GUIManager.processWindowEvent(GUIManager.
java:969)
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.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)
java.lang.NullPointerException
at
org.greenstone.gatherer.gui.DesignPane.canSave(DesignPane.java:102)
at org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:526)
at
org.greenstone.gatherer.gui.GUIManager.processWindowEvent(GUIManager.
java:969)
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.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)
java.lang.NullPointerException
at
org.greenstone.gatherer.gui.DesignPane.canSave(DesignPane.java:102)
at org.greenstone.gatherer.gui.GUIManager.exit(GUIManager.java:526)
at
org.greenstone.gatherer.gui.GUIManager.actionPerformed(GUIManager.jav
a:203)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragM
ouseReleased(Unknown Source)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
at javax.swing.MenuSelectionManager.processMouseEvent(Unknown
Source)
at
javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased(Un
known Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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.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)