Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 33375 invoked from network); 2 Mar 2009 22:57:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 22:57:32 -0000 Received: (qmail 31247 invoked by uid 500); 2 Mar 2009 22:57:26 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 31229 invoked by uid 500); 2 Mar 2009 22:57:26 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 31197 invoked by uid 99); 2 Mar 2009 22:57:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 14:57:26 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [75.148.125.169] (HELO collab.globalera.com) (75.148.125.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 22:57:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.globalera.com (Postfix) with ESMTP id 87F3AFA41B3 for ; Mon, 2 Mar 2009 15:33:03 -0700 (MST) X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.398 X-Spam-Level: Received: from collab.globalera.com ([127.0.0.1]) by localhost (collab.globalera.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id voGknB3VxLSL for ; Mon, 2 Mar 2009 15:33:02 -0700 (MST) Received: from collab.globalera.com (collab.globalera.com [10.30.1.29]) by collab.globalera.com (Postfix) with ESMTP id 69752FA417D for ; Mon, 2 Mar 2009 15:33:02 -0700 (MST) Date: Mon, 2 Mar 2009 15:33:02 -0700 (MST) From: "Vince M. Clark" To: user@ofbiz.apache.org Message-ID: <8444692.18881236033182335.JavaMail.root@collab> In-Reply-To: <22900832.18791236030602469.JavaMail.root@collab> Subject: Re: error on payment application MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_843_21488355.1236033182334" X-Originating-IP: [10.30.1.1] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-4.398 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, HTML_MESSAGE=0.001] ------=_Part_843_21488355.1236033182334 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This seems to only be happening on the AR side, not AP. I get the error in = two scenarios:=20 >From an existing sales invoice I click on "Applications."=20 >From the Customer Payment I click on "Applications."=20 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.= =20 ----- Original Message -----=20 From: "Vince M. Clark" =20 To: "user" =20 Sent: Monday, March 2, 2009 2:50:02 PM (GMT-0700) America/Denver=20 Subject: error on payment application=20 I am trying to apply a payment to an invoice and get the following error:= =20 org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [comp= onent://accounting/widget/PaymentScreens.xml#EditPaymentApplications]: java= .lang.NullPointerException: Cannot invoke method setScale() on null object = (Cannot invoke method setScale() on null object)=20 Here is the stack trace. I am using revision 748884=20 2009-03-02 13:24:19,542 (TP-Processor11) [ ControlServlet.java:204:ERROR] -= --- exception report ------------------------------------------------------= ---- Error in request handler: Exception: org.ofbiz.widget.screen.ScreenRen= derException Message: Error rendering screen [component://accounting/widget= /InvoiceScreens.xml#EditInvoiceApplications]: java.lang.NullPointerExceptio= n: Cannot invoke method setScale() on null object (Cannot invoke method set= Scale() on null object) ---- cause ----------------------------------------= ----------------------------- Exception: java.lang.NullPointerException Mes= sage: Cannot invoke method setScale() on null object ---- stack trace -----= ---------------------------------------------------------- java.lang.NullPo= interException: Cannot invoke method setScale() on null object org.codehaus= .groovy.runtime.NullObject.invokeMethod(NullObject.java:77) org.codehaus.gr= oovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784) org.cod= ehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758) org= .codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecode= Adapter.java:170) ListNotAppliedPayments$_getPayments_closure1.doCall(ListN= otAppliedPayments.groovy:71) sun.reflect.NativeMethodAccessorImpl.invoke0(N= ative Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces= sorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating= MethodAccessorImpl.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.gro= ovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:2= 48) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) groovy.l= ang.Closure.call(Closure.java:292) groovy.lang.Closure.call(Closure.java:30= 5) org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMetho= ds.java:1079) org.codehaus.groovy.runtime.DefaultGroovyMethods.each(Default= GroovyMethods.java:1056) sun.reflect.GeneratedMethodAccessor100.invoke(Unkn= own Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org= .codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMe= taMethod.java:51) org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMeth= od.invoke(NewInstanceMetaMethod.java:54) groovy.lang.MetaMethod.doMethodInv= oke(MetaMethod.java:230) groovy.lang.MetaClassImpl.invokeMethod(MetaClassIm= pl.java:912) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)= org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.j= ava:766) org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelp= er.java:754) org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod= N(ScriptBytecodeAdapter.java:170) ListNotAppliedPayments.getPayments(ListNo= tAppliedPayments.groovy:65) sun.reflect.NativeMethodAccessorImpl.invoke0(Na= tive Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM= ethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)= org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) g= roovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) groovy.lang.MetaC= lassImpl.invokeMethod(MetaClassImpl.java:912) org.codehaus.groovy.runtime.S= criptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) = ListNotAppliedPayments.run(ListNotAppliedPayments.groovy:57) org.ofbiz.base= .util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:78) org.ofbiz.widget.s= creen.ModelScreenAction$Script.runAction(ModelScreenAction.java:402) org.of= biz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:11= 8) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod= elScreenWidget.java:218) org.ofbiz.widget.screen.ModelScreen.renderScreenSt= ring(ModelScreen.java:393) org.ofbiz.widget.screen.ScreenRenderer.render(Sc= reenRenderer.java:129) org.ofbiz.widget.screen .ScreenRenderer.render(Scree= nRenderer.java:92) org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(S= creenWidgetViewHandler.java:98) org.ofbiz.webapp.control.RequestHandler.ren= derView(RequestHandler.java:677) org.ofbiz.webapp.control.RequestHandler.do= Request(RequestHandler.java:490) org.ofbiz.webapp.control.ControlServlet.do= Get(ControlServlet.java:201) javax.servlet.http.HttpServlet.service(HttpSer= vlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)= org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati= onFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doF= ilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilt= er.doFilter(ContextFilter.java:259) org.apache.catalina.core.ApplicationFil= terChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catal= ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) o= rg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja= va:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContex= tValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(Standard= HostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(Erro= rReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(= StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.inv= oke(AccessLogValve.java:568) org.ofbiz.catalina.container.CrossSubdomainSes= sionValve.invoke(CrossSubdomainSessionValve.java:44) org.apache.catalina.co= nnector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.= JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.Handl= erRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocke= t.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.process= Connection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$Socke= tConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.Th= readPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thre= ad.java:595)=20 ------=_Part_843_21488355.1236033182334--