#964 find and replace don't work

snapshot
closed
Rob Manning
5
2011-03-10
2011-03-08
ivo
No

From Snapshot-20110213_1923 I'm experiencing the following problem: find and replace functions of SQL editor don't work.

Log file says:
java.lang.NoClassDefFoundError: net/sourceforge/squirrel_sql/plugins/syntax/rsyntax/search/SquirrelFindDialog (or SquirrelReplaceDialog)
but SquirrelFindDialog class exists and is in classpath: the real problem is that
org.fife.ui.EscapableDialog.class
org.fife.ui.search.ReplaceDialog.class
org.fife.ui.search.FindDialog.class
and maybe other classes are missing.

As a matter of fact, log first lines after starting SQuirreL are reporting following information:
[AWT-EventQueue-1] INFO net.sourceforge.squirrel_sql.client.plugin.PluginManager - Failed to load net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.search.SquirrelGoToDialog in C:\Program Files\SQuirreL SQL Client\plugins\syntax.jar to check if it is assignable to net.sourceforge.squirrel_sql.client.plugin.IPlugin. Reason: java.lang.NoClassDefFoundError: org/fife/ui/EscapableDialog
[AWT-EventQueue-1] INFO net.sourceforge.squirrel_sql.client.plugin.PluginManager - Failed to load net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.search.SquirrelFindDialog in C:\Program Files\SQuirreL SQL Client\plugins\syntax.jar to check if it is assignable to net.sourceforge.squirrel_sql.client.plugin.IPlugin. Reason: java.lang.NoClassDefFoundError: org/fife/ui/EscapableDialog
[AWT-EventQueue-1] INFO net.sourceforge.squirrel_sql.client.plugin.PluginManager - Failed to load net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.search.SquirrelReplaceDialog in C:\Program Files\SQuirreL SQL Client\plugins\syntax.jar to check if it is assignable to net.sourceforge.squirrel_sql.client.plugin.IPlugin. Reason: java.lang.NoClassDefFoundError: org/fife/ui/EscapableDialog

Maybe too much housekeeping in the lib folder?
I note that the above classes are contained in previous versions of the common.jar.

A further brief comment: imho, the severity of these (kind of) log lines is misleading: this failure should be signaled with a warning or error level.

I hope it helps

Thank you in advance
Ivo

Discussion

  • Rob Manning
    Rob Manning
    2011-03-09

    • assigned_to: colbell --> manningr
     
  • Rob Manning
    Rob Manning
    2011-03-09

    I found the problem and a new snapshot that fixes it will be available soon.

    Rob

     
  • ivo
    ivo
    2011-03-10

    Hi Rob
    I confirm: problem solved
    Thank you
    Ivo

     
  • ivo
    ivo
    2011-03-10

    • status: open --> closed