#882 SQuirrel 3.1.2, Mac: Error ocured during task execution: nul

open
Core (462)
5
2010-06-20
2010-06-20
Anonymous
No

Getting modal dialog window "Error ocured during task execution: null" when clicking on "Help" menu option for first time.

Mac 10.6.4
Squirrel 3.1.2
Java 1.6.0_20

Once the error has been dismissed by pressing "OK", the 2nd level menu items are disabled until focus has been moved to another app and back.

Also: "Ocured" is misspelled. Should be "occurred".

Discussion

  • Rob Manning

    Rob Manning - 2010-06-20

    I was able to reproduce this issue on Mac OS 10.6.3 as well. My log has the following exception in it:

    java.lang.RuntimeException: java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.fw.util.TaskThreadPool$MyCallback$1.run(TaskThreadPool.java:161)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
    at net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
    at net.sourceforge.squirrel_sql.plugins.mssql.MssqlPlugin.iterateIndexes(MssqlPlugin.java:379)
    at net.sourceforge.squirrel_sql.plugins.mssql.MssqlPlugin.access$600(MssqlPlugin.java:72)
    at net.sourceforge.squirrel_sql.plugins.mssql.MssqlPlugin$IteratorIndexesTask.run(MssqlPlugin.java:362)
    at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)
    at java.lang.Thread.run(Thread.java:637)

    I'm curious if the original submitter of this issue had the same exception or maybe was it something else ? Of course I can't reproduce this on Ubuntu, so this is possibly a JVM issue.

    Rob

     
  • Rob Manning

    Rob Manning - 2010-06-20
    • assigned_to: nobody --> manningr
    • labels: --> Core
     
  • Rob Manning

    Rob Manning - 2010-06-20

    Ok, I see the problem. Somehow the "Defragment Index" menu is being accessed in the SQLServer session menu and there is no session, which causes the plugin to throw NPE. Normally this is not an issue on Linux because the entire Session menu is disabled, but with Mac, the Session menu is in the top application bar and for some reason not disabled. It seems unlikely that the exception I get is identical to the posters, but who knows. In any case this should be relatively easy to fix.

    Rob

     

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