MarcusSorealheis commented on issue #805: SOLR-13649 change the default 
behavior of the basic authentication plugin. [WIP]
URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-519736169
 
 
   @janhoy I've appended Work In Progress to this PR's title because I'm facing 
a strange build error. It does not seem related:
   ``` [ecj-lint] ----------
    [ecj-lint] 1. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 23)
    [ecj-lint]  import javax.naming.NamingException;
    [ecj-lint]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [ecj-lint] The type javax.naming.NamingException is not accessible
    [ecj-lint] ----------
    [ecj-lint] 2. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 28)
    [ecj-lint]  public class MockInitialContextFactory implements 
InitialContextFactory {
    [ecj-lint]               ^^^^^^^^^^^^^^^^^^^^^^^^^
    [ecj-lint] The type MockInitialContextFactory must implement the inherited 
abstract method InitialContextFactory.getInitialContext(Hashtable<?,?>)
    [ecj-lint] ----------
    [ecj-lint] 3. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 30)
    [ecj-lint]  private final javax.naming.Context context;
    [ecj-lint]                ^^^^^^^^^^^^^^^^^^^^
    [ecj-lint] The type javax.naming.Context is not accessible
    [ecj-lint] ----------
    [ecj-lint] 4. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 33)
    [ecj-lint]  context = mock(javax.naming.Context.class);
    [ecj-lint]  ^^^^^^^
    [ecj-lint] context cannot be resolved to a variable
    [ecj-lint] ----------
    [ecj-lint] 5. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 33)
    [ecj-lint]  context = mock(javax.naming.Context.class);
    [ecj-lint]                 ^^^^^^^^^^^^^^^^^^^^
    [ecj-lint] The type javax.naming.Context is not accessible
    [ecj-lint] ----------
    [ecj-lint] 6. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 36)
    [ecj-lint]  when(context.lookup(anyString())).thenAnswer(invocation -> 
objects.get(invocation.getArgument(0)));
    [ecj-lint]       ^^^^^^^
    [ecj-lint] context cannot be resolved
    [ecj-lint] ----------
    [ecj-lint] 7. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 38)
    [ecj-lint]  } catch (NamingException e) {
    [ecj-lint]           ^^^^^^^^^^^^^^^
    [ecj-lint] NamingException cannot be resolved to a type
    [ecj-lint] ----------
    [ecj-lint] 8. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 45)
    [ecj-lint]  public javax.naming.Context getInitialContext(Hashtable env) {
    [ecj-lint]         ^^^^^^^^^^^^^^^^^^^^
    [ecj-lint] The type javax.naming.Context is not accessible
    [ecj-lint] ----------
    [ecj-lint] 9. ERROR in 
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java
 (at line 46)
    [ecj-lint]  return context;
    [ecj-lint]         ^^^^^^^
    [ecj-lint] context cannot be resolved to a variable
    [ecj-lint] ----------
    [ecj-lint] 9 problems (9 errors)
   
   BUILD FAILED
   
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/build.xml:101: 
The following error occurred while executing this line:
   
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/build.xml:651:
 The following error occurred while executing this line:
   
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/common-build.xml:479:
 The following error occurred while executing this line:
   
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2015:
 The following error occurred while executing this line:
   
/Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2048:
 Compile failed; see the compiler error output for details.```
   
   I also[ saw similar errors on the lucene-dev mailing 
list](http://mail-archives.apache.org/mod_mbox/lucene-dev/201908.mbox/%3C1280285549.15565.1565193752064.JavaMail.jenkins@jenkins02%3E).
 Please advise if anything is out of wack. They are slightly different but both 
are reporting that `javax.naming.Context is not accessible`. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to