Is this something you are planning on fixing, or are you looking for help?

I ask because there are no steps to reproduce (with specific request URIs, or full URLs for different pages you visit), so it would be tough for anything to verify they had fixed it even if they were able to based on the error message you include here.

I apologize for the repetition (as these are mentioned a lot), but in order to help people look into issues the following information is helpful:

1. what did you do (complete information, ie sufficient to reproduce the error)
2. what did you expect to happen
3. what actually happened

-David


On Mar 2, 2009, at 3:33 PM, Vince M. Clark wrote:

This seems to only be happening on the AR side, not AP. I get the error in two scenarios:
From an existing sales invoice I click on "Applications."

From the Customer Payment I click on "Applications."

However when I enter a vendor invoice both scenarios work fine. I can click on the "Applications" tab from either the vendor invoice or the payment.

----- Original Message -----
From: "Vince M. Clark" <[email protected]>
To: "user" <[email protected]>
Sent: Monday, March 2, 2009 2:50:02 PM (GMT-0700) America/Denver
Subject: error on payment application

I am trying to apply a payment to an invoice and get the following error: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://accounting/widget/ PaymentScreens.xml#EditPaymentApplications]: java.lang.NullPointerException: Cannot invoke method setScale() on null object (Cannot invoke method setScale() on null object)

Here is the stack trace. I am using revision 748884


2009-03-02 13:24:19,542 (TP-Processor11) [ ControlServlet.java: 204:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: org.ofbiz.widget.screen.ScreenRenderException Message: 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) ---- cause --------------------------------------------------------------------- Exception : java.lang.NullPointerException Message: Cannot invoke method setScale() on null object ---- 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) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: 86) groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) org .codehaus .groovy .runtime .metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) groovy.lang.Closure.call(Closure.java:292) groovy.lang.Closure.call(Closure.java:305) org .codehaus .groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java: 1079) org .codehaus .groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java: 1056) sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org .codehaus .groovy .runtime .metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:51) org .codehaus .groovy .runtime .metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java: 54) groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) org .codehaus .groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java: 766) org .codehaus .groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754) org .codehaus .groovy .runtime .ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) ListNotAppliedPayments.getPayments(ListNotAppliedPayments.groovy:65) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: 86) groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) org .codehaus .groovy .runtime .ScriptBytecodeAdapter .invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) ListNotAppliedPayments.run(ListNotAppliedPayments.groovy:57) org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java: 78) org.ofbiz.widget.screen.ModelScreenAction $Script.runAction(ModelScreenAction.java:402) org .ofbiz .widget .screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118) org.ofbiz.widget.screen.ModelScreenWidget $Section.renderWidgetString(ModelScreenWidget.java:218) org .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: 393) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: 129) org.ofbiz.widget.screen .ScreenRenderer.render(ScreenRenderer.java: 92) org .ofbiz .widget .screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java: 98) org .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java: 677) org .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: 490) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java: 201) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: 259) org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 206) org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 175) org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 568) org .ofbiz .catalina .container .CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java: 44) org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java: 190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java: 283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java: 767) org .apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java: 697) org.apache.jk.common.ChannelSocket $SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:595)

Reply via email to