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.
[ JDK VERSION : J2SE 1.4.2_05 ] I get the following error when attempting to 'Browse' for a new 'Web Pages Folder' from the project Properties -> Web Sources menu: java.lang.NullPointerException at org.netbeans.modules.ant.freeform.ui.WebLocationsPanel.jButtonWebActionPerformed(WebLocationsPanel.java:211) at org.netbeans.modules.ant.freeform.ui.WebLocationsPanel.access$000(WebLocationsPanel.java:39) at org.netbeans.modules.ant.freeform.ui.WebLocationsPanel$1.actionPerformed(WebLocationsPanel.java:110) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) A few extra items of note... This project was created from an existing ant script using the wizard. I noticed after creating the project successfully, and opening the 'Project Properties' dialog that many of the paths which had shown up had ${project.dir} substituted in the middle of all of the paths (i.e. C:\dev\Insight\Manager\${project.dir}\web The correct path should have been C:\dev\Insight\Manager\web) I'm unable to delete or change these paths so they are correct.
Created attachment 17050 [details] my log file
Bug in web portion I presume. Re. ${project.dir} - may be a separate bug, in which case please file separately. David may know more about it - possibly already fixed in trunk builds but not in beta 1?
Re. ${project.dir}: it is issue 47744 filed by Jason.
Reproducible in build 200408231800.
It has been already fixed by another fixes. Thanks to Martin.
Verified.