You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Rakesh Kumar (Jira)" <ji...@apache.org> on 2021/03/07 01:50:00 UTC

[jira] [Commented] (FELIX-6393) FileInstall | In main loop, we have serious trouble | java.lang.NullPointerException: null

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

Rakesh Kumar commented on FELIX-6393:
-------------------------------------

here is the line#158
{code:java}
 -> L#158 if (!filter.accept(file.getParentFile(),file.getName())){
    continue;
}{code}

> FileInstall | In main loop, we have serious trouble | java.lang.NullPointerException: null
> ------------------------------------------------------------------------------------------
>
>                 Key: FELIX-6393
>                 URL: https://issues.apache.org/jira/browse/FELIX-6393
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-3.6.8
>            Reporter: Rakesh Kumar
>            Priority: Major
>
> I was trying to configure the Felix file install and after the configuration in Felix WebConsole is done I placed a bundle in configured load directory and it went into an endless exceptions.
> I had to kill the server to get over it.
> Here is the exception trace.
> {code:java}
> 2021-03-07 06:36:09.942 [FelixLogListener] ERROR com.adeptj.modules.commons.logging.osgi.Logger - In main loop, we have serious trouble
> java.lang.NullPointerException: null
> 	at org.apache.felix.fileinstall.internal.Scanner.processFiles(Scanner.java:158)
> 	at org.apache.felix.fileinstall.internal.Scanner.scan(Scanner.java:131)
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:311)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)