#783 SQuirreL SQL Client 3.0.2 donot open

3.0.1
open
Unknown (89)
5
2012-12-29
2009-07-31
No

My version of OS is

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

When I start SQuirreL SQL Client 3.0.2 the splat screen showsup and disappears. Please help me fixing it. Also I tried the same on Ubuntu 9.04 same case with it. The client window donot appear. SQuirreL SQL Client 2.3 is working fine and I can't able to enjoy the new functionality of 3.0.2.

Please help.

Regards,

Swaroop Kunduru.

Discussion

  • Swaroop Kunduru

    Swaroop Kunduru - 2009-07-31

    I started reinstall I got this error below.

    java -jar C:\Personal\Downloads\SqurrelSQL\squi
    rrel-sql-3.0.2-install.jar
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
    41
    at sun.font.FontDesignMetrics.charsWidth(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.PlainView.viewToModel(Unknown Source)
    at javax.swing.text.FieldView.viewToModel(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(Unknown Sourc
    e)
    at javax.swing.plaf.basic.BasicTextUI.viewToModel(Unknown Source)
    at javax.swing.text.DefaultCaret.moveCaret(Unknown Source)
    at javax.swing.text.DefaultCaret.mouseDragged(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.Component.processMouseMotionEvent(Unknown Source)
    at javax.swing.JComponent.processMouseMotionEvent(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 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)

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-07-31

    java -jar C:\Personal\Downloads\SqurrelSQL\squi
    rrel-sql-3.0.2-install.jar
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
    41
    at sun.font.FontDesignMetrics.charsWidth(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.PlainView.viewToModel(Unknown Source)
    at javax.swing.text.FieldView.viewToModel(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(Unknown Sourc
    e)
    at javax.swing.plaf.basic.BasicTextUI.viewToModel(Unknown Source)
    at javax.swing.text.DefaultCaret.moveCaret(Unknown Source)
    at javax.swing.text.DefaultCaret.mouseDragged(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.Component.processMouseMotionEvent(Unknown Source)
    at javax.swing.JComponent.processMouseMotionEvent(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 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)

     
  • Johnathan James

    Johnathan James - 2009-08-04

    Do you have any problems running other Java apps? What version of Java are you running?

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-08-04

    Hi Haxwell ,

    Other java applications are O.K. I did not work on GUI so I don't know about Swing or AWT. Here is the version of java I am using in my system.

    C:\Documents and Settings\swroop.kunduru>java -version
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)

    Regards,
    Swaroop Kunduru.

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-08-04

    Squirrel SQL 2.3 rc2 I am using with java 1.6 works without any problrm.

    Regardss.

    Swaroop Kunduru.

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-08-05

    I tested on a friends windows vista m/c. It works fine with the same java 1.6.0_10.

    Regards,

    Swaroop Kunduru.

     
  • Johnathan James

    Johnathan James - 2009-08-05

    The stack traces you posted below say

    java -jar C:\Personal\Downloads\SqurrelSQL\squirrel-sql-3.0.2-install.jar

    Are you attempting the install and then the error occurs? Or has the install successfully completed, then once you run the application, you get the error?

    Also, there is a 'Plain ZIP format' of Squirrel that you can download from www.squirrelsql.org. There is no installation process with that version.

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-08-05

    Sorry,

    That was an error while installing. I don't how it was fixed. The first error I posted was installetion error.

    I could able to install the application and trying to run squirrel-sql.bat it opens a splat screen and it disappears immediatly.

    I redirected the bat process to a text file where it just print "SQUIRREL_CP= and classpath"

    It is the same with the plain zip format too. Do you have any Idea how to make it to run?

    Regards,

    Swaroop Kunduru.

     
  • Johnathan James

    Johnathan James - 2009-08-05

    Upon inspection of the squirrel-sql.bat file, I see that there is an echo statement that prints the Squirrel Classpath (SQUIRREL_CP). But it seems the default command used to start SQuirreL is not working.. obviously. :)

    Are you comfortable editing BAT files?

    There are several examples of commands to be used to start the application depending on specific features you want. Can you try these? Starting with the line:

    ......
    @rem Run with a command window.
    ......

    there are five examples of commands. The fourth example is likely the one that is failing for you. You can tell because it has no @rem in front of it.. try adding it (@rem) to the line it is currently missing from and them removing it from each example, one at a time, saving in between, and see if any of those help you.

    Hope that was clear. If not, now might be a good time to google windows batch files :)

    If they do work, of course that is no permanent solution for you, but it'll get the app started for you, and tell us something about what is wrong.

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-08-06

    C:\bea\dev\SQuirreL3.0.2 ZIP\SQuirreL SQL Client>java -jar squirrel-sql.jar >> t
    est1.txt
    Exception in thread "main" java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
    at net.sourceforge.squirrel_sql.fw.gui.GUIUtils.processOnSwingEventThrea
    d(GUIUtils.java:350)
    at net.sourceforge.squirrel_sql.client.gui.WindowManager.<init>(WindowMa
    nager.java:161)
    at net.sourceforge.squirrel_sql.client.Application.executeStartupTasks(A
    pplication.java:753)
    at net.sourceforge.squirrel_sql.client.Application.startup(Application.j
    ava:246)
    at net.sourceforge.squirrel_sql.client.Main.main(Main.java:60)
    Caused by: java.lang.RuntimeException: java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.client.gui.db.JTreeAliasesListImpl.initT
    ree(JTreeAliasesListImpl.java:233)
    at net.sourceforge.squirrel_sql.client.gui.db.JTreeAliasesListImpl.<init
    >(JTreeAliasesListImpl.java:101)
    at net.sourceforge.squirrel_sql.client.gui.db.AliasesList.<init>(Aliases
    List.java:44)
    at net.sourceforge.squirrel_sql.client.gui.WindowManager.createAliasesLi
    stUI(WindowManager.java:877)
    at net.sourceforge.squirrel_sql.client.gui.WindowManager.initialize(Wind
    owManager.java:861)
    at net.sourceforge.squirrel_sql.client.gui.WindowManager.access$200(Wind
    owManager.java:77)
    at net.sourceforge.squirrel_sql.client.gui.WindowManager$1.run(WindowMan
    ager.java:165)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Appli
    cation.java:195)
    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)
    Caused by: java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.
    java:149)
    at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.
    java:110)
    at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.
    java:87)
    at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.
    java:77)
    at net.sourceforge.squirrel_sql.client.gui.db.JTreeAliasesListImpl.initT
    ree(JTreeAliasesListImpl.java:217)
    ... 15 more
    Caused by: java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.
    java:137)
    ... 19 more

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-08-06

    I tried all examples.

    One with LOCAL_JAVA is giving the exception I captured. Others just disappear. Please copy past the link in another browser. I given the link because I cannot attach the attachments.

    Regards,

    Swaroop Kunduru.

     
  • Nobody/Anonymous

    It seems the waters are getting muddied a bit.. counting the original exceptions you posted, there are at least three individual cases now.. BTW, the blog link you posted is saying the page is private..

    The InvocationException is occurring is likely bombing in ...client.gui.WindowManager.initialize(). I think the only way to truly solve this would be to add some System.Out.Println's and see what output you get. I am not yet ready to do that though (time constraints)..

    Would one of the main developers care to comment on this? Please? :)

     
  • Swaroop Kunduru

    Swaroop Kunduru - 2009-09-04

    That blog said to delete ".squirrel-sql" folder in C:\Documents and Settings\swroop.kunduru\ that worked for me.

    I think that is the solution for it.

    Thankyou every one who helped me.

    Regards,

    Swaroop Kunduru.

     
  • Nobody/Anonymous

    S0892R <a href="http://mseozrnqcflh.com/">mseozrnqcflh</a>, [url=http://omphlafirrlk.com/]omphlafirrlk[/url], [link=http://bjniidmcmskj.com/]bjniidmcmskj[/link], http://avcggibhbuyh.com/

     
  • Nobody/Anonymous

    fG7NVx <a href="http://sgvmjgnbncca.com/">sgvmjgnbncca</a>, [url=http://odgyycbwcyqp.com/]odgyycbwcyqp[/url], [link=http://cqyfvhzjbkjb.com/]cqyfvhzjbkjb[/link], http://bbnmlbylauro.com/

     
  • Nobody/Anonymous

    xoHPZg <a href="http://gumpoxfbsfqp.com/">gumpoxfbsfqp</a>, [url=http://jlsryssauamp.com/]jlsryssauamp[/url], [link=http://bnzcnihgfrjm.com/]bnzcnihgfrjm[/link], http://rtikomrakamf.com/

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks