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
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
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thanks for the answer,that solve my problem.
Last edit: Anonymous 2016-10-07
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Gerd,
Thanks for the anwser.
That's solve the problem. :-)
I've uploaded the codecompletionprefs.xml... If possible, check it out.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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
May I know where codecompleionprefs.xml is located. Getting same error. Thanks!
codecompletionprefs.xml is loacted at
<user-dir>\plugins\codecompletion\</user-dir>
To see where <user-dir> is, start SQuirreL and got to menu File --> Global Preferences --> Tab General --> Section "SQuirreL paths"</user-dir>
Usually <user-dir> is the folder .squirrel-sql in your user home directory.</user-dir>
Thank you Gerd.
Works again after deleting codecompletionprefs.xml.
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
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
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
Try deleting complete C:\Users{Username}.squirrel-sql and start using it.