[TYPO3-Solr] Suggest Search Fatal Error

Daniel Vogt daniel.vogt at kitd.com
Wed Sep 28 17:11:29 CEST 2011


I have problems with the suggest search. The "normal" search works well, 
but the suggest request returns a Fatal Error.

request-parameters:
eID=tx_solr_suggest&term=abo

response:
Fatal error: Call to a member function getRawResponse() on a non-object 
in SERVERNAME/typo3conf/ext/solr/eid_suggest/suggest.php on line 69

I installed the newest version of that file from the svn trunk that gave 
me more output in the devlog:

exception 'Apache_Solr_HttpTransportException' with message ''500' 
Status: null java.lang.NullPointerException at 
java.io.StringReader.<init>(StringReader.java:33) at org.apache.lucene.' 
in 
SERVERPATH/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Service.php:373
Stack trace:
#0 
SERVERPATH/typo3conf/ext/solr/classes/class.tx_solr_solrservice.php(228): Apache_Solr_Service->_sendRawGet('...', 
false)
#1 
SERVERPATH/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Service.php(1097): 
tx_solr_SolrService->_sendRawGet('...')
#2 
SERVERPATH/typo3conf/ext/solr/classes/class.tx_solr_solrservice.php(200): Apache_Solr_Service->search('', 
0, 0, Array)
#3 SERVERPATH/typo3conf/ext/solr/classes/class.tx_solr_search.php(88): 
tx_solr_SolrService->search('', 0, 0, Array)
#4 SERVERPATH/typo3conf/ext/solr/eid_suggest/suggest.php(69): 
tx_solr_Search->search(Object(tx_solr_SuggestQuery), 0, 0)
#5 SERVERPATH/typo3_src-4.5.3/typo3/sysext/cms/tslib/index_ts.php(194): 
require('...')
#6 SERVERPATH/typo3_src-4.5.3/index.php(84): require('...')
#7 {main}

As it seems it has something to do with Java, has it?


More information about the TYPO3-project-solr mailing list