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.
Created attachment 154338 [details] logfile 1. Started Netbeans with some web projects open. 2. Right clicked on a JSF web project to run it while NetBeans was starting. Did this a few times until the full context menu with "Run" showed. The project rand and This exception was thrown, but I was not able to report it from the exception reporter dialog. I would click the button to report is and nothing would happen. The exception kept being thrown over and over and it finally stopped. I then clicked Tools>>Options and the exception was thrown again each time I did this. I saved the log file a shut down NetBeans. See attached log file. Product Version: NetBeans IDE Dev (Build 201506190001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
I was able to make it occur again with the same steps. After the exception occurred, if I clicked on the project tree nodes or a sub-menu item, the exception would be thrown again. I was still not able to report with the exception reporter. See second attached log file.
Created attachment 154339 [details] 2nd logfile
I don't see anything JSF specific. There are some issues in UI handler reassigning.
I do not see any issues in UI handler. The UI handler can not proceed with the report of the exception, because EventQueue.invokeAndWait() throws InvocationTargetException and that's because of the: java.lang.ArrayIndexOutOfBoundsException: 2 >= 2 at java.util.Vector.elementAt(Vector.java:474) at javax.swing.plaf.basic.BasicTabbedPaneUI.getTextViewForTab(BasicTabbedPaneUI.java:1706) ...
When I do this, I notice that once the full project context menu appears and I click Run, the blue focus on the project jumps to a completely different project for no reason. Even if the exception is not thrown, this happens. I attached a screenshot showing the exception happening again and you will notice that the focus is on the project called "flags" but the project I right clicked to bring up the context menu to run was the project "jsfreg." The focus jumped to "flags" for no reason. See attached Screenshot.
Created attachment 154534 [details] Screenshot
This looks to be the same exception. I launched a JSP application on Wildfly 9.0 server and the exception started being thrown. If you see attached Screenshot #2, you will see that the Wildfly server node mysteriously appears as a sub node on one of the projects in the Projects Window. See attached logfile #3 Product Version: NetBeans IDE Dev (Build 201507040001) Updates: Updates available Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 154621 [details] Screenshot #2
Created attachment 154622 [details] Logfile #3