You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2016/02/03 10:36:39 UTC

[jira] [Comment Edited] (OAK-3974) regression: OakSolrConfigurationProviderService.activate can throw a NPE

    [ https://issues.apache.org/jira/browse/OAK-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130103#comment-15130103 ] 

Tommaso Teofili edited comment on OAK-3974 at 2/3/16 9:35 AM:
--------------------------------------------------------------

fixed in r1728281, 1728284, 1728286.


was (Author: teofili):
fixed in r1728281

> regression: 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.2.11, 1.3.15, 1.0.27
>
>
> 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)