Start a new topic

Executing @export on; without a query causes a NullPointerException

[This topic is migrated from our old forums. The original author name has been removed]

To reproduce: - Connect to any database - Open SQL Commander - Execute the following command: "@export on;" (without quotes) This results in a NullPointerException, and the tab in which it was executed hangs (the progress indicator keeps spinning and no new queries can be executed in it). While experimenting, I found something curious. If you first execute "@export set;" you will get an error from DbVisualizer: +'@export on' must precede '@export set'+. After that, you can execute "@export on;" and it will *not* produce an exception. ----- Product: DbVisualizer Personal 7.0.5 Build: #1497 (2010/03/15 17:28) Java VM: Java HotSpot(TM) Client VM Java Version: 1.6.0_18 Java Vendor: Sun Microsystems Inc. OS Name: Windows XP OS Arch: x86 OS Version: 5.1 ----- An internal error occurred: java.lang.NullPointerException The error may have affected the application state. Please notify vendor. Stack Trace: java.lang.NullPointerException at com.onseven.dbvis.db.A.B.Ą(Z:3523) at com.onseven.dbvis.db.A.B.Ă(Z:3108) at com.onseven.dbvis.D.B$30.ā(Z:1272) at com.onseven.dbvis.R.E$E.ā(Z:169) at com.onseven.dbvis.G.B.R.ā(Z:2787) at com.onseven.dbvis.Z.M.ā(Z:1145) at com.onseven.dbvis.G.B.R.Ă(Z:2221) at com.onseven.dbvis.G.B.X.executionFinished(Z:1281) at com.onseven.dbvis.G.B.J.Ă(Z:2839) at se.pureit.swing.A.O$1.run(Z:3429) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.onseven.dbvis.K.A.U.dispatchEvent(Z:2143) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

[This reply is migrated from our old forums.]

Re: Executing @export on; without a query causes a NullPointerException
Hi Ivan, Thanks for reporting this. It will be fixed in the next maintenance release. Best Regards, Hans
[This reply is migrated from our old forums.]

Re: Executing @export on; without a query causes a NullPointerException
Ivan, This is now fixed in the just released 7.0.6 version. Regards Roger