Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#970 cannot install any plugin on mac

3.2.1
open
Rob Manning
Installer (22)
5
2012-12-29
2011-04-05
Kerstin Klein
No

I tried to install SquirrelSQL on my mac, and followed the instructions as described. When clicking on any of the checkboxes for the plugins an exception is thrown (pasted below). I tried and experienced the same with version 3.2.0 and 3.1.2. In the documentation I did not find an alternative way described how to install plugins manually or how to do a headless install.

Thanks for your help.

mac os: 10.6.7
desired addons (for now) MySQL and Oracle

$ java -jar squirrel-sql-3.2.1-MacOSX-install.jar
java.lang.NullPointerException
at com.izforge.izpack.panels.PacksPanelBase$CheckBoxRenderer.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:6982)
at apple.awt.CAccessibility$22.call(CAccessibility.java:389)
at apple.awt.CAccessibility$22.call(CAccessibility.java:368)
at apple.awt.CToolkit$CallableWrapper.run(CToolkit.java:1110)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at apple.awt.CToolkit$CPeerEvent.dispatch(CToolkit.java:1200)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:648)
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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.izforge.izpack.panels.PacksPanelBase$CheckBoxRenderer.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7023)
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7410)
at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6923)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(DefaultListSelectionModel.java:559)
at javax.swing.DefaultListSelectionModel.clearSelection(DefaultListSelectionModel.java:403)
at javax.swing.JTable.clearSelection(JTable.java:2080)
at javax.swing.JTable.clearSelectionAndLeadAnchor(JTable.java:2088)
at javax.swing.JTable.tableChanged(JTable.java:4433)
at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
at javax.swing.table.AbstractTableModel.fireTableDataChanged(AbstractTableModel.java:182)
at com.izforge.izpack.panels.PacksModel.setValueAt(Unknown Source)
at com.izforge.izpack.panels.PacksPanelBase$1.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.Component.processMouseEvent(Component.java:6377)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6139)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4736)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4291)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4566)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:653)
at java.awt.EventQueue$2.run(EventQueue.java:651)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
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)

