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

ASF GitHub Bot commented on METRON-1887:
----------------------------------------

Github user mmiklavc commented on a diff in the pull request:

    https://github.com/apache/metron/pull/1274#discussion_r236430858
  
    --- Diff: 
metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/common/utils/VFSClassloaderUtil.java
 ---
    @@ -112,14 +112,18 @@ public static FileSystemManager generateVfs() throws 
FileSystemException {
        * @throws FileSystemException
        */
       public static Optional<ClassLoader> configureClassloader(String paths) 
throws FileSystemException {
    +    LOG.debug("Configuring class loader with paths = {}", paths);
         if(paths.trim().isEmpty()) {
    --- End diff --
    
    We haven't encountered any instances with path being null that I'm aware of 
- I'd like to start with this and add more checks as needed.


> Add logging to the ClasspathFunctionResolver
> --------------------------------------------
>
>                 Key: METRON-1887
>                 URL: https://issues.apache.org/jira/browse/METRON-1887
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Michael Miklavcic
>            Assignee: Michael Miklavcic
>            Priority: Major
>
> We had a user reporting non-deterministic NPE's here - 
> [https://github.com/apache/metron/blob/master/metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/dsl/functions/resolver/ClasspathFunctionResolver.java#L250.]
>  The purpose of this ticket is to more gracefully handle the NPE and add some 
> additional debugging information to better track down the source of this 
> issue should it come up again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to