I do have VisualTheme* entities defined under common/entitydef/entitymodel.xml and I do have VT_* entries in the Enumeration table as well. Also I noticed there is no entity-group.xml files for a lot of the ofbiz entitymodel.xml is this normal?
When I run ant run-install-seed, I get bunch of warning which actually also has exceptions, I think those are related to olap - which I have disabled - no olap data group-map entries. I havent looked much into olap and related settings. Is this safe thing to do? do I need olap enabled for ofbiz to run properly? Adrian Crum wrote: > > Check the Enumeration entity for values that have an enumId starting > with VT_. If they don't exist, then your data wasn't loaded. Try running > ant run-install again. > > -Adrian > > Ritesh Trivedi wrote: >> I did do clean build with ant clean-all and ant. >> >> Dug little further and I dont see VisualTheme* tables in the db and I >> have >> check-on-start="true" >> add-missing-on-start="true" >> Any clue why? >> >> >> >> >> Adrian Crum wrote: >>> A good practice to follow is to check the online demo - which is built >>> every night: https://demo.hotwaxmedia.com/catalog/control/main >>> >>> If the problem doesn't exist in the online demo, then there is a chance >>> there is something wrong with your local copy. >>> >>> Try doing a fresh SVN checkout, or on an existing copy run ant clean-all >>> and ant run-install. >>> >>> Also, this type of message should be posted on the user mailing list. >>> >>> -Adrian >>> >>> >>> Ritesh Trivedi wrote: >>>> Here is the exception stacktrace >>>> >>>> Exception: java.lang.Exception >>>> Message: Error in simple-method [Get visual theme resources >>>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>>> ; [Visual Theme resources not found.] >>>> ---- stack trace >>>> --------------------------------------------------------------- >>>> java.lang.Exception: Error in simple-method [Get visual theme resources >>>> [file:/root/ofbiz/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]: >>>> ; [Visual Theme resources not found.] >>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311) >>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258) >>>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:880) >>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149) >>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:131) >>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:76) >>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51) >>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384) >>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) >>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) >>>> org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:473) >>>> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >>>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:217) >>>> >>> >> > > -- View this message in context: http://www.nabble.com/Re%3A-Trunk-catalog-main-screen-getting-NPE---Visual-theme-resource-not-found-tp20115756p20116681.html Sent from the OFBiz - User mailing list archive at Nabble.com.
