Start a new topic

Java Error when accessign history

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

Hi When selecting the SQL history option initially I changed the number of entries to be returned from the default 300 (to 3000 I think). After restarting dbvisualizer I can no longer access the history and now get the following error: ******** An internal error occurred: java.lang.IllegalArgumentException: (minimum = value = maximum) is false The error may have affected the application state. Please notify vendor. Stack Trace: java.lang.IllegalArgumentException: (minimum (Unknown Source) at com.onseven.dbvis.L.B.A.έ(Z:1193) at com.onseven.dbvis.L.B.B.ć(Z:2241) at com.onseven.dbvis.d.L.ɔ(Z:749) at com.onseven.dbvis.d.e.ɜ(Z:2976) at com.onseven.dbvis.d.e.ɩ(Z:117) at com.onseven.dbvis.d.e.(Z:5) at com.onseven.dbvis.d.L.(Z:925) at com.onseven.dbvis.K.A.A.C.(Z:450) at com.onseven.dbvis.E.B.B.(Z:3034) at com.onseven.dbvis.L.B.A.(Z:782) at com.onseven.dbvis.DbVisualizerGUI.ă(Z:2979) at com.onseven.dbvis.DbVisualizerGUI.ă(Z:516) at com.onseven.dbvis.A$26.execute(Z:2171) at se.pureit.swing.Q.F.actionPerformed(Z:1875) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source) at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(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) ******** I am guessing this is something to do with making this change but can't find this setting in any of the configuration files to change it back. (This is on Windows 7 , 64 bit, DBVisualizer 7.0.1 - Have also tried installing 32 bit but get the same error) Thanks Edited by: Liquid on 01-Feb-2010 16:23

[This reply is migrated from our old forums.]

Re: Java Error when accessign history
Hi, This is unfortunately a regression bug introduced in 7.0.1... The workaround is: 1) Open C:\Documents and Settings\.dbvis\config70\dbvis.xml in a text editor 2) Locate: 3000 3) Change it to a number not higher than 1000. 4) Save the file and re-start DbVisualizer. Sorry for the inconvenience. Best Regards Roger
[This reply is migrated from our old forums. The original author name has been removed]

Re: Java Error when accessign history
Thats great - works a treat Thanks for the quick response. p.s. Very much like the updated history / bookmark functionality Edited by: Liquid on 01-Feb-2010 17:52
[This reply is migrated from our old forums.]

Re: Java Error when accessign history
Hi, This is now fixed in 7.0.2. Best Regards Roger