[ 
https://issues.apache.org/jira/browse/SOLR-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923462#action_12923462
 ] 

Robert Muir commented on SOLR-2160:
-----------------------------------

bq. Its not instantiating. SolrMBean only loads the classes!

I disagree... unless I'm completely wrong about what Class.newInstance() does!

{noformat}
    for( Class clazz : classes ) {
      if( SolrInfoMBean.class.isAssignableFrom( clazz ) ) {
        try {
          SolrInfoMBean info = (SolrInfoMBean)clazz.newInstance();
          
          //System.out.println( info.getClass() );
          assertNotNull( info.getName() );
{noformat}

> Unknown query type 'func'
> -------------------------
>
>                 Key: SOLR-2160
>                 URL: https://issues.apache.org/jira/browse/SOLR-2160
>             Project: Solr
>          Issue Type: Test
>          Components: Build
>    Affects Versions: 3.1, 4.0
>         Environment: Hudson
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> Several test methods in TestTrie failed in hudson, with errors such as this:
> Caused by: org.apache.solr.common.SolrException: Unknown query type 'func'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to