Trunk catalog main screen getting NPE - Visual theme resource not found

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Trunk catalog main screen getting NPE - Visual theme resource not found

Ritesh Trivedi
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)
Reply | Threaded
Open this post in threaded view
|

Re: Trunk catalog main screen getting NPE - Visual theme resource not found

Adrian Crum
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)
>