Re: Problem, when calling Pollo
Bruno Dumon <[email protected]> Mon, 25 Aug 2003 21:28:58 +0200
| Newsgroups | gmane.editors.pollo.devel |
|---|---|
| Organization | Outerthought |
| Message-ID | <[email protected]> |
On Thu, 2003-08-21 at 10:14, M.Siebert wrote: > Hello, > > when executing "pollo.bat", the programm will not run. The following > message ist produced: > > > D:\XML\pollo-0.3.6-bin\bin>java -classpath > > ..\lib\pollo.jar;..\lib\pollohelp.jar;..\lib\endorsed\dom3-xmlParserAPIs.jar;..\lib\endorsed\dom3-xercesImpl.jar;..\lib\commons-digester.jar;..\lib\avalon-configuration.jar;..\lib\commons-beanutils.jar;..\lib\commons-collections.jar;..\lib\log4j-core.jar;..\lib\jaxen-core.jar;..\lib\jaxen-dom.jar;..\lib\saxpath.jar;..\lib\msv.jar;..\lib\xsdlib.jar;..\lib\relaxngDatatype.jar;..\lib\isorelax.jar;..\lib\jhbasic.jar;..\conf;..\build > > -Djava.endorsed.dirs=..\lib\endorsed org.outerj.pollo.Pollo > > [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.DefaultConfigurationBuilder.buildFromFile(DefaultConfigurationBuilder.java:176) > > at > > org.outerj.pollo.config.PolloConfigurationFactory.loadConfiguration(PolloConfigurationFactory.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.PolloConfigurationException: > > Exception parsing the user configuration file., nested exception is: > > org.xml.sax.SAXParseException: Premature end of file. > > at > > org.outerj.pollo.config.PolloConfigurationFactory.loadConfiguration(PolloConfigurationFactory.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> > > which user configuration file is referenced from Pollo? It is a file called ".pollorc", located in your home directory. The "home directory" depends on the operating system, if I remember well in Windows it is something like c:\documents and settings\username\.pollorc, but I'm not sure. Anyway, search your hard drive for that file and delete it. Pollo should then start. This problem is likely caused by an incorrect shutdown of pollo. If you have any clue to how this might have happened, I'm interested to here this. Since this is a problem that pops up from time to time, I think it's useful to provide some more appropriate error handle here. > I only unziped > the download-file, but did not configure any other files. > > mfG Michael Siebert -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [email protected] [email protected] ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0