[OFBiz] Users - Re: Error Viewing Invoice
Hans Bakker
h.bakker at antwebsystems.com
Wed Sep 14 00:11:38 EDT 2005
This error is caused because the role of "bill to party" is not defined in
your invoice role table. This should normally be created by the invoice
creation process.
I do not how you created this invoice? look at that process......
On Wednesday 14 September 2005 10:28, Gan Chun Yee wrote:
> Hi Si, this is the error i get when I click on the
> invoice to view the detail.
>
>
> 417540[ OfbizBshBsfEngine.java:200:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Error thrown in BeanShell script called through BSF
> at: BSF info:
> D:\OfBiz\sequoiaerp-0.8.0-all-platforms\sequoiaerp-0.8.0\applications\accou
>nting\webapp\accounting\WEB-INF\actions\invoice\editInvoice.bsh at line: 0
> column: 0
> Exception: bsh.TargetError
> Message: Sourced file:
> D:\OfBiz\sequoiaerp-0.8.0-all-platforms\sequoiaerp-0.8.0\applications\accou
>nting\webapp\accounting\WEB-INF\actions\invoice\editInvoice.bsh
>
> : Method Invocation InvoiceWorker.getBillToParty
>
> ---- stack trace
> ---------------------------------------------------------------
> Sourced file:
> D:\OfBiz\sequoiaerp-0.8.0-all-platforms\sequoiaerp-0.8.0\applications\accou
>nting\webapp\accounting\WEB-INF\actions\invoice\editInvoice.bsh
>
> : Method Invocation InvoiceWorker.getBillToParty : at
>
> Line: 56 : in file:
> D:\OfBiz\sequoiaerp-0.8.0-all-platforms\sequoiaerp-0.8.0\applications\accou
>nting\webapp\accounting\WEB-INF\actions\invoice\editInvoice.bsh
>
> : InvoiceWorker .getBillToParty ( invoice )
>
> Target exception: java.lang.NullPointerException
> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:77)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHAssignment.eval(BSHAssignment.java:58)
> bsh.BSHBlock.eval(BSHBlock.java:79)
> bsh.BSHBlock.eval(BSHBlock.java:44)
> bsh.BSHIfStatement.eval(BSHIfStatement.java:48)
> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
> org.ofbiz.base.util.OfbizBshBsfEngine.eval(OfbizBshBsfEngine.java:196)
> org.ofbiz.base.util.OfbizBshBsfEngine.exec(OfbizBshBsfEngine.java:210)
> com.ibm.bsf.BSFManager.exec(BSFManager.java:479)
> org.jpublish.action.ScriptAction.execute(ScriptAction.java:244)
> org.jpublish.action.ActionManager.execute(ActionManager.java:419)
> org.jpublish.repository.filesystem.ExtendedFileSystemRepository.executeActi
>ons(ExtendedFileSystemRepository.java:403)
> org.jpublish.repository.filesystem.ExtendedFileSystemRepository.get(Extende
>dFileSystemRepository.java:122)
> org.jpublish.RepositoryWrapper.get(RepositoryWrapper.java:103)
> org.jpublish.RepositoryWrapper.get(RepositoryWrapper.java:87)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) java.lang.reflect.Method.invoke(Method.java:324)
> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:457)
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:
>110) freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> freemarker.core.Expression.getStringValue(Expression.java:93)
> freemarker.core.DollarVariable.accept(DollarVariable.java:76)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> freemarker.core.Environment.visit(Environment.java:196)
> freemarker.core.Environment.process(Environment.java:176)
> freemarker.template.Template.process(Template.java:231)
> org.ofbiz.webapp.ftl.FreeMarkerViewRenderer.render(FreeMarkerViewRenderer.j
>ava:116) org.jpublish.Template.merge(Template.java:198)
> org.ofbiz.webapp.view.JPublishWrapper.render(JPublishWrapper.java:326)
> org.ofbiz.webapp.view.JPublishViewHandler.render(JPublishViewHandler.java:8
>4)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:551)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:354)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
>ava:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
>ava:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
>6)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
>5)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
>a:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>ection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja
>va:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerW
>orkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
>va:684) java.lang.Thread.run(Thread.java:534)
> ---------------------------------------------------------------------------
>-----
>
>
>
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)
If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20050914/66baba73/attachment.bin
More information about the Users
mailing list