Discussion

  • Rob Manning
    Rob Manning
    2011-04-05

    Kerstin,

    While you are waiting for this to get fixed, try this: install just the base and standard packages (none of the optional plugins), then launch SQuirreL and go to Help -> "Software Update" -> "Check". In the table dialog that is displayed, you can select "Install" as the "Action" for any of the plugin artifacts. Restart and apply the updates, and the plugins you selected should be installed. I'll look into the issue with the installer on Mac OS X soon. What version of Mac OS X are you running ? Also, what version of Java (from a terminal window, run 'java -version' )

    Rob

     
  • Rob Manning
    Rob Manning
    2011-04-09

    I am not able to reproduce this. I can select every plugin and translation and the install goes without errors. Tell me, what do you get when you run the following command:

    java -version

    Rob

     
  • Kerstin Klein
    Kerstin Klein
    2011-04-09

    Thanks for the reply. I tried what you suggested and tried to install the plugins via software update. now the application looks different (no mac menu anymore) but addons are not installed i got a couple of error messages in the log while doing it, i copied these at the end of this comment. i also checked the version of java and macos.
    $ java -version
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
    $ uname -a
    Darwin kang.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
    $ sw_vers
    ProductName: Mac OS X
    ProductVersion: 10.6.7
    BuildVersion: 10J869

    2011-04-09 09:08:02,679 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.gui.SquirrelSplashScreen - No SplashScreen availabe
    java.lang.NullPointerException: No SplashScreen availabe. Please check VM parameter -splash:
    at net.sourceforge.squirrel_sql.client.gui.SquirrelSplashScreen.<init>(SquirrelSplashScreen.java:41)
    at net.sourceforge.squirrel_sql.client.Application.startup(Application.java:206)
    at net.sourceforge.squirrel_sql.client.Main$2.run(Main.java:111)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
    at java.awt.EventQueue.access$000(EventQueue.java:86)
    at java.awt.EventQueue$1.run(EventQueue.java:639)
    at java.awt.EventQueue$1.run(EventQueue.java:637)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:648)
    at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:93)
    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)
    <snip>2011-04-09 09:10:08,973 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (codecompletion-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/codecompletion-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/codecompletion-assembly.jar
    <snip - for ca 15 plugin same error message>
    2011-04-09 09:10:16,308 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - installFiles: unexpected exception: invalid block type
    java.util.zip.ZipException: invalid block type
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
    at java.util.zip.ZipInputStream.read(ZipInputStream.java:154)
    at net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.extractZipFile(UpdateUtilImpl.java:823)
    at net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl.installFile(ArtifactInstallerImpl.java:699)
    at net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl.installFiles(ArtifactInstallerImpl.java:676)
    at net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl.installFiles(ArtifactInstallerImpl.java:348)
    at net.sourceforge.squirrel_sql.client.update.gui.installer.PreLaunchHelperImpl$1.run(PreLaunchHelperImpl.java:383)
    at java.lang.Thread.run(Thread.java:680)
    2011-04-09 09:10:18,145 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.plugins.laf.LAFRegister - Error occured trying to load Look and Feel classes
    java.lang.ClassNotFoundException: net.sourceforge.napkinlaf.NapkinLookAndFeel
    <snip - same stack trace for all themes>
    2011-04-09 09:20:11,940 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - installFiles: unexpected exception: /Applications/SQuirreLSQL.app/Contents/Resources/Java/update/downloads/plugin/firebirdmanager-assembly.zip (No such file or directory)
    java.io.FileNotFoundException: /Applications/SQuirreLSQL.app/Contents/Resources/Java/update/downloads/plugin/firebirdmanager-assembly.zip (No such file or directory)
    <snip>
    2011-04-09 09:20:35,447 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Main - Exception occured dispatching Event java.awt.event.MouseEvent[MOUSE_RELEASED,(475,52),absolute(867,236),button=1,modifiers=Button1,clickCount=1] on dialog2
    java.lang.IndexOutOfBoundsException: Index: 72, Size: 72
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at net.sourceforge.squirrel_sql.client.update.gui.UpdateSummaryTableModel.getValueAt(UpdateSummaryTableModel.java:77)
    at net.sourceforge.squirrel_sql.fw.gui.SortableTableModel.getValueAt(SortableTableModel.java:122)
    at net.sourceforge.squirrel_sql.fw.gui.SortableTableModel$TableModelComparator.compare(SortableTableModel.java:360)
    at net.sourceforge.squirrel_sql.fw.gui.SortableTableModel$TableModelComparator.compare(SortableTableModel.java:317)
    at java.util.Arrays.mergeSort(Arrays.java:1270)
    <snip>
    2011-04-09 09:21:25,237 [ArtifactDownloadThread] ERROR net.sourceforge.squirrel_sql.client.update.downloader.ArtifactDownloaderImpl - run: encountered exception while attempting to download file (/updates/stable/plugin/laf-assembly.zip): Attempt to get file contents from url (http://www.squirrel-sql.net/updates/stable/plugin/laf-assembly.zip) resulted in 4816234 bytes downloaded, but 4816220 bytes were expected.
    java.lang.Exception: Attempt to get file contents from url (http://www.squirrel-sql.net/updates/stable/plugin/laf-assembly.zip) resulted in 4816234 bytes downloaded, but 4816220 bytes were expected.
    at net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.verifySize(UpdateUtilImpl.java:953)
    at net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:876)
    at net.sourceforge.squirrel_sql.client.update.downloader.ArtifactDownloaderImpl.attemptFileDownload(ArtifactDownloaderImpl.java:230)
    at net.sourceforge.squirrel_sql.client.update.downloader.ArtifactDownloaderImpl.run(ArtifactDownloaderImpl.java:146)
    at java.lang.Thread.run(Thread.java:680)
    <snip - this error message repeats>

     
  • Rob Manning
    Rob Manning
    2011-04-10

    There was an issue with the update site. I think I have fixed it. Here is how I would suggest that you proceed.
    Remove the folder /Applications/SQuirreLSQL.app entirely (don't worry, your settings will be preserved). Re-install using the 3.2.1 macos install jar and don't select any checkboxes when it comes time to choose plugins. Launch SQuirreL and immediately go to the software update section and check for updates. It should tell you that you have the most recent changes and then present you with a table of plugins and translations to install. Select the desired plugin(s), and click Apply changes. Then restart and you should be prompted to install updates. Allow the updates to be installed and then SQuirreL will re-launch. Let me know the outcome of these steps.

    Rob

     
  • Kerstin Klein
    Kerstin Klein
    2011-04-10

    Thanks. I followed your instructions - and to make it easy I selected "All Plugins" In the install screen. There was a progress bar and after I restarted it a few plugins were installed. Now I particularly selected the oracle and mysql plugins I desire, waited for the download and restarted again - still no luck - the plugins are not installed.

    I see a couple of errors in the logfile (copied).

    2011-04-09 23:37:40,295 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (codecompletion-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/codecompletion-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/codecompletion-assembly.jar
    2011-04-09 23:37:40,354 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (sqlscript-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/sqlscript-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/sqlscript-assembly.jar
    2011-04-09 23:37:40,408 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (sqlbookmark-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/sqlbookmark-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/sqlbookmark-assembly.jar
    2011-04-09 23:37:40,482 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (graph-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/graph-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/graph-assembly.jar
    2011-04-09 23:37:40,551 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (syntax-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/syntax-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/syntax-assembly.jar
    2011-04-09 23:37:40,619 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (editextras-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/editextras-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/editextras-assembly.jar

    2011-04-09 23:38:09,755 [Thread-7] ERROR net.sourceforge.squirrel_sql.fw.util.TaskThreadPool - Error
    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:680)

    2011-04-09 23:38:25,561 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Main - Exception occured dispatching Event java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=net.sourceforge.squirrel_sql.fw.util.TaskThreadPool$MyCallback$1@14a2da07,notifier=null,catchExceptions=false,when=1302417503814] on apple.awt.CToolkit@21aac775
    java.lang.RuntimeException: java.lang.NullPointerException

    2011-04-09 23:38:48,645 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Main - Exception occured dispatching Event java.awt.event.MouseEvent[MOUSE_RELEASED,(427,59),absolute(819,243),button=1,modifiers=Button1,clickCount=1] on dialog2
    java.lang.IndexOutOfBoundsException: Index: 72, Size: 72

    2011-04-09 23:42:21,098 [Update Installer Thread] ERROR net.sourceforge.squirrel_sql.client.update.gui.installer.ArtifactInstallerImpl - Plugin (dbdiff-assembly.zip) was listed as already installed, but it's files didn't exist and couldn't be backed up: pluginDirectoryFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/dbdiff-assembly pluginJarFile=/Applications/SQuirreLSQL.app/Contents/Resources/Java/plugins/dbdiff-assembly.jar

     
  • Rob Manning
    Rob Manning
    2011-04-10

    Yes, it does appear that at least the MSSQL plugin was installed as there is some bug with the way it is installing it's action (only on Mac OS X) to iterate over indexes. So, when you list the plugins that are installed using the menu "Plugins" -> "Summary", do you see all of the plugins listed you installed using the update feature there ?

    Rob

     
  • I am experiencing a similar issue, with 3.2.1 and the latest snapshot, but on Windows XP Pro SP3.

    I installed new (after uninstalling and deleting the program and users folder) with various plugins, including MySQL and MSSQL, so let's use these two as examples.

    On first load, in SQuirreL > Plugins > Summary, it says MySQL and MSSQL are loaded. Good.

    When I do an update check, it says that neither of them are installed. I'm not sure why this is so just select to install them and apply changes.

    Now when I reload SQuirreL, neither plugin is loaded, though they both appear in the plugins folder, and of course SQuirreL update check still says they are not installed.

    The only way to get them back that I've found is to either...
    - uninstall SQuirreL and annihilate the program and users folder (the uninstaller does not even touch the users folder) or
    - manually download and extract each plugin, which have remarkably different file sizes but identical change logs (for MySQL anyway)

    ...so I cannot use update check to install plugins or else have to do this all again.

    And neither plugin even has a driver, but that is a usability issue.