Re: [greenstone-users] Bugs - gsdl v2.53

From Chaitra Rao
DateWed, 9 Mar 2005 11:38:28 +0530 (IST)
Subject Re: [greenstone-users] Bugs - gsdl v2.53
In-Reply-To (422CE00F-3020500-cs-waikato-ac-nz)
Hi,
Here's the stack trace of the exception thrown when I select Replace
format option on the GLI

java.lang.NullPointerException
at org.greenstone.gatherer.cdm.Format.<init>(Format.java:97)
at org.greenstone.gatherer.cdm.Format.create(Format.java:145)
at
org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
stModel.java:207)
at
javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java
:1146)
at
javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI
.java:1097)
at
javax.swing.plaf.basic.BasicListUI$ListSelectionHandler.valueChanged(
BasicListUI.java:1465)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSel
ectionModel.java:187)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSel
ectionModel.java:167)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSel
ectionModel.java:214)
at
javax.swing.DefaultListSelectionModel.removeIndexInterval(DefaultList
SelectionModel.java:546)
at
javax.swing.plaf.basic.BasicListUI$ListDataHandler.intervalRemoved(Ba
sicListUI.java:1560)
at
javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.j
ava:160)
at
org.greenstone.gatherer.cdm.DOMProxyListModel.remove(DOMProxyListMode
l.java:253)
at
org.greenstone.gatherer.cdm.DOMProxyListModel.remove(DOMProxyListMode
l.java:241)
at
org.greenstone.gatherer.cdm.FormatManager.removeFormat(FormatManager.
java:160)
at
org.greenstone.gatherer.cdm.FormatManager.access$3100(FormatManager.j
ava:50)
at
org.greenstone.gatherer.cdm.FormatManager$FormatControl$ReplaceListen
er.actionPerformed(FormatManager.java:804)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
64)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1817)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
27)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450
)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


The lock problem still persists...I'm unable to open the collection
even after deleting the gli.lck file :( Please help !!!

Regards,
Chaitra

On Tue, 8 Mar 2005, Michael Dewsnip wrote:

> Hi,
>
> > I have been using gs v2.53 for the past few days. I have been facing
> >strange problems since this morning.
> >
> >(i) When I use the replace format option, the GLI freezes and throws a
> >Null pointer exception and windows restarts after flashing a RPC error!!!
> >I'm not sure if this is coz of greenstone or something else...This happens
> >only when greenstone is running!
> >
> >
> I've tried this here and have been unable to reproduce the problem. Are
> you able to see the stack trace to find out which line of code caused
> the null pointer exception?
>
> >(ii) I'm unable to open some collections using the GLI. It shows a same
> >old lock error...
> >
> >
> You can delete the gli.lck files from the affected collections, then
> they should open fine.
>
> Regards,
>
> Michael
>