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.
With Ruby IDE, build 1386. When I try to scan for new plugins, I get following exception thrown: java.lang.NumberFormatException: For input string: "." at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:447) at java.lang.Integer.parseInt(Integer.java:497) at org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.getDigitsInVersion(ArtificialFeaturesProvider.java:207) at org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.addVersion(ArtificialFeaturesProvider.java:159) at org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.createFeatureItem(ArtificialFeaturesProvider.java:148) at org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.getUpdateItems(ArtificialFeaturesProvider.java:127) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:145) at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:73) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:62) at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:76) at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:76) at org.netbeans.modules.autoupdate.ui.PluginManagerUI.refreshUnits(PluginManagerUI.java:369) at org.netbeans.modules.autoupdate.ui.PluginManagerUI.updateUnitsChanged(PluginManagerUI.java:408) at org.netbeans.modules.autoupdate.ui.UnitCategoryTableModel.fireUpdataUnitChange(UnitCategoryTableModel.java:246) at org.netbeans.modules.autoupdate.ui.UnitTab.fireUpdataUnitChange(UnitTab.java:361) at org.netbeans.modules.autoupdate.ui.UnitTab$5$1.run(UnitTab.java:472) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177) at java.awt.Dialog$1.run(Dialog.java:1039) at java.awt.Dialog$3.run(Dialog.java:1091) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1089) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:812) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:846) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:834) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:82) at org.openide.util.Mutex.doEventAccess(Mutex.java:1201) at org.openide.util.Mutex.readAccess(Mutex.java:220) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:819) at java.awt.Component.show(Component.java:1419) at java.awt.Component.setVisible(Component.java:1372) at java.awt.Window.setVisible(Window.java:801) at java.awt.Dialog.setVisible(Dialog.java:979) at org.netbeans.modules.autoupdate.ui.actions.PluginManagerAction.performAction(PluginManagerAction.java:51) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:96) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:92) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Moving to the autoupdate category for further evaluation
By the way, the Ruby IDE referred to is the rubyide zip download from http://deadlock.nbextras.org/hudson/job/ruby/
Wow, pretty quick uptake. I wonder, if you guys are having proper testcases. I am attempting to build netbeans manually now, and see if I can fix these things myself. It looks pretty trivial bug, someone is trying to convert invalid string to integer I suppose. Sorry for stating the obvious, but how does this goes through the Q/A process?
Reproduced w/ Product Version = NetBeans Ruby IDE 070601 Operating System = Linux version 2.6.20-15-386 running on i386 Java; VM; Vendor; Home = 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02; Sun Microsystems Inc.; /space/shared/java/jdk1.6.0_02/jre
Fixed. The problem appeared only when assertions are switch off. Wrong usage of assert was fixed. Thanks for report. Checking in ArtificialFeaturesProvider.java; /shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/updateprovider/ArtificialFeaturesProvider.java,v <-- ArtificialFeaturesProvider.java new revision: 1.5; previous revision: 1.4 done