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

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

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

Carlos Grappa commented on SOLR-15591:
--------------------------------------

Hi!

I'd like to help with this issue.

To clarify what is expected, if I run all tests, with the debugger set to stop on exceptions, not a single test should hit a breakpoint in ExternalPaths.

 

Is that correct or am I missing something, which is quite possible since this its gonna be my first issue!

 

Thanks!

> 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
>            Priority: Major
>              Labels: newdev
>
> 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.3.4#803005)

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