Hello sir,
I am getting the following problem while running
the pollo.bat file of pollo-0.3.5-bin.
Jdk used is jdk1.4
[config] PolloConfiguration: exception parsing the
user configuration file
org.xml.sax.SAXParseException: Premature end of
file.
at
org.apache.xerces.parsers.AbstractSAXParser.parse
(Unknown Source)
at
org.apache.avalon.framework.configuration.Default
ConfigurationBuilder.buildFrom
File(DefaultConfigurationBuilder.java:176)
at
org.outerj.pollo.config.PolloConfigurationFactory.lo
adConfiguration(PolloConfig
urationFactory.java:97)
at org.outerj.pollo.Pollo.run(Pollo.java:59)
at org.outerj.pollo.Pollo.main(Pollo.java:38)
[main] Could not read configuration file, but will
continue to startup anyway
org.outerj.pollo.xmleditor.exception.PolloConfigura
tionException: Exception parsing the us
er configuration file., nested exception is:
org.xml.sax.SAXParseException: Premature end
of file.
at
org.outerj.pollo.config.PolloConfigurationFactory.lo
adConfiguration(PolloConfig
urationFactory.java:104)
at org.outerj.pollo.Pollo.run(Pollo.java:59)
at org.outerj.pollo.Pollo.main(Pollo.java:38)
Exception in thread "main"
java.lang.NullPointerException
at org.outerj.pollo.PolloFrame.<init>
(PolloFrame.java:95)
at org.outerj.pollo.Pollo.run(Pollo.java:76)
at org.outerj.pollo.Pollo.main(Pollo.java:38)
I am unable to tress it out, please help me.
Logged In: YES
user_id=606795
Hi Bruno,
I badly required your help in the above matter.
I am unable to understand why this is giving such error.
Thanks in advance
santosh
Logged In: YES
user_id=155468
It seems to be a bug in Pollo indeed (although the original cause is that
Pollo's configuration file got corrupt one way or the other).
Try deleting the configuration file manually. It is named ".pollorc" and is
located in your home directory.
If you don't know what your 'home directory' is, just search your whole
disk for the file called .pollorc
Logged In: NO
I had the same problem, and I deleted EVERYTHING then
re-installed from scratch, and manually checked my pollo
config file - but it STILL didn't work. I gave up using
pollo because of this (it worked for about 1 day before this
problem happened to me!)
I think there is something wrong with the XML parser? The
Sun JDK 1.4.x SAX parser has several bugs (including ones
that appear to be Sun's fault - I've logged bugs with them
on this).
Usually, if it is a "real" SAX exception, you get a useful
error message telling you what went wrong; usually, if it is
a Sun-should-have-included-their-own exception, you get no
error message and just are told "SAX Exception".