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

Christian Schneider commented on KARAF-3460:
--------------------------------------------

I did some manual tests. The problem also happens when starting karaf by hand. 
It does not always happen though. 
It seems when the exception happens watchService is null.

Not sure how this can happen. Maybe an update while an old run is just started.

> NPE in AutoEncryptionSupport.run
> --------------------------------
>
>                 Key: KARAF-3460
>                 URL: https://issues.apache.org/jira/browse/KARAF-3460
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.0.0
>
>
> In the itests I often see this stack trace of a NPE:
> karaf@root()> Exception in thread "AutoEncryptionSupport" 
> java.lang.NullPointerException
>       at sun.nio.fs.UnixPath.register(UnixPath.java:893)
>       at sun.nio.fs.AbstractPath.register(AbstractPath.java:104)
>       at 
> org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport.run(AutoEncryptionSupport.java:79)
>       at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to