This error occurs when building trunk using ant run-install-seed
2009-07-08 13:20:21,176 (main) [ EntityDataLoader.java:220:ERROR] ---- exception report ---------------------------------------------------------- [install.loadData]: Error loading XML Resource "file:/home/ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml"; Error was: A transaction error occurred reading data Exception: org.xml.sax.SAXException Message: A transaction error occurred reading data ---- stack trace --------------------------------------------------------------- org.ofbiz.base.util.GeneralRuntimeException: null (Odd number of characters.) org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:271) org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:220) org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:216) org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:380) org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101) org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) org.ofbiz.base.start.Start.startServer(Start.java:322) org.ofbiz.base.start.Start.start(Start.java:326) org.ofbiz.base.start.Start.main(Start.java:409) -------------------------------------------------------------------------------- Vince Clark [hidden email] (303) 493-6723 |
Vince,
I did clean install from Ofbiz trunk and did not notice any issues. Can you please give one more try, if problem persists let us know. Regards Anil Patel On Jul 8, 2009, at 10:55 PM, Vince Clark wrote: > This error occurs when building trunk using ant run-install-seed > > 2009-07-08 13:20:21,176 (main) [ EntityDataLoader.java:220:ERROR] > ---- exception report > ---------------------------------------------------------- > [install.loadData]: Error loading XML Resource "file:/home/ofbiz/ > trunk/applications/accounting/data/AccountingTypeData.xml"; Error > was: A transaction error occurred reading data > Exception: org.xml.sax.SAXException > Message: A transaction error occurred reading data > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.base.util.GeneralRuntimeException: null (Odd number of > characters.) > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:271) > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:220) > org > .ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java: > 216) > org > .ofbiz > .entityext > .data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:380) > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: > 101) > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > org.ofbiz.base.start.Start.startServer(Start.java:322) > org.ofbiz.base.start.Start.start(Start.java:326) > org.ofbiz.base.start.Start.main(Start.java:409) > -------------------------------------------------------------------------------- > > > > > Vince Clark > [hidden email] > (303) 493-6723 |
OK. I did the build against an existing OFBiz database that was created from release branch 9.04. I can try it from a new install to see if that eliminates the error but I believe it should work against an existing database.
Vince Clark [hidden email] (303) 493-6723 ----- Original Message ----- From: "Anil Patel" <[hidden email]> To: [hidden email] Cc: "Anil Patel" <[hidden email]> Sent: Wednesday, July 8, 2009 9:07:30 PM GMT -07:00 US/Canada Mountain Subject: Re: Error introduced in AccountingTypeData.xml Vince, I did clean install from Ofbiz trunk and did not notice any issues. Can you please give one more try, if problem persists let us know. Regards Anil Patel On Jul 8, 2009, at 10:55 PM, Vince Clark wrote: > This error occurs when building trunk using ant run-install-seed > > 2009-07-08 13:20:21,176 (main) [ EntityDataLoader.java:220:ERROR] > ---- exception report > ---------------------------------------------------------- > [install.loadData]: Error loading XML Resource "file:/home/ofbiz/ > trunk/applications/accounting/data/AccountingTypeData.xml"; Error > was: A transaction error occurred reading data > Exception: org.xml.sax.SAXException > Message: A transaction error occurred reading data > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.base.util.GeneralRuntimeException: null (Odd number of > characters.) > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:271) > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:220) > org > .ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java: > 216) > org > .ofbiz > .entityext > .data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:380) > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: > 101) > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > org.ofbiz.base.start.Start.startServer(Start.java:322) > org.ofbiz.base.start.Start.start(Start.java:326) > org.ofbiz.base.start.Start.main(Start.java:409) > -------------------------------------------------------------------------------- > > > > > Vince Clark > [hidden email] > (303) 493-6723 |
I think this has come up before and probably has to do with r767278
listed here: http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration Regards Scott On 9/07/2009, at 3:19 PM, Vince Clark wrote: > OK. I did the build against an existing OFBiz database that was > created from release branch 9.04. I can try it from a new install to > see if that eliminates the error but I believe it should work > against an existing database. > > > Vince Clark > [hidden email] > (303) 493-6723 > > ----- Original Message ----- > From: "Anil Patel" <[hidden email]> > To: [hidden email] > Cc: "Anil Patel" <[hidden email]> > Sent: Wednesday, July 8, 2009 9:07:30 PM GMT -07:00 US/Canada Mountain > Subject: Re: Error introduced in AccountingTypeData.xml > > Vince, > I did clean install from Ofbiz trunk and did not notice any issues. > Can you please give one more try, if problem persists let us know. > Regards > Anil Patel > > On Jul 8, 2009, at 10:55 PM, Vince Clark wrote: > >> This error occurs when building trunk using ant run-install-seed >> >> 2009-07-08 13:20:21,176 (main) [ EntityDataLoader.java:220:ERROR] >> ---- exception report >> ---------------------------------------------------------- >> [install.loadData]: Error loading XML Resource "file:/home/ofbiz/ >> trunk/applications/accounting/data/AccountingTypeData.xml"; Error >> was: A transaction error occurred reading data >> Exception: org.xml.sax.SAXException >> Message: A transaction error occurred reading data >> ---- stack trace >> --------------------------------------------------------------- >> org.ofbiz.base.util.GeneralRuntimeException: null (Odd number of >> characters.) >> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:271) >> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:220) >> org >> .ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java: >> 216) >> org >> .ofbiz >> .entityext >> .data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:380) >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: >> 101) >> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) >> org.ofbiz.base.start.Start.startServer(Start.java:322) >> org.ofbiz.base.start.Start.start(Start.java:326) >> org.ofbiz.base.start.Start.main(Start.java:409) >> -------------------------------------------------------------------------------- >> >> >> >> >> Vince Clark >> [hidden email] >> (303) 493-6723 > smime.p7s (3K) Download Attachment |
Free forum by Nabble | Edit this page |