jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Egli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-3974) OakSolrConfigurationProviderService.activate can throw a NPE
Date Wed, 03 Feb 2016 09:29:39 GMT
Stefan Egli created OAK-3974:
--------------------------------

             Summary: OakSolrConfigurationProviderService.activate can throw a NPE
                 Key: OAK-3974
                 URL: https://issues.apache.org/jira/browse/OAK-3974
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: solr
            Reporter: Stefan Egli
            Assignee: Tommaso Teofili
            Priority: Blocker
             Fix For: 1.3.15


It looks like OAK-3968 has introduced a regression ([a left-over System.err.println|https://github.com/apache/jackrabbit-oak/blob/06901e624d105ff13a0fd0052d815347e74093d2/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/osgi/OakSolrConfigurationProviderService.java#L151]),
as per NPE below:

{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message