iajn opened a new issue, #7091:
URL: https://github.com/apache/netbeans/issues/7091

   ### Apache NetBeans version
   
   Apache NetBeans 21 release candidate
   
   ### What happened
   
   On the new NetBeans IDE 21 if you end up activating some IDE features via 
Options panel (e.g. by selecting the Java tab, which activates Tools) the IDE 
ends up in a broken state. In this state trying to create e.g. a new Maven 
project fails after selecting the project type, you first get "Configuring java 
cluster" and afterwards it briefly flashes "Activating Java SE" before ending 
up on an empty screen with title "Finding Feature".
   
   Creating a new project (e.g. Maven -> NetBeans Platform application) on a 
fresh installation before accessing any of the options menus circumvents the 
issue and the project is created correctly.
   
   Once the IDE ends up in the broken state it doesn't seem possible to recover 
by restarting the IDE, unless you clear the caches manually first.
   
   I'm using Windows 11, reproduced the issue using both JDK 21 (prepackaged 
with the community installer) and JDK 17 (JetBrains). (Side note, seemed like 
the community installer didn't configure the prepackaged JDK correctly, so I 
added the jdkhome manually to the netbeans.conf file.)
   
   Also tried the standard installer and binary zip, same issue. Cleaned up old 
caches and userdirs between attempts.
   
   On my previous NetBeans installation (20-rc1) the issue doesn't appear.
   
   ### Language / Project Type / NetBeans Component
   
   Java / Maven
   
   ### How to reproduce
   
   After fresh install on Windows 11, access Java options panel before doing 
anything else. Afterwards creating new Maven projects fails.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 20
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   Prepackaged JDK 21.0.2; OpenJDK 64-Bit Server VM 21.0.2+13-LTS
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer, Apache NetBeans binary zip, Third-party 
package
   
   ### Anything else
   
   Here is a log of me opening the IDE, clicking the Java tab in the options 
menu, trying to create a NetBeans Platform Maven project, trying to create an 
empty pom project, and closing the IDE. There are some repeating warnings 
(below) and some error after the system gives up.
   
   WARNING [org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep]: 
There is still wrong iterator 
org.netbeans.modules.ide.ergonomics.newproject.FeatureOnDemandWizardIterator 
for file object 
MultiFileObject@59784d9e[Templates/Project/Maven2/org-netbeans-modules-maven-apisupport-NbmWizardIterator-createNbAppIterator]
   
   
[messages.log](https://github.com/apache/netbeans/files/14363537/messages.log)
   
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to