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.
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14 OS: Linux User Comments: javydreamercsw: Not sure what's trigering but keep occuring. Stacktrace: java.util.NoSuchElementException at java.util.ArrayList$Itr.next(ArrayList.java:854) at de.markiewb.netbeans.plugins.maven.project.setjdk.SetJDKAction.getDisplayName(SetJDKAction.java:141) at de.markiewb.netbeans.plugins.maven.project.setjdk.SetJDKAction.getPopupPresenter(SetJDKAction.java:108) at org.openide.util.Utilities.actionsToPopup(Utilities.java:1729) at org.openide.util.Utilities.actionsToPopup(Utilities.java:1815) at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1058)
Created attachment 161398 [details] stacktrace
Personally I think this happens since I added the Gradle plugin. But I'm not sure.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=225381
Created attachment 163455 [details] stacktrace I started NetBeans and right-clicked on the project node.
Created attachment 163568 [details] stacktrace toolbar for sql queries (and for all other windows) was missing, so restored preferences from a backup.
(In reply to Exceptions Reporter from comment #4) > Created attachment 163455 [details] > stacktrace > > I started NetBeans and right-clicked on the project node. This is coming from the "Set JDK for Maven projects" plugin: https://github.com/markiewb/nb-maven-project-setjdk/blob/master/src/main/java/de/markiewb/netbeans/plugins/maven/project/setjdk/SetJDKAction.java#L141 However, when the IDE is (re)started I get the following 4 errors: Caused: org.openide.filesystems.FSException: Cannot create file Actions because Loaders/Desktop/org-pr-nb-plugins-usd-BrowseWithSystem.shadow on filesystem Default System is not a folder. Caused: org.openide.filesystems.FSException: Cannot create file Actions because Loaders/Desktop/org-pr-nb-plugins-usd-EditWithSystem.shadow on filesystem Default System is not a folder. Caused: org.openide.filesystems.FSException: Cannot create file Actions because Loaders/Desktop/org-pr-nb-plugins-usd-OpenWithSystem.shadow on filesystem Default System is not a folder. Caused: org.openide.filesystems.FSException: Cannot create file Actions because Loaders/Desktop/org-pr-nb-plugins-usd-MailWithSystem.shadow on filesystem Default System is not a folder. I am not sure if they are related or not to the "SetJDKAction" NPE. (see 20170207_error_when_right-clic.txt attachment) (see 20170207_error_when_startup.txt attachment)
Created attachment 163590 [details] 20170207_error_when_right-clic.txt
Created attachment 163591 [details] 20170207_error_when_startup.txt
Created attachment 163592 [details] 20170207_error_when_startup.png
(In reply to snackr from comment #6) > (In reply to Exceptions Reporter from comment #4) > > Created attachment 163455 [details] > > stacktrace > > > > I started NetBeans and right-clicked on the project node. > > This is coming from the "Set JDK for Maven projects" plugin: > > https://github.com/markiewb/nb-maven-project-setjdk/blob/master/src/main/ > java/de/markiewb/netbeans/plugins/maven/project/setjdk/SetJDKAction.java#L141 > > However, when the IDE is (re)started I get the following 4 errors: > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > because Loaders/Desktop/org-pr-nb-plugins-usd-BrowseWithSystem.shadow on > filesystem Default System is not a folder. > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > because Loaders/Desktop/org-pr-nb-plugins-usd-EditWithSystem.shadow on > filesystem Default System is not a folder. > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > because Loaders/Desktop/org-pr-nb-plugins-usd-OpenWithSystem.shadow on > filesystem Default System is not a folder. > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > because Loaders/Desktop/org-pr-nb-plugins-usd-MailWithSystem.shadow on > filesystem Default System is not a folder. > > I am not sure if they are related or not to the "SetJDKAction" NPE. > > (see 20170207_error_when_right-clic.txt attachment) > (see 20170207_error_when_startup.txt attachment) I have added an issue to the "Set JDK for Maven projects" plugin project. https://github.com/markiewb/nb-maven-project-setjdk/issues/4
(In reply to snackr from comment #10) > (In reply to snackr from comment #6) > > (In reply to Exceptions Reporter from comment #4) > > > Created attachment 163455 [details] > > > stacktrace > > > > > > I started NetBeans and right-clicked on the project node. > > > > This is coming from the "Set JDK for Maven projects" plugin: > > > > https://github.com/markiewb/nb-maven-project-setjdk/blob/master/src/main/ > > java/de/markiewb/netbeans/plugins/maven/project/setjdk/SetJDKAction.java#L141 > > > > However, when the IDE is (re)started I get the following 4 errors: > > > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > > because Loaders/Desktop/org-pr-nb-plugins-usd-BrowseWithSystem.shadow on > > filesystem Default System is not a folder. > > > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > > because Loaders/Desktop/org-pr-nb-plugins-usd-EditWithSystem.shadow on > > filesystem Default System is not a folder. > > > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > > because Loaders/Desktop/org-pr-nb-plugins-usd-OpenWithSystem.shadow on > > filesystem Default System is not a folder. > > > > Caused: org.openide.filesystems.FSException: Cannot create file Actions > > because Loaders/Desktop/org-pr-nb-plugins-usd-MailWithSystem.shadow on > > filesystem Default System is not a folder. > > > > I am not sure if they are related or not to the "SetJDKAction" NPE. > > > > (see 20170207_error_when_right-clic.txt attachment) > > (see 20170207_error_when_startup.txt attachment) > > I have added an issue to the "Set JDK for Maven projects" plugin project. > > https://github.com/markiewb/nb-maven-project-setjdk/issues/4 also, those "startup" errors I'm having are coming from the "Delta Hexadecimal Editor" http://deltahex.exbin.org/ Disabling those plugins will fix your errors, but not the plugins.
It is hopefully fixed in 1.0.2 of the plugin. I uploaded it to the plugin center and it should be available soon as an automatic update. In the meantime, disable the plugin or the install 1.0.2 from the github page.