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: NetBeans IDE Dev (Build 080725) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User comments: 1. Execute statement. 2. Click "SQL History" button. Result: NumberFormatException arises and "SQL History" isn't opened. STACKTRACE: (first 10 lines) java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:468) at java.lang.Integer.parseInt(Integer.java:497) at org.netbeans.modules.db.sql.execute.ui.SQLHistoryPanel.<init>(SQLHistoryPanel.java:124) at org.netbeans.modules.db.sql.loader.SQLCloneableEditor$SQLExecutionImpl$4.run(SQLCloneableEditor.java:584) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
*** Issue 141684 has been marked as a duplicate of this issue. ***
Steps are not correct. Before reopening SQL History, clear the save statements setting.
I see I didn't test with a clean userdir.
8798b062e8ce
Verified with build 080728.