#869 SQL Editor does not work after 3.1.1 upgrade

closed
Core (462)
9
2010-05-30
2010-05-02
No

Cursor does not move when typing, I type select in the sql editor I get 'tceles'. Space bar does not work.

Discussion

  • Charles Anderson

    • priority: 5 --> 9
     
  • Rob Manning

    Rob Manning - 2010-05-02

    Do you have any exceptions in the log ?

    Rob

     
  • Nobody/Anonymous

    i've the some issue: debug log is:

    ERROR net.sourceforge.squirrel_sql.client.Application - Exception occured dispatching Event java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@a9a1ac,notifier=null,catchExceptions=false,when=1272544874393] on sun.awt.windows.WToolkit@fe64b9
    java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.isColumn(SchemaInfo.java:789)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SqlSyntaxHighlightTokenMatcher.isColumn(SqlSyntaxHighlightTokenMatcher.java:138)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.matchColumn(SQLSyntax.java:998)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.findMatchingTokenID(SQLSyntax.java:881)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.parseToken(SQLSyntax.java:342)
    at org.netbeans.editor.Syntax.nextToken(Syntax.java:173)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1089)
    at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:227)
    at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildren.java:777)
    at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1457)
    at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:225)
    at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:300)
    at org.netbeans.editor.view.spi.LockView.paint(LockView.java:357)
    at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.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)
    2010-04-29 14:41:14,706 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Application - Exception occured dispatching Event java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@a9a1ac,notifier=null,catchExceptions=false,when=1272544874706] on sun.awt.windows.WToolkit@fe64b9
    java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.isColumn(SchemaInfo.java:789)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SqlSyntaxHighlightTokenMatcher.isColumn(SqlSyntaxHighlightTokenMatcher.java:138)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.matchColumn(SQLSyntax.java:998)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.findMatchingTokenID(SQLSyntax.java:881)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.parseToken(SQLSyntax.java:342)
    at org.netbeans.editor.Syntax.nextToken(Syntax.java:173)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1089)
    at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:227)
    at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildren.java:777)
    at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1457)
    at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:225)
    at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:300)
    at org.netbeans.editor.view.spi.LockView.paint(LockView.java:357)
    at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.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)

     
  • Rob Manning

    Rob Manning - 2010-05-03

    Try deleting your <user.home>/.squirrel-sql/schemacaches/*.ser files and restart.

    Rob

     
  • Charles Anderson

    Yes, here are exceptions from the log
    2010-05-03 09:36:44,752 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Application - Exception occured dispatching Event java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@9c2192,notifier=null,catchExceptions=false,when=1272893804752] on sun.awt.windows.WToolkit@fa3ac1
    java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.isColumn(SchemaInfo.java:789)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SqlSyntaxHighlightTokenMatcher.isColumn(SqlSyntaxHighlightTokenMatcher.java:138)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.matchColumn(SQLSyntax.java:998)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.findMatchingTokenID(SQLSyntax.java:881)
    at net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SQLSyntax.parseToken(SQLSyntax.java:342)
    at org.netbeans.editor.Syntax.nextToken(Syntax.java:173)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1089)
    at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:227)
    at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildren.java:777)
    at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1457)
    at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:225)
    at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:300)
    at org.netbeans.editor.view.spi.LockView.paint(LockView.java:357)
    at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1422)
    at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:722)
    at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:869)
    at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:848)
    at javax.swing.JComponent.paintComponent(JComponent.java:763)
    at javax.swing.JComponent.paint(JComponent.java:1027)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1472)
    at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1403)
    at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:293)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
    at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:195)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

     
  • Charles Anderson

    I uninstalled and removed 3.1.1, still had problems until I deleted the cache.

     
  • eagle79

    eagle79 - 2010-05-03

    Probably the same as in mine (id: 2992443)...

    Snapshot 20100501_1706 seems to have fixed the problem.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-05-06

    Hi Rob
    i delete *.ser files from cache as you said and now all seem to works fine.
    Thank you for your support

     
  • Gerd Wagner

    Gerd Wagner - 2010-05-30

    Is fixed according to comments.

     
  • Gerd Wagner

    Gerd Wagner - 2010-05-30
    • status: open --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks