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 201204160400) VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05 OS: Windows 7 User Comments: sunbiz: Save to "Computer", not a folder from the "Save to File" option from a CLOB database field Stacktrace: java.io.FileNotFoundException: ShellFolder: 0x11\a (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(FileOutputStream.java:0) at java.io.FileOutputStream.<init>(FileOutputStream.java:194) at java.io.FileOutputStream.<init>(FileOutputStream.java:145) at org.netbeans.modules.db.dataview.table.celleditor.ClobFieldTableCellEditor.saveLobToFile(ClobFieldTableCellEditor.java:226) at org.netbeans.modules.db.dataview.table.celleditor.ClobFieldTableCellEditor.access$000(ClobFieldTableCellEditor.java:62) at org.netbeans.modules.db.dataview.table.celleditor.ClobFieldTableCellEditor$1.actionPerformed(ClobFieldTableCellEditor.java:119)
Created attachment 118598 [details] stacktrace
Created attachment 118978 [details] proposed patch The attached patch catches the exceptions and displays them to the user in a sane way, instead of rethrowing as RunTimeException. In parallel the exception is logged to the netbeans log in full.
> The attached patch catches the exceptions and displays them to the user in a > sane way, instead of rethrowing as RunTimeException. In parallel the exception > is logged to the netbeans log in full. Integrated as http://hg.netbeans.org/core-main/rev/6060115cd58a Thank you very much, Matthias.
Integrated into 'main-golden', will be available in build *201205110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6060115cd58a User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #211554 - Catch exceptions when reading or saving blob/clob fields