Not sure why it worked in derby mode but not in postgresql. but it hung up on the tenant entity. but adding the tenant stuff into the entityengine.xml it no longer errors. I am such a slouch I used one line of debug.loginfo to find the problem. someday I will put energy into the remote debugging. :D
BJ Freeman sent the following on 6/13/2010 12:50 PM:
if I run it with derby it works fine. I changed to localpostnew using 8.4.4 and it working fine with a 9.04 install I was able to log into the db with psql so that all works. get the following error when it is trying to connect to db. [java] 2010-06-13 12:02:52,088 (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:555) [java] at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101) looking at the code field-type-name="postnew" public ModelFieldType getEntityFieldType(ModelEntity entity, String type) throws GenericEntityException { return this.getModelFieldTypeReader(entity).getModelFieldType(type); } /* (non-Javadoc) * @see org.ofbiz.entity.Delegator#getModelFieldTypeReader(org.ofbiz.entity.model.ModelEntity) */ public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity) { String helperName = getEntityHelperName(entity); if (helperName == null || helperName.length() <= 0) { return null; } that is about the best I can do so far. any suggestions? ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>