You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Joel Bernstein <jo...@gmail.com> on 2015/02/17 17:57:37 UTC
Trunk: java.lang.ClassNotFoundException: org.apache.solr.search.FilterImpl
Attempting to start Solr from Trunk with Java 8 and getting the exception
below. Anyone else seeing this?
Caused by: java.lang.ClassNotFoundException:
org.apache.solr.search.FilterImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
Joel Bernstein
Search Engineer at Heliosearch
Re: Trunk: java.lang.ClassNotFoundException: org.apache.solr.search.FilterImpl
Posted by Joel Bernstein <jo...@gmail.com>.
I believe what caused the weird state was a failed compilation. Here is the
order of events:
1) Fresh trunk checkout
2) Apply patch
3) Failed Compilation
4) Fixed Compilation issue in the patch
5) Successful Compile
6) Runtime error with FilterImpl class not found.
Joel Bernstein
Search Engineer at Heliosearch
On Tue, Feb 17, 2015 at 12:32 PM, Joel Bernstein <jo...@gmail.com> wrote:
> After cleaning and rebuilding the issues was resolved. Somehow the build
> got into a weird state with the internal FilterImpl class. Probably a good
> idea to break this class out into it's own file.
>
> Joel Bernstein
> Search Engineer at Heliosearch
>
> On Tue, Feb 17, 2015 at 12:26 PM, Adrien Grand <jp...@gmail.com> wrote:
>
>> Indeed I think the fact that it does not have its own file can confuse
>> incremental compilation since there is no source file to match with
>> FilterImpl.class.
>>
>> On Tue, Feb 17, 2015 at 6:21 PM, Chris Hostetter
>> <ho...@fucit.org> wrote:
>> >
>> > Can not reproduce, and you did't give enough context to in the
>> > exception to even know where in the code that exception is being
>> > triggered.
>> >
>> > That class is a package protected "sibling" class of SolrIndexSearcher
>> (i
>> > forget the technical name) so perhaps your problem is simply a
>> compilation
>> > glitch? ... did you build in an IDE? maven? ant?
>> >
>> >
>> >
>> > : Date: Tue, 17 Feb 2015 11:57:37 -0500
>> > : From: Joel Bernstein <jo...@gmail.com>
>> > : Reply-To: dev@lucene.apache.org
>> > : To: lucene dev <de...@lucene.apache.org>
>> > : Subject: Trunk: java.lang.ClassNotFoundException:
>> > : org.apache.solr.search.FilterImpl
>> > :
>> > : Attempting to start Solr from Trunk with Java 8 and getting the
>> exception
>> > : below. Anyone else seeing this?
>> > :
>> > : Caused by: java.lang.ClassNotFoundException:
>> > : org.apache.solr.search.FilterImpl
>> > : at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
>> > : at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>> > : at java.security.AccessController.doPrivileged(Native Method)
>> > : at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
>> > : at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> > : at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> > : at
>> > :
>> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
>> > : at
>> > :
>> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
>> > :
>> > :
>> > :
>> > : Joel Bernstein
>> > : Search Engineer at Heliosearch
>> > :
>> >
>> > -Hoss
>> > http://www.lucidworks.com/
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>> >
>>
>>
>>
>> --
>> Adrien
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>
Re: Trunk: java.lang.ClassNotFoundException: org.apache.solr.search.FilterImpl
Posted by Joel Bernstein <jo...@gmail.com>.
After cleaning and rebuilding the issues was resolved. Somehow the build
got into a weird state with the internal FilterImpl class. Probably a good
idea to break this class out into it's own file.
Joel Bernstein
Search Engineer at Heliosearch
On Tue, Feb 17, 2015 at 12:26 PM, Adrien Grand <jp...@gmail.com> wrote:
> Indeed I think the fact that it does not have its own file can confuse
> incremental compilation since there is no source file to match with
> FilterImpl.class.
>
> On Tue, Feb 17, 2015 at 6:21 PM, Chris Hostetter
> <ho...@fucit.org> wrote:
> >
> > Can not reproduce, and you did't give enough context to in the
> > exception to even know where in the code that exception is being
> > triggered.
> >
> > That class is a package protected "sibling" class of SolrIndexSearcher (i
> > forget the technical name) so perhaps your problem is simply a
> compilation
> > glitch? ... did you build in an IDE? maven? ant?
> >
> >
> >
> > : Date: Tue, 17 Feb 2015 11:57:37 -0500
> > : From: Joel Bernstein <jo...@gmail.com>
> > : Reply-To: dev@lucene.apache.org
> > : To: lucene dev <de...@lucene.apache.org>
> > : Subject: Trunk: java.lang.ClassNotFoundException:
> > : org.apache.solr.search.FilterImpl
> > :
> > : Attempting to start Solr from Trunk with Java 8 and getting the
> exception
> > : below. Anyone else seeing this?
> > :
> > : Caused by: java.lang.ClassNotFoundException:
> > : org.apache.solr.search.FilterImpl
> > : at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
> > : at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> > : at java.security.AccessController.doPrivileged(Native Method)
> > : at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
> > : at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> > : at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> > : at
> > :
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
> > : at
> > :
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
> > :
> > :
> > :
> > : Joel Bernstein
> > : Search Engineer at Heliosearch
> > :
> >
> > -Hoss
> > http://www.lucidworks.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
> >
>
>
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: Trunk: java.lang.ClassNotFoundException: org.apache.solr.search.FilterImpl
Posted by Adrien Grand <jp...@gmail.com>.
Indeed I think the fact that it does not have its own file can confuse
incremental compilation since there is no source file to match with
FilterImpl.class.
On Tue, Feb 17, 2015 at 6:21 PM, Chris Hostetter
<ho...@fucit.org> wrote:
>
> Can not reproduce, and you did't give enough context to in the
> exception to even know where in the code that exception is being
> triggered.
>
> That class is a package protected "sibling" class of SolrIndexSearcher (i
> forget the technical name) so perhaps your problem is simply a compilation
> glitch? ... did you build in an IDE? maven? ant?
>
>
>
> : Date: Tue, 17 Feb 2015 11:57:37 -0500
> : From: Joel Bernstein <jo...@gmail.com>
> : Reply-To: dev@lucene.apache.org
> : To: lucene dev <de...@lucene.apache.org>
> : Subject: Trunk: java.lang.ClassNotFoundException:
> : org.apache.solr.search.FilterImpl
> :
> : Attempting to start Solr from Trunk with Java 8 and getting the exception
> : below. Anyone else seeing this?
> :
> : Caused by: java.lang.ClassNotFoundException:
> : org.apache.solr.search.FilterImpl
> : at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
> : at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> : at java.security.AccessController.doPrivileged(Native Method)
> : at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
> : at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> : at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> : at
> : org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
> : at
> : org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
> :
> :
> :
> : Joel Bernstein
> : Search Engineer at Heliosearch
> :
>
> -Hoss
> http://www.lucidworks.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
--
Adrien
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: Trunk: java.lang.ClassNotFoundException:
org.apache.solr.search.FilterImpl
Posted by Chris Hostetter <ho...@fucit.org>.
Can not reproduce, and you did't give enough context to in the
exception to even know where in the code that exception is being
triggered.
That class is a package protected "sibling" class of SolrIndexSearcher (i
forget the technical name) so perhaps your problem is simply a compilation
glitch? ... did you build in an IDE? maven? ant?
: Date: Tue, 17 Feb 2015 11:57:37 -0500
: From: Joel Bernstein <jo...@gmail.com>
: Reply-To: dev@lucene.apache.org
: To: lucene dev <de...@lucene.apache.org>
: Subject: Trunk: java.lang.ClassNotFoundException:
: org.apache.solr.search.FilterImpl
:
: Attempting to start Solr from Trunk with Java 8 and getting the exception
: below. Anyone else seeing this?
:
: Caused by: java.lang.ClassNotFoundException:
: org.apache.solr.search.FilterImpl
: at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
: at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
: at java.security.AccessController.doPrivileged(Native Method)
: at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
: at
: org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
: at
: org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
:
:
:
: Joel Bernstein
: Search Engineer at Heliosearch
:
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org