KangChangKi / solrmeter

Automatically exported from code.google.com/p/solrmeter
0 stars 0 forks source link

Error while executing external Query file with group Queries esp when "group=true" #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using solrmeter.0.3.0 against Solr 3.5 server

Cannot rung queries with "&group=true" parameter

Steps to reproduce 
1. Generate an external file with group query
2. Execution faile with following exception 

Exception in thread "Thread-180" java.lang.NullPointerException
        at com.plugtree.solrmeter.model.operation.QueryOperation.execute(QueryOperation.java:55)
        at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.executeOperation(RandomOperationExecutorThread.java:83)
        at com.plugtree.solrmeter.model.operation.RandomOperationExecutorThread.run(RandomOperationExecutorThread.java:62)

I see that the issue while printing the log in QueryOperation.java @ line 55 
//Code line
logger.debug(response.getResults().getNumFound() + " results found in " + 
response.getQTime() + " ms");

Original issue reported on code.google.com by adityaba...@gmail.com on 1 Nov 2012 at 10:32

GoogleCodeExporter commented 9 years ago
This issue has been duplicated by Issue #113 
https://code.google.com/p/solrmeter/issues/detail?id=113 and there is a patch 
on this issue which addresses the bug mentioned above.

I didn't author the patch, but I did confirm it works after experiencing the 
same problem as documented here.

Best wishes,

Daniel

Original comment by tai.dev...@gmail.com on 14 Apr 2013 at 7:25

GoogleCodeExporter commented 9 years ago
More work related to this problem in issue #113. Thanks for reporting.

Original comment by tflo...@gmail.com on 22 May 2013 at 12:58