Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
12.4
-
None
Description
It's maybe something broken in my user/cache dir, but if I try to create a folder outside of a project I get an NPE
java.lang.NullPointerException: Cannot invoke "org.netbeans.api.project.Project.getLookup()" because "project" is null at org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation(NbProjectInformationProvider.java:56) at org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java:73) at org.netbeans.modules.project.ui.SimpleTargetChooserPanelGUI$GroupCellRenderer.getListCellRendererComponent(SimpleTargetChooserPanelGUI.java:554) at java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1446) at com.formdev.flatlaf.ui.FlatComboBoxUI.getDisplaySize(FlatComboBoxUI.java:508) at java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(BasicComboBoxUI.java:999) at com.formdev.flatlaf.ui.FlatComboBoxUI.getMinimumSize(FlatComboBoxUI.java:485) at java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBoxUI.java:988) at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680) at com.formdev.flatlaf.ui.FlatComboBoxUI$2.layoutContainer(FlatComboBoxUI.java:248) at java.desktop/java.awt.Container.layout(Container.java:1538)
Attachments
Issue Links
- links to