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.
Summary: | [50cat] Cannot add additional jar to ant classpath | ||
---|---|---|---|
Product: | projects | Reporter: | vanob <vanob> |
Component: | Ant | Assignee: | Jan Jancura <jjancura> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | claudio4j |
Priority: | P2 | Keywords: | REGRESSION |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
vanob
2005-10-12 10:59:27 UTC
Reproducible. Reassigning to correct module. Better subcomponent. Regression from Beta. Workaround: Place the intended jar files under <NETBEANS-INSTALL-DIR>/ide6/ant/lib fixed in trunk: cvs commit -m "66583 [50cat] Cannot add additional jar to ant classpath\n66604 NPE thrown when c..." -- AntCustomizer.java (in directory C:\Hanz\Dev\trunk\ant\src\org\apache\tools\ant\module\) Checking in AntCustomizer.java; /cvs/ant/src/org/apache/tools/ant/module/AntCustomizer.java,v <-- AntCustomizer.java new revision: 1.13; previous revision: 1.12 done Tested with: JDK 5_05, 200510131600, clean user dir Reproduce the steps provided by bug reporter, at the last "OK" to go back to the Editor, throws: java.lang.NullPointerException at org.apache.tools.ant.module.AntCustomizer.applyChanges(AntCustomizer.java:202) at org.apache.tools.ant.module.AntPanelController.applyChanges(AntPanelController.java:38) at org.netbeans.modules.options.advanced.Model.applyChanges(Model.java:97) at org.netbeans.modules.options.advanced.AdvancedPanel.applyChanges(AdvancedPanel.java:127) at org.netbeans.modules.options.advanced.AdvancedPanelController.applyChanges(AdvancedPanelController.java:40) at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:347) at org.netbeans.modules.options.OptionsWindowAction$OptionsPanelListener.actionPerformed(OptionsWindowAction.java:192) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1064) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) 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:234) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) already fixed in trunk Works fine |