You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2024/06/22 15:13:00 UTC

[jira] [Resolved] (SOLR-15591) NullPointerException in ExternalPaths.determineSourceHome makes debugging cumbersome

     [ https://issues.apache.org/jira/browse/SOLR-15591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Pugh resolved SOLR-15591.
------------------------------
    Fix Version/s: 9.7
       Resolution: Fixed

> NullPointerException in ExternalPaths.determineSourceHome makes debugging cumbersome
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-15591
>                 URL: https://issues.apache.org/jira/browse/SOLR-15591
>             Project: Solr
>          Issue Type: Improvement
>          Components: Tests
>            Reporter: Mike Drob
>            Assignee: Eric Pugh
>            Priority: Major
>              Labels: newdev
>             Fix For: 9.7
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When running a debugger set to break on exceptions, some tests will throw NPE in {{determineSourceHome()}}, which we dutifully catch and easily recover from. We should instead check for the null condition instead of forcing the debugger to stop.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org