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.
[ BUILD # : 200408221800 ] [ JDK VERSION : J2SE 1.4.2 ] When closing the project properties for a freeform project I got the following exception: java.lang.NullPointerException at org.netbeans.modules.ant.freeform.ui.WebLocationsPanel.getAsFile(WebLocationsPanel.java:290) at org.netbeans.modules.ant.freeform.ui.WebLocationsPanel.getWebModules(WebLocationsPanel.java:251) at org.netbeans.modules.ant.freeform.ui.WebLocationsPanel.storeValues(WebLocationsPanel.java:337) at org.netbeans.modules.ant.freeform.ui.ProjectCustomizer.save(ProjectCustomizer.java:100) at org.netbeans.modules.ant.freeform.ui.ProjectCustomizerProvider$OptionListener.actionPerformed(ProjectCustomizerProvider.java:134) 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)
Reproducible case: 1) Have a freeform WebApp project 2) Project's Properties | Web Sources 3) [optional] do any changes and/or click anywhere in Customizer 4) Press OK 5) EXCEPTION even without any changes/clicking in step 3
For most users it could seem that Project Properties don't work. Raising to P2.
This is Q-build stopper, please fix this in QBE200408241800 branch too.
will look at it
Fixed in trunk. Karle please verify, I'll port it to QBE branch if it works fine. Thanks.
Martine, the fix reintroduced the problem of issue 47386 in web project's properties | Web Sources -- when you create WebProj with Existing Ant Script where the project location is different than sources location, there's ${project.dir}\webroot in the properties. Could you please fix that too, thanks.
The fix did not reintroduce anything - what you mention is a different issue. 47386 was fixed for source folders panel but not for the web panel, so the problem should have been there before. Fixed in trunk anyway - let me know if it works for you. Thanks.
Great, it works now. Could you please merge both fixes to QBE200408241800 branch? Thanks, Karel.
Merged to qbe branch.
Verified.