ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gray <scott.g...@hotwaxsystems.com>
Subject Re: ofbiz cannot generate pdf invoices
Date Sun, 03 Jan 2016 02:41:52 GMT
That error looks like a bug in CompanyHeader.groovy, it's not check that an
address was retrieved before trying to access it.

You can work around that issue by adding a "General Location" postal
address for the company party.  It might not help your currency issue, but
will get you one step further along.

Regards
Scott

On 3 January 2016 at 06:15, Tiwonge Kawonga <tjeruzga@yahoo.com.invalid>
wrote:

> Here is part of log print out that may help you to help me.
> |E| Error rendering screen
> [component://order/widget/ordermgr/OrderPrintScreens.xml#CompanyLogo]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy]:
> java.lang.NullPointerException: Cannot get property 'countryGeoId' on null
> object. Rolling back transaction.
> 2016-01-02 18:26:57,719 |-0.0.0.0-8443-exec-8
> |TransactionUtil               |W| [TransactionUtil.setRollbackOnly]
> Calling transaction setRollbackOnly; this stack trace shows where this is
> happening:
> java.lang.Exception: Error rendering screen
> [component://order/widget/ordermgr/OrderPrintScreens.xml#CompanyLogo]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy]:
> java.lang.NullPointerException: Cannot get property 'countryGeoId' on null
> object
>     at
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
> [ofbiz-entity-test.jar:?]
>
> Thanx in advance
> Tiwonge Kawonga
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message