Re: It's possible up and debug solr in eclipse IDE?

2016-01-14 Thread Shawn Heisey
On 1/14/2016 5:24 PM, Shawn Heisey wrote: > That exception, especially given the lack of an error message, is very > unhelpful. The average person wouldn't be able to deduce that it was a > config problem. > > Perhaps the code in QParser that threw the NPE needs a null check, > logging/throwing a

Re: It's possible up and debug solr in eclipse IDE?

2016-01-14 Thread Shawn Heisey
On 1/14/2016 3:55 AM, Vincenzo D'Amore wrote: > Few days ago I had a nullpointer exception with solr 5.4.0 few days ago. > > This was the exception. > > java.lang.NullPointerException at > org.apache.solr.search.QParser.getParser(QParser.java:315) at > org.apache.solr.handler.component.QueryCompone

Re: It's possible up and debug solr in eclipse IDE?

2016-01-14 Thread Vincenzo D'Amore
Few days ago I had a nullpointer exception with solr 5.4.0 few days ago. This was the exception. java.lang.NullPointerException at org.apache.solr.search.QParser.getParser(QParser.java:315) at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:159) at org.apache.solr.han

Re: It's possible up and debug solr in eclipse IDE?

2016-01-14 Thread Ramkumar R. Aiyengar
I should add to Erick's point that the test framework allows you to test HTTP APIs through an embedded Jetty instance, so you should be able to do anything that you do with a remote Solr instance from code.. On 12 Jan 2016 18:24, "Erick Erickson" wrote: > And a neater way to debug stuff rather th

Re: It's possible up and debug solr in eclipse IDE?

2016-01-12 Thread Erick Erickson
And a neater way to debug stuff rather than attaching to Solr is to step through the Junit tests that exercise the code you need to work on rather than attach to a remote Solr. This is often much faster rather than compile/start solr/attach. Of course some problems don't fit that process, but I th

Re: It's possible up and debug solr in eclipse IDE?

2016-01-12 Thread Vincenzo D'Amore
Mmmm... I'm not sure it worth the trouble. Anyway, I'm just curious, when you find a way let me know. On Tue, Jan 12, 2016 at 1:01 PM, Rodrigo Testillano < rodrite.testill...@gmail.com> wrote: > Yes, with remote debug is working, but i want up a jetty with solr in > Eclipse like i did with tomcat

Re: It's possible up and debug solr in eclipse IDE?

2016-01-12 Thread Rodrigo Testillano
Yes, with remote debug is working, but i want up a jetty with solr in Eclipse like i did with tomcat in older versions. Thank you very much for your help! I am going to try other way to do it, but maybe will be not possible 2016-01-12 12:51 GMT+01:00 Rodrigo Testillano : > Thank you so much!, I

Re: It's possible up and debug solr in eclipse IDE?

2016-01-12 Thread Rodrigo Testillano
Thank you so much!, I'm going to try right now and tell you my results!! 2016-01-12 12:47 GMT+01:00 Vincenzo D'Amore : > Yep. > > I have done this just few hours ago. > Let's download Solr source: > > wget http://it.apache.contactlab.it/lucene/solr/5.4.0/solr-5.4.0-src.tgz > > untar the file. >

Re: It's possible up and debug solr in eclipse IDE?

2016-01-12 Thread Vincenzo D'Amore
Yep. I have done this just few hours ago. Let's download Solr source: wget http://it.apache.contactlab.it/lucene/solr/5.4.0/solr-5.4.0-src.tgz untar the file. I'm not sure we need, but I have already installed latest versions of: ant, ivy and maven. Then in the solr-5.4.0 directory I did this

It's possible up and debug solr in eclipse IDE?

2016-01-12 Thread Rodrigo Testillano
I need debug my custom processor (updateRequestProcessor) in my Eclipse IDE. With old Solr version was possible, but with the solr like a service with jetty i don't know if exists some way to do -- Un Saludo. Rodrigo Testillano Tordesillas.