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-tp20115756p20116102.html
Sent from the OFBiz - User mailing list archive at Nabble.com.