Hi all
I am create database /usr/local/pgsql/data and my database name is ofbiz and i gave the path in ofbiz/framework/entity/config/entityengin.xml jdbc-driver="org.postgresql.Driver" jdbc-uri="jdbc:postgresql://localhost:5432/ofbiz" after it when i run ./ant run-install then it give the following error [java] 2011-10-26 15:34:28,480 (main) [ ModelReader.java:389:INFO ] FINISHED LOADING ENTITIES - ALL FILES; #Entities=849 #ViewEntities=267 #Fields=8870 #Relationships=2925 #AutoRelationships=2157 [java] 2011-10-26 15:34:29,624 (main) [ GenericDelegator.java:244:INFO ] Doing entity definition check... [java] 2011-10-26 15:34:29,636 (main) [ ModelEntityChecker.java:502:INFO ] [initReservedWords] array length=1023 [java] Exception in thread "main" java.lang.NullPointerException [java] at org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:548) [java] at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) [java] at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:245) [java] at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33) [java] at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25) [java] at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202) [java] at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47) [java] at org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:230) [java] at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100) [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) [java] at org.ofbiz.base.start.Start.startServer(Start.java:322) [java] at org.ofbiz.base.start.Start.start(Start.java:326) [java] at org.ofbiz.base.start.Start.main(Start.java:411) [java] 2011-10-26 15:34:30,135 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:113:INFO ] Shutting down containers [java] Java Result: 1 BUILD SUCCESSFUL Total time: 54 seconds why this cgige the following errors
Dhiraj Gupta
|
Hello Dhiraj,
See https://cwiki.apache.org/OFBIZ/running-and-debugging-ofbiz-in-eclipse.html for details of how to attach the debugger in Eclipse. Set a breakpoint on line 548 in GenericDelegator.java You should learn more about why the Null Pointer Exception is occurring. Regards Paul Foxworthy
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
Free forum by Nabble | Edit this page |