: I'm developing against solr trunk and I wanted to start using the newSearcher : ans firstSearcher functionality. : However I'm getting a nullpointer exception when I startup my solr instance . ... : What I'm I doning wrong, because it looks like SearchHandler.inform(..) : is never called but handleRequestBody is
You're doing nothing wrong, I can reproduce this error... it looks like SolrCore is running through the Event LIsteners before it's informing the Handlers ... kind of a chicken and egg problem actually. the contract of inform is suppose to be that it happens after the SolrCore is finished initalizing, but before any handleRequest calls are made ... but the newSearcher events happen before hte first and after the second. catch-22 ..I'll open a bug. -Hoss