Error rendering screen InvoiceScreens.xml#EditInvoiceApplications Cannot invoke method setScale() on null object

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

Error rendering screen InvoiceScreens.xml#EditInvoiceApplications Cannot invoke method setScale() on null object

Cimballi
Hi,

I created an invoice, a payment and a payment application, and when I
click on the update button of the Applied Payments section in the
Invoices / Overview page, I have the following error :

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://accounting/widget/InvoiceScreens.xml#EditInvoiceApplications]:
java.lang.NullPointerException: Cannot invoke method setScale() on
null object (Cannot invoke method setScale() on null object)

And the stack trace :

java.lang.NullPointerException: Cannot invoke method setScale() on null object
org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784)
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
ListNotAppliedPayments$_getPayments_closure1.doCall(ListNotAppliedPayments.groovy:71)
...

Cimballi
Reply | Threaded
Open this post in threaded view
|

Re: Error rendering screen InvoiceScreens.xml#EditInvoiceApplications Cannot invoke method setScale() on null object

Jacques Le Roux
Administrator
This works well here (please... user ML)

Jacques

From: "Cimballi" <[hidden email]>

> Hi,
>
> I created an invoice, a payment and a payment application, and when I
> click on the update button of the Applied Payments section in the
> Invoices / Overview page, I have the following error :
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://accounting/widget/InvoiceScreens.xml#EditInvoiceApplications]:
> java.lang.NullPointerException: Cannot invoke method setScale() on
> null object (Cannot invoke method setScale() on null object)
>
> And the stack trace :
>
> java.lang.NullPointerException: Cannot invoke method setScale() on null object
> org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784)
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
> ListNotAppliedPayments$_getPayments_closure1.doCall(ListNotAppliedPayments.groovy:71)
> ...
>
> Cimballi
>