Closed GoogleCodeExporter closed 9 years ago
Hmmmm just guessing here, but maybe the charset of your text file is different
from the charset you set in SolrMeter? If you haven't set a file charset in
SolrMeter it uses by default UTF-8, but you can change it setting the property:
'files.charset'
Original comment by tflo...@gmail.com
on 10 Aug 2012 at 4:55
No I checked it before hand. Both are set to UTF-8
Original comment by bhaveam...@gmail.com
on 10 Aug 2012 at 5:02
Could you upload a piece of your queries file?
Original comment by tflo...@gmail.com
on 10 Aug 2012 at 5:42
Original comment by bhaveam...@gmail.com
on 10 Aug 2012 at 5:51
Attachments:
This issue was closed by revision r296.
Original comment by tflo...@gmail.com
on 10 Aug 2012 at 11:44
Thanks for reporting this issue! After some debugging and a couple of (Friday)
beers, it looks like the issue is the one described here:
http://bugs.sun.com/view_bug.do?bug_id=4508058
and
http://bugs.sun.com/view_bug.do?bug_id=6378911
Try with the last build:
https://plugtree-org.ci.cloudbees.com/job/solrmeter/lastSuccessfulBuild/artifact
/releases/solrmeter.jar
Original comment by tflo...@gmail.com
on 11 Aug 2012 at 12:05
Tried with the new jar - Now it is refusing to query Solr. I get the following
error:
----
[Thread-817]|
INFO|[com.plugtree.solrmeter.model.SolrServerRegistry]|11:17:45,502 |
Connecting to Solr: http://10.4
0.14.93:8080/solr/search
Exception in thread "Thread-817" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-809" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-826" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-815" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-827" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-820" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-822" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
Exception in thread "Thread-814" java.lang.NullPointerException
at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExe
cutorThread.java:83)
at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.j
ava:62)
----
Original comment by bhaveam...@gmail.com
on 13 Aug 2012 at 10:19
Do you see any error on the Solr server logs? the line 55 of the QueryOperation
is a log line after executing the query with the line:
logger.debug(response.getResults().getNumFound() + " results found in " +
response.getQTime() + " ms");
I've been using the last revision during the weekend and I didn't see this
error.
Original comment by tflo...@gmail.com
on 13 Aug 2012 at 10:31
Original issue reported on code.google.com by
bhaveam...@gmail.com
on 10 Aug 2012 at 4:42