<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: NPE on querying Solr</title>
		<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 08:17:50 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/npe-on-querying-solr" rel="self" type="application/rss+xml" />

		<item>
			<title>Sven on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-8468</link>
			<pubDate>Wed, 16 Jan 2013 21:58:50 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">8468@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Yes, autoSoftCommit is not recommended at this point (sorry, we are working on it).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hliu on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-8467</link>
			<pubDate>Wed, 16 Jan 2013 20:50:18 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">8467@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am seeing this issue again. My setup worked fine when I have the following in solrconfig:&#60;br /&#62;
.&#60;br /&#62;
&#38;lt;updateHandler class=&#34;solr.DirectUpdateHandler2&#34;&#38;gt;&#60;br /&#62;
    &#38;lt;autoCommit&#38;gt;&#60;br /&#62;
         &#38;lt;maxTime&#38;gt;1000&#38;lt;/maxTime&#38;gt;&#60;br /&#62;
    &#38;lt;/autoCommit&#38;gt;&#60;br /&#62;
&#38;lt;/updateHandler&#38;gt;&#60;br /&#62;
.&#60;br /&#62;
However, the issue started when I have autoSoftCommit in solrconfig:&#60;br /&#62;
.&#60;br /&#62;
&#38;lt;updateHandler class=&#34;solr.DirectUpdateHandler2&#34;&#38;gt;&#60;br /&#62;
    &#38;lt;autoSoftCommit&#38;gt;&#60;br /&#62;
      &#38;lt;maxTime&#38;gt;1000&#38;lt;/maxTime&#38;gt;&#60;br /&#62;
    &#38;lt;/autoSoftCommit&#38;gt;&#60;br /&#62;
&#38;lt;/updateHandler&#38;gt;&#60;br /&#62;
.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hliu on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-7971</link>
			<pubDate>Thu, 13 Dec 2012 20:45:22 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">7971@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Sorry, I could not reproduce the issue anymore on my env. Will provided more details if it happens again. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sergio on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-7935</link>
			<pubDate>Tue, 11 Dec 2012 09:44:39 +0000</pubDate>
			<dc:creator>sergio</dc:creator>
			<guid isPermaLink="false">7935@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;could you provide us some steps to reproduce the problem?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hliu on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-7840</link>
			<pubDate>Wed, 05 Dec 2012 19:57:53 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">7840@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am using DSE 2.2. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sam on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-7828</link>
			<pubDate>Wed, 05 Dec 2012 11:37:50 +0000</pubDate>
			<dc:creator>sam</dc:creator>
			<guid isPermaLink="false">7828@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;which version of DSE are you running?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hliu on "NPE on querying Solr"</title>
			<link>http://www.datastax.com/support-forums/topic/npe-on-querying-solr#post-7821</link>
			<pubDate>Tue, 04 Dec 2012 23:04:14 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">7821@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Got the following exception when querying Solr:&#60;/p&#62;
&#60;p&#62;INFO [http-8983-2] 2012-12-04 13:26:58,058 SolrCore.java (line 1470) [SHOPPING.000071_2_1354602582575] webapp=/solr path=/select/ params={indent=on&#38;amp;start=0&#38;amp;q=*:*&#38;amp;rows=20&#38;amp;version=2.2} hits=11 status=0 QTime=0&#60;br /&#62;
ERROR [http-8983-2] 2012-12-04 13:26:58,058 SolrException.java (line 114) java.lang.NullPointerException&#60;br /&#62;
	at org.apache.lucene.index.CassandraDirectoryReader.document(CassandraDirectoryReader.java:117)&#60;br /&#62;
	at org.apache.lucene.index.CassandraDirectoryReader.document(CassandraDirectoryReader.java:83)&#60;br /&#62;
	at org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:439)&#60;br /&#62;
	at org.apache.solr.response.TextResponseWriter.writeDocuments(TextResponseWriter.java:245)&#60;br /&#62;
	at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:154)&#60;br /&#62;
	at org.apache.solr.response.XMLWriter.writeResponse(XMLWriter.java:111)&#60;br /&#62;
	at org.apache.solr.response.XMLResponseWriter.write(XMLResponseWriter.java:37)&#60;br /&#62;
	at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:340)&#60;br /&#62;
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:261)&#60;br /&#62;
	at com.datastax.bdp.cassandra.index.solr.CassandraDispatchFilter.doFilter(CassandraDispatchFilter.java:151)&#60;br /&#62;
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#60;br /&#62;
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#60;br /&#62;
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&#60;br /&#62;
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&#60;br /&#62;
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&#60;br /&#62;
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&#60;br /&#62;
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#60;br /&#62;
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)&#60;br /&#62;
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)&#60;br /&#62;
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)&#60;br /&#62;
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&#60;br /&#62;
	at java.lang.Thread.run(Thread.java:662)&#60;/p&#62;
&#60;p&#62;Some details on the issue:&#60;br /&#62;
1. The query works fine every time after restarting DSE&#60;br /&#62;
2. Seems like the error happens after updating (adding/updating docs) the core through solrj&#60;br /&#62;
3. Core admin and pinging core works fine all the time&#60;br /&#62;
.&#60;br /&#62;
Any idea on what might cause the issue? Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
