GUI client error when adding doc without chopping whitespace

Wednesday, 24 February 2010 · 2 messages
CG
Christian Grünin reply to Tobin Edwards, 24 Feb 2010, 02:4324 Feb 2010 01:50 #
Tobin, thanks for your e-mail. We have recently come across a similar issue, which should have been fixed in the repository version. You are welcome to check out the source code of BaseX. Alternatively, just ask for a jar version of the current sources. Regards, Christian ___________________________ Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen
Quoted text · Tobin Edwards · 113 lines
On Wed, Feb 24, 2010 at 1:43 AM, Tobin Edwards <tedwards at vmware.com> wrote: > I’m seeing a null pointer exception in the GUI client when adding an XML > file to an empty database that uses an internal parser and does NOT chop > whitespace. Using the command-line tool to add the same file works fine. > Note, I’m running the database in a server (as opposed to standalone). Is > this a known issue? Any help would be appreciated. > > > > Here’s the error I get when I add the file using the GUI client: > > Error: Possible bug? Feedback is welcome: info at basex.org > > BaseX 6.0: > > java.lang.NullPointerException > > org.basex.index.Names.index(Names.java:81) > > org.basex.build.Builder.addText(Builder.java:384) > > org.basex.build.Builder.text(Builder.java:192) > > org.basex.build.xml.XMLParser.parse(XMLParser.java:46) > > org.basex.build.xml.DirParser.parse(DirParser.java:68) > > org.basex.build.xml.DirParser.parse(DirParser.java:48) > > org.basex.build.Builder.parse(Builder.java:87) > > org.basex.build.MemBuilder.build(MemBuilder.java:36) > > org.basex.core.proc.Add.exec(Add.java:42) > > org.basex.core.Proc.exec(Proc.java:108) > > org.basex.gui.GUI.exec(GUI.java:428) > > org.basex.gui.GUI.execute(GUI.java:336) > > org.basex.gui.GUI$3.actionPerformed(GUI.java:236) > > javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > > javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) > > javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > > javax.swing.DefaultButtonModel.setPressed(Unknown Source) > > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) > > java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > > java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > > java.awt.Component.processMouseEvent(Unknown Source) > > javax.swing.JComponent.processMouseEvent(Unknown Source) > > java.awt.Component.processEvent(Unknown Source) > > java.awt.Container.processEvent(Unknown Source) > > java.awt.Component.dispatchEventImpl(Unknown Source) > > java.awt.Container.dispatchEventImpl(Unknown Source) > > java.awt.Component.dispatchEvent(Unknown Source) > > java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > > java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > > java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > > java.awt.Container.dispatchEventImpl(Unknown Source) > > java.awt.Window.dispatchEventImpl(Unknown Source) > > java.awt.Component.dispatchEvent(Unknown Source) > > java.awt.EventQueue.dispatchEvent(Unknown Source) > > java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > > java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > > java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > > java.awt.EventDispatchThread.pumpEvents(Unknown Source) > > java.awt.EventDispatchThread.pumpEvents(Unknown Source) > > java.awt.EventDispatchThread.run(Unknown Source) > > > > Thanks, > > Tobin > > > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >
TE
Tobin Edwards24 Feb 2010 02:43 #
I'm seeing a null pointer exception in the GUI client when adding an XML file to an empty database that uses an internal parser and does NOT chop whitespace. Using the command-line tool to add the same file works fine. Note, I'm running the database in a server (as opposed to standalone). Is this a known issue? Any help would be appreciated. Here's the error I get when I add the file using the GUI client: Error: Possible bug? Feedback is welcome: info at basex.org BaseX 6.0: java.lang.NullPointerException org.basex.index.Names.index(Names.java:81) org.basex.build.Builder.addText(Builder.java:384) org.basex.build.Builder.text(Builder.java:192) org.basex.build.xml.XMLParser.parse(XMLParser.java:46) org.basex.build.xml.DirParser.parse(DirParser.java:68) org.basex.build.xml.DirParser.parse(DirParser.java:48) org.basex.build.Builder.parse(Builder.java:87) org.basex.build.MemBuilder.build(MemBuilder.java:36) org.basex.core.proc.Add.exec(Add.java:42) org.basex.core.Proc.exec(Proc.java:108) org.basex.gui.GUI.exec(GUI.java:428) org.basex.gui.GUI.execute(GUI.java:336) org.basex.gui.GUI$3.actionPerformed(GUI.java:236) javax.swing.AbstractButton.fireActionPerformed(Unknown Source) javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) javax.swing.DefaultButtonModel.setPressed(Unknown Source) javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) java.awt.Component.processMouseEvent(Unknown Source) javax.swing.JComponent.processMouseEvent(Unknown Source) java.awt.Component.processEvent(Unknown Source) java.awt.Container.processEvent(Unknown Source) java.awt.Component.dispatchEventImpl(Unknown Source) java.awt.Container.dispatchEventImpl(Unknown Source) java.awt.Component.dispatchEvent(Unknown Source) java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) java.awt.Container.dispatchEventImpl(Unknown Source) java.awt.Window.dispatchEventImpl(Unknown Source) java.awt.Component.dispatchEvent(Unknown Source) java.awt.EventQueue.dispatchEvent(Unknown Source) java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.awt.EventDispatchThread.run(Unknown Source) Thanks, Tobin

⚡Generated with XQuery