This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268004

Summary: NullPointerException at org.openide.filesystems.FileChangeImpl.locateCurrent
Product: platform Reporter: ytn01
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226213
Attachments: stacktrace

Description ytn01 2016-09-13 17:16:09 UTC
Build: NetBeans IDE 8.2 RC (Build 201609120201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b04, Java(TM) SE Runtime Environment, 1.8.0_112-ea-b04
OS: Windows 10

User Comments:
ytn01: Installed NB8.2 RC.
I launched it after installation,.. and I was asked to import settings from previous installations. I clicked yes.
After IDE started, I was asked to import plugins from previous installation,.. I checked all "compatible" plugins,.. and one plugin from under incompatible list (Darcula LAF).
Once plugins installed, I was asked to restart,.. I confirmed.
IDE restarted after it finished background scanning and loading maven repsitories.
After it restarted,.. exception was thrown.




Stacktrace: 
java.lang.NullPointerException
   at org.openide.filesystems.FileChangeImpl.locateCurrent(FileChangeImpl.java:96)
   at org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:242)
   at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:295)
   at org.netbeans.modules.web.clientproject.api.util.WatchedFile.getWatchedFile(WatchedFile.java:148)
   at org.netbeans.modules.web.clientproject.api.util.WatchedFile.getFile(WatchedFile.java:121)
   at org.netbeans.modules.web.clientproject.api.json.JsonFile.getFile(JsonFile.java:172)
Comment 1 ytn01 2016-09-13 17:16:13 UTC
Created attachment 162031 [details]
stacktrace