Menu

#15 NullPointerException when performing full text search

serious
open
5
2005-11-07
2005-11-07
Bjřrn Wang
No

Hello,

I have problems with dbXML throwing a
NullPointerException every time I try performing a full
text query.

I've added test documents and a full text index
(pattern=*), and issue the following query:

<dbxml:fulltext
xmlns:dbxml="http://www.dbxml.com/db/query" xpath="">
<select name="*">bringes</select>
</dbxml:fulltext>

dbXML reports the following error:

[2005-11-07 10:41:44] java.lang.NullPointerException
[2005-11-07 10:41:44] at
com.dbxml.db.core.indexer.IndexPattern.convertSymbolToName(IndexPattern.java:87)
[2005-11-07 10:41:44] at
com.dbxml.db.core.indexer.IndexPattern.<init>(IndexPattern.java:82)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextIndexer$1.indexInfo(FullTextIndexer.java:309)
[2005-11-07 10:41:44] at
com.dbxml.db.common.btree.BTree$BTreeNode.query(BTree.java:778)
[2005-11-07 10:41:44] at
com.dbxml.db.common.btree.BTree$BTreeNode.query(BTree.java:715)
[2005-11-07 10:41:44] at
com.dbxml.db.common.btree.BTree$BTreeNode.query(BTree.java:715)
[2005-11-07 10:41:44] at
com.dbxml.db.common.btree.BTree.query(BTree.java:191)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextIndexer.queryMatches(FullTextIndexer.java:302)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextQuery.evaluateSelect(FullTextQuery.java:226)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextQuery.evaluate(FullTextQuery.java:181)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextQuery.evaluateChildren(FullTextQuery.java:194)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextQuery.evaluate(FullTextQuery.java:175)
[2005-11-07 10:41:44] at
com.dbxml.db.common.fulltext.FullTextQuery.execute(FullTextQuery.java:152)
[2005-11-07 10:41:44] at
com.dbxml.db.common.query.QueryResolverBase.query(QueryResolverBase.java:51)
[2005-11-07 10:41:44] at
com.dbxml.db.core.query.QueryEngine.query(QueryEngine.java:115)
[2005-11-07 10:41:44] at
com.dbxml.db.core.Collection.queryCollection(Collection.java:875)
[2005-11-07 10:41:44] at
com.dbxml.db.server.labrador.CollectionProxy.queryCollection(CollectionProxy.java:524)
[2005-11-07 10:41:44] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2005-11-07 10:41:44] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2005-11-07 10:41:44] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
[2005-11-07 10:41:44] at
java.lang.reflect.Method.invoke(Unknown Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.objects.ObjectDiscovery.invoke(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.objects.ObjectDiscovery.invoke(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.objects.ObjectInstance.invoke(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.xmlrpc.XMLRPCHandler$SAXHandler.endDocument(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.impl.XMLEntityScanner.load(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
[2005-11-07 10:41:44] at
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[2005-11-07 10:41:44] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
[2005-11-07 10:41:44] at
javax.xml.parsers.SAXParser.parse(Unknown Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.xmlrpc.XMLRPCHandler.processRequest(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.broker.BrokerContextImpl.process(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.broker.Broker.processRequest(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.http.HTTPServerBase$Worker.processRequest(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.http.NIOHTTPServer$HTTPWorker.handleConnection(Unknown
Source)
[2005-11-07 10:41:44] at
com.dbxml.labrador.http.HTTPServerBase$Worker.run(Unknown
Source)

Discussion


Log in to post a comment.