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 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: samwang: In SQL Command window, when I click the "SQL History" Button, no any else display, but pop up the report problem window. GUEST: Hitting "SQL-History"-Button in SQL-Command window Stacktrace: java.lang.NumberFormatException: For input string: "09-3-8 ??6:43" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:412) at java.lang.Long.<init>(Long.java:671) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$Handler.startElement(SQLHistoryPersistenceManager.java:489) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1359)
Created attachment 78342 [details] stacktrace
If you are unsure which component to use when filing an issue, please use 'ide' and it will be reassigned for you.
Build: NetBeans IDE 6.5.1 (Build 200903060201) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.16.60-0.34-smp, i386 User Comments: Clicking on SQL-History button in SQL-Command-Window Stacktrace: java.lang.NumberFormatException: For input string: "09.12.08 14:51" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:412) at java.lang.Long.<init>(Long.java:671) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$Handler.startElement(SQLHistoryPersistenceManager.java:489) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1359)
Created attachment 78510 [details] stacktrace
NB6.7 was released already - http://www.netbeans.org/community/releases/67/ Postpone fixing this issue on the next release.
Fixed. http://hg.netbeans.org/core-main/rev/e3516b24f573
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e3516b24f573 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #160514 - Catch NumberFormatException for previously stored date in string format.