Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
fileinstall-3.5.2
-
None
-
None
-
Windows
Description
When watching a directory on a mapped-network-drive, a NullpointerException occurs
org.apache.felix.fileinstall - In main loop, we have serious trouble java.lang.NullPointerException: null at sun.nio.fs.WindowsPath.toWindowsPath(WindowsPath.java:373) [na:1.7.0_79] at sun.nio.fs.WindowsPath.resolve(WindowsPath.java:525) [na:1.7.0_79] at sun.nio.fs.WindowsPath.resolve(WindowsPath.java:44) [na:1.7.0_79] at org.apache.felix.fileinstall.internal.Watcher.processEvents(Watcher.java:179) [na:na] at org.apache.felix.fileinstall.internal.WatcherScanner.scan(WatcherScanner.java:63) [na:na] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:302) [na:na]
Watcher.java
Path name = ev.context(); // <- returns null
Path child = dir.resolve(name);
Usecase: I need to specify a personal-network-drive because of user-passwords which get passed to ConfigAdmin.