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 - NullPointerException at org.openide.filesystems.FileChangeImpl.locateCurrent
Summary: NullPointerException at org.openide.filesystems.FileChangeImpl.locateCurrent
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 17:16 UTC by ytn01
Modified: 2016-09-13 17:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226213


Attachments
stacktrace (1.71 KB, text/plain)
2016-09-13 17:16 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
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