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.
For example try to use file filters in the dialog: Project properties->Linker->Add library
Please evaluate. Probably it is a consequence of resent changes in the file chooser
Also: - Call "Add Existing Item..." wizard - Select some file and call context menu - Select Delete ==> NPE
java.lang.NullPointerException at org.netbeans.modules.remote.api.ui.FileChooserUIImpl.fireSelectedFilesChanged(FileChooserUIImpl.java:1521) at org.netbeans.modules.remote.api.ui.FileChooserUIImpl.access$3500(FileChooserUIImpl.java:165) at org.netbeans.modules.remote.api.ui.FileChooserUIImpl$15.propertyChange(FileChooserUIImpl.java:1662) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at java.awt.Component.firePropertyChange(Component.java:8382) at javax.swing.JFileChooser.setSelectedFiles(JFileChooser.java:524) at org.netbeans.modules.remote.api.ui.FileChooserUIImpl.setSelected(FileChooserUIImpl.java:1763) at org.netbeans.modules.remote.api.ui.FileChooserUIImpl.access$2500(FileChooserUIImpl.java:165) at org.netbeans.modules.remote.api.ui.FileChooserUIImpl$11.run(FileChooserUIImpl.java:1089) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1082) at javax.swing.JFileChooser.showDialog(JFileChooser.java:741) at org.netbeans.modules.remote.api.ui.FileChooserBuilder$LocalFileChooserImpl.showDialog(FileChooserBuilder.java:245) at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:639) at org.netbeans.modules.cnd.makeproject.api.actions.AddExistingItemAction.performAction(AddExistingItemAction.java:143) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586) at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95) at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:583) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
fixed in http://hg.netbeans.org/cnd-main/rev/3c29ff110342 Please verify
As a workaround you can first select file filter and after that re-enter to the directory
Integrated into 'main-golden', will be available in build *201305222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3c29ff110342 User: Maria Tishkova <mromashova@netbeans.org> Log: fixed #230085 - File chooser filters do not work