[ 
https://issues.apache.org/jira/browse/NETBEANS-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537247#comment-16537247
 ] 

Geertjan Wielenga commented on NETBEANS-1031:
---------------------------------------------

Can you also reproduce this with an empty project or a smaller project of some 
kind? For me, I do need more instructions to be able to reproduce this, e.g, 
what is "trying to add a new Java Platform" -- i.e., what Java platform, how 
are you trying to add it, what steps are you taking. I would love to reproduce 
this, but your help, clarity, and sample project are needed. I cannot reproduce 
it otherwise.

> Exception after adding a Java Platform
> --------------------------------------
>
>                 Key: NETBEANS-1031
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1031
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - UI
>    Affects Versions: 9.0
>         Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-302-on-20180517)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_DE (nb)
>            Reporter: Thomas Kellerer
>            Priority: Major
>
> I started NetBeans 9.0 (VC3) with an empty user dir (using Java 10)
> Then opened a Maven Project which is configured to use Java 8. 
> When trying to add a new Java Platform the following exception occurred:
> {noformat}
> java.lang.IllegalArgumentException
>       at org.openide.util.Union2$Union2Second.first(Union2.java:150)
>       at 
> org.netbeans.modules.maven.customizer.SourcesPanel$SourceLevelComboBoxModel.getSourceLevels(SourcesPanel.java:476)
>       at 
> org.netbeans.modules.maven.customizer.SourcesPanel$SourceLevelComboBoxModel.getSize(SourcesPanel.java:431)
>       at 
> org.netbeans.modules.maven.customizer.SourcesPanel$SourceLevelComboBoxModel.resetCache(SourcesPanel.java:470)
>       at 
> org.netbeans.modules.maven.customizer.SourcesPanel$SourceLevelComboBoxModel.contentsChanged(SourcesPanel.java:463)
>       at 
> java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:123)
>       at 
> org.netbeans.modules.maven.customizer.CompilePanel$PlatformsModel.propertyChange(CompilePanel.java:593)
>       at 
> org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:190)
>       at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
>       at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
>       at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
>       at 
> org.netbeans.api.java.platform.JavaPlatformManager.firePropertyChange(JavaPlatformManager.java:155)
>       at 
> org.netbeans.api.java.platform.JavaPlatformManager.access$100(JavaPlatformManager.java:49)
>       at 
> org.netbeans.api.java.platform.JavaPlatformManager$2.propertyChange(JavaPlatformManager.java:213)
>       at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
>       at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
>       at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
>       at 
> org.netbeans.modules.java.platform.DefaultJavaPlatformProvider.firePropertyChange(DefaultJavaPlatformProvider.java:156)
>       at 
> org.netbeans.modules.java.platform.DefaultJavaPlatformProvider.fileChanged(DefaultJavaPlatformProvider.java:138)
> [catch] at 
> org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:153)
>       at 
> org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:199)
>       at 
> org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:112)
>       at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:80)
>       at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1373)
>       at 
> org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:188)
>       at 
> org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:163)
>       at 
> org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:104)
>       at 
> org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
>       at 
> org.netbeans.modules.java.j2seplatform.platformdefinition.PlatformConvertor.create(PlatformConvertor.java:394)
>       at 
> org.netbeans.modules.java.j2seplatform.platformdefinition.PlatformConvertor.create(PlatformConvertor.java:288)
>       at 
> org.netbeans.modules.java.j2seplatform.wizard.J2SEWizardIterator.instantiate(J2SEWizardIterator.java:122)
>       at 
> org.netbeans.modules.java.platform.wizard.PlatformInstallIterator.instantiate(PlatformInstallIterator.java:196)
>       at 
> org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
>       at 
> org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
>       at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
>       at 
> org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
>       at 
> org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:2291)
>       at org.openide.WizardDescriptor$11$1.run(WizardDescriptor.java:1453)
>       at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>       at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
>       at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
>       at 
> org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1060)
>       at 
> org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1110)
>       at 
> org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1082)
>       at 
> org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:105)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133)
>       at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>       at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
>       at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
>       at 
> org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1060)
>       at 
> org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1110)
>       at 
> org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1082)
>       at 
> org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:105)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:115)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:75)
>       at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:71)
>       at org.openide.util.Mutex.readAccess(Mutex.java:193)
>       at 
> org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1067)
>       at java.desktop/java.awt.Component.show(Component.java:1674)
>       at java.desktop/java.awt.Component.setVisible(Component.java:1621)
>       at java.desktop/java.awt.Window.setVisible(Window.java:1031)
>       at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
>       at 
> org.netbeans.api.java.platform.PlatformsCustomizer.showCustomizer(PlatformsCustomizer.java:50)
>       at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizerAction.actionPerformed(PlatformsCustomizerAction.java:32)
>       at 
> org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:174)
>       at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>       at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>       at 
> org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>       at 
> org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:177)
>       at 
> java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
>       at 
> java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
>       at 
> java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
>       at 
> java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
>       at 
> java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1024)
>       at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6589)
>       at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
>       at java.desktop/java.awt.Component.processEvent(Component.java:6354)
>       at java.desktop/java.awt.Container.processEvent(Container.java:2261)
>       at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
>       at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
>       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>       at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914)
>       at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
>       at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
>       at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305)
>       at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
>       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
>       at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
>       at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
>       at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>       at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {noformat}
> The Java platform was added nevertheless.
> When I then select the "Sources" section of the project properties, the 
> following (very similar) exception occurred
> {noformat}
> java.lang.IllegalArgumentException
>       at org.openide.util.Union2$Union2Second.first(Union2.java:150)
>       at 
> org.netbeans.modules.maven.customizer.SourcesPanel$SourceLevelComboBoxModel.getSourceLevels(SourcesPanel.java:476)
>       at 
> org.netbeans.modules.maven.customizer.SourcesPanel$SourceLevelComboBoxModel.getSize(SourcesPanel.java:431)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1395)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(BasicComboBoxUI.java:959)
>       at 
> java.desktop/com.sun.java.swing.plaf.windows.WindowsComboBoxUI.getMinimumSize(WindowsComboBoxUI.java:340)
>       at 
> java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBoxUI.java:948)
>       at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>       at 
> java.desktop/java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1127)
>       at 
> java.desktop/java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:922)
>       at 
> java.desktop/java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:742)
>       at java.desktop/java.awt.Container.preferredSize(Container.java:1821)
>       at java.desktop/java.awt.Container.getPreferredSize(Container.java:1805)
>       at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1682)
>       at 
> java.desktop/javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedPreferredSize(GroupLayout.java:3022)
>       at 
> java.desktop/javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize(GroupLayout.java:3008)
>       at 
> java.desktop/javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(GroupLayout.java:2975)
>       at 
> java.desktop/javax.swing.GroupLayout$Spring.getMinimumSize(GroupLayout.java:1339)
>       at 
> java.desktop/javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(GroupLayout.java:2982)
>       at 
> java.desktop/javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1349)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.getSpringSize(GroupLayout.java:1641)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.calculateSize(GroupLayout.java:1630)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.calculatePreferredSize(GroupLayout.java:1605)
>       at 
> java.desktop/javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1349)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.getSpringSize(GroupLayout.java:1641)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.calculateSize(GroupLayout.java:1625)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.calculatePreferredSize(GroupLayout.java:1605)
>       at 
> java.desktop/javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1349)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.getSpringSize(GroupLayout.java:1641)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.calculateSize(GroupLayout.java:1625)
>       at 
> java.desktop/javax.swing.GroupLayout$Group.calculatePreferredSize(GroupLayout.java:1605)
>       at 
> java.desktop/javax.swing.GroupLayout$Spring.getPreferredSize(GroupLayout.java:1349)
>       at 
> java.desktop/javax.swing.GroupLayout.calculateAutopadding(GroupLayout.java:1075)
>       at java.desktop/javax.swing.GroupLayout.prepare(GroupLayout.java:1063)
>       at 
> java.desktop/javax.swing.GroupLayout.preferredLayoutSize(GroupLayout.java:882)
>       at java.desktop/java.awt.Container.preferredSize(Container.java:1821)
>       at java.desktop/java.awt.Container.getPreferredSize(Container.java:1805)
>       at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1682)
>       at 
> java.desktop/java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1127)
>       at 
> java.desktop/java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:922)
>       at 
> java.desktop/java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:742)
>       at java.desktop/java.awt.Container.preferredSize(Container.java:1821)
>       at java.desktop/java.awt.Container.getPreferredSize(Container.java:1805)
>       at 
> java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1682)
>       at 
> java.desktop/java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1127)
>       at 
> java.desktop/java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:922)
>       at 
> java.desktop/java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:2090)
>       at 
> java.desktop/java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:2050)
>       at 
> java.desktop/java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:818)
>       at java.desktop/java.awt.Container.layout(Container.java:1535)
>       at java.desktop/java.awt.Container.doLayout(Container.java:1524)
>       at java.desktop/java.awt.Container.validateTree(Container.java:1720)
>       at java.desktop/java.awt.Container.validateTree(Container.java:1729)
>       at java.desktop/java.awt.Container.validateTree(Container.java:1729)
>       at java.desktop/java.awt.Container.validateTree(Container.java:1729)
>       at java.desktop/java.awt.Container.validate(Container.java:1655)
>       at 
> java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:737)
>       at 
> java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:735)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at 
> java.desktop/javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:734)
>       at 
> java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1879)
>       at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>       at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
>       at 
> java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
>       at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
>       at 
> org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1060)
>       at 
> org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1110)
>       at 
> org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1082)
>       at 
> org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:105)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:115)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:75)
>       at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:71)
>       at org.openide.util.Mutex.readAccess(Mutex.java:193)
>       at 
> org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1067)
>       at java.desktop/java.awt.Component.show(Component.java:1674)
>       at java.desktop/java.awt.Component.setVisible(Component.java:1621)
>       at java.desktop/java.awt.Window.setVisible(Window.java:1031)
>       at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:166)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>       at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>       at org.openide.util.Mutex.readAccess(Mutex.java:235)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
>       at 
> org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
>       at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>       at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>       at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {noformat}
> After changing the JDK in the "Compile" secion, I could successfully open the 
> "Sources" section. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to