Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3974

regression: OakSolrConfigurationProviderService.activate can throw a NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.27, 1.2.11, 1.3.15, 1.4
    • solr
    • None

    Description

      It looks like OAK-3968 has introduced a regression (a left-over System.err.println), as per NPE below:

      03.02.2016 10:18:12.319 *ERROR* [FelixStartLevel] org.apache.jackrabbit.oak-solr-osgi [org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService(78)] The activate meth
      od has thrown an exception (java.lang.NullPointerException)
      java.lang.NullPointerException: null
              at org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.activate(OakSolrConfigurationProviderService.java:151)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)
      

      Attachments

        Issue Links

          Activity

            People

              teofili Tommaso Teofili
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: