[
https://issues.apache.org/jira/browse/FELIX-6393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17367365#comment-17367365
]
Denys commented on FELIX-6393:
------------------------------
Hi, [~jbonofre]. Any suggestions how to fix that? I'm trying to update karaf on
my current project. The fileinstall version is also updated. I have
felix.fileinstall.disableNio2 = true as you told but I can't change it. It
works fine with {color:#FF0000}org.apache.felix.fileinstall/3.6.4{color} but it
shows me the above described error with the version of {color:#FF0000}3.6.8
{color}
Any suggestions on how to fix that?
I tried to add filter felix.fileinstall.filter and the problem disappeared but
then my jar files bundles are not installed. I'm not sure I know how to add a
filter to allow all the files.
> 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
> Assignee: Jean-Baptiste Onofré
> Priority: Critical
>
> 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)