#1044 Error ocured initializing plugin: codecompletion

3.4.0
closed
5
2016-10-04
2012-09-18
Anonymous
No

This exception is thrown every time I try to start SQuirrel.
OS: Windows 7

C:\Users\Renan Almeida>java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

java.lang.RuntimeException: Invalid input: `' (0x0), SystemID='file:.', Line=1
at net.sourceforge.squirrel_sql.plugins.codecompletion.CodeCompletionPlugin.loadPrefs(CodeCompletionPlugin.java:209)
at net.sourceforge.squirrel_sql.plugins.codecompletion.CodeCompletionPlugin.initialize(CodeCompletionPlugin.java:162)
at net.sourceforge.squirrel_sql.client.plugin.PluginManager.initializePlugins(PluginManager.java:576)
at net.sourceforge.squirrel_sql.client.Application.executeStartupTasks(Application.java:763)
at net.sourceforge.squirrel_sql.client.Application.startup(Application.java:222)
at net.sourceforge.squirrel_sql.client.Main$2.run(Main.java:118)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99)
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: Invalid input: `' (0x0), SystemID='file:.', Line=1
at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.java:160)
at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.java:115)
at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.java:84)
at net.sourceforge.squirrel_sql.plugins.codecompletion.CodeCompletionPlugin.loadPrefs(CodeCompletionPlugin.java:196)
... 20 more
Caused by: Invalid input: `' (0x0), SystemID='file:.', Line=1
at net.n3.nanoxml.XMLUtil.errorInvalidInput(Unknown Source)
at net.n3.nanoxml.StdXMLParser.scanData(Unknown Source)
at net.n3.nanoxml.StdXMLParser.parse(Unknown Source)
at net.sourceforge.squirrel_sql.fw.xml.XMLBeanReader.load(XMLBeanReader.java:141)
... 23 more

Discussion

  • Gerd Wagner

    Gerd Wagner - 2012-09-19

    I can not reproduce the bug.

    Please delete the codecompletionprefs.xml file in your SquirreL user settings folder. Then try to start SQuirreL.

    If this fixes the problem please close the bug. If not please add another comment to this bug.

    Gerd

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-21

    Thanks for the answer,that solve my problem.

     
    Last edit: Anonymous 2016-10-07
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-21

    Gerd,

    Thanks for the anwser.
    That's solve the problem. :-)

    I've uploaded the codecompletionprefs.xml... If possible, check it out.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-21
    • status: open --> closed
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-21

    codecompletionprefs.xml has been deleted.

    Hi this helped me.. Today i was getting same error and I deleted
    codecompletionprefs.xml file. Then it worked fine. Thank you Gred Wanger.

     
    Last edit: Anonymous 2015-03-19
    • E H

      E H - 2015-09-13

      May I know where codecompleionprefs.xml is located. Getting same error. Thanks!

       
  • Gerd Wagner

    Gerd Wagner - 2015-09-13

    codecompletionprefs.xml is loacted at
    <user-dir>\plugins\codecompletion\

    To see where <user-dir> is, start SQuirreL and got to menu File --> Global Preferences --> Tab General --> Section "SQuirreL paths"

    Usually <user-dir> is the folder .squirrel-sql in your user home directory.

     
  • E H

    E H - 2015-09-13

    Thank you Gerd.

    Works again after deleting codecompletionprefs.xml.

     
  • MANOJ

    MANOJ - 2016-07-22

    Hi

    I just started to use Squirrel - 3.4, and am facing the same issue. Post installation, there is no file codecompletionprefs.xml under code completion folder.

    And whenever I try to open squirrel sql client, i am receiving the same error.

    Any help under scenarios where codecompletionprefs.xml isn't there will be great.

    Thanks
    Manoj

     
  • Neha Raval

    Neha Raval - 2016-08-23

    Hi,

    I am facing the same issue and I don't have that xml in the said path either. My Squrrel client was working fine until Friday night and has stopped starting up since then with the following error.

    Error occurred initializing plugin: codecompletion

    Please help

    I have uninstalled and reinstalled the latest version of Squirrel squirrel-sql-3.7.1

    Thanks
    Neha

     
  • Anjith Kumar

    Anjith Kumar - 2016-10-04

    Hi,

    Iam also facing the same issue that getting Error occurred initializing plugin: codecompletion

    I have uninstalled and reinstalled V3.7.1 still facing the same issue.

    Please help to sort this.

    Thanks in advance,
    Anjith

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks