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

Jean-Baptiste Onofré commented on KARAF-3460:
---------------------------------------------

A complete fix would be to init the watcher in the run or define watcher 
synchronized.

> 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: Jean-Baptiste Onofré
>             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