ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: Invoice Generation throws error
Date Sun, 17 Oct 2010 11:40:40 GMT
BTW I wonder if the setup component (which only shows if seed are used, not demo data) does
not handle it. If not it should...
Could you test Williams? (Ha! no, it's not in 9.04, forget it)

Jacques

From: "BJ Freeman" <bjfree@free-man.net>
> Seed data does not install organizational data.
> you have to take the demo data and modify it as your ext data
> 
> 
> =========================
> BJ Freeman
> Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com  <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
> 
> Chat  Y! messenger: bjfr33man
> 
> 
> Tolu Williams sent the following on 10/15/2010 3:24 PM:
>>
>> I get the following error when working with invoices. I used the seed install
>> version of ofbiz  here is my current svn info
>>
>> Path: ofbiz.9.04
>> URL: http://svn.apache.org/repos/asf/ofbiz/branches/release09.04
>> Repository Root: http://svn.apache.org/repos/asf
>> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
>> Revision: 1022516
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: jleroux
>> Last Changed Rev: 1004141
>> Last Changed Date: 2010-10-04 04:29:43 -0400 (Mon, 04 Oct 2010)
>>
>> I have set my currency ID everywhere i can think off (general.properties,
>> partymgr, invoice)
>>
>> When i comment out line 30 or so in
>> $OFBIZ_BASE/applications/accounting/webapp/accounting/invoice/InvoiceSubTabBar.ftl
>>
>> The error goes away
>>
>> The error follows below.
>>
>>   Expression defaultOrganizationPartyCurrencyUomId is undefined on line 30,
>> column 49 in
>> component://accounting/webapp/accounting/invoice/InvoiceSubTabBar.ftl. The
>> problematic instruction: ---------- ==>  if (invoice.currencyUomId)?if_exists
>> != defaultOrganizationPartyCurrencyUomId [on line 30, column 7 in
>> component://accounting/webapp/accounting/invoice/InvoiceSubTabBar.ftl]
>> ---------- Java backtrace for programmers: ----------
>> freemarker.core.InvalidReferenceException: Expression
>> defaultOrganizationPartyCurrencyUomId is undefined on line 30, column 49 in
>> component://accounting/webapp/accounting/invoice/InvoiceSubTabBar.ftl. at
>> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
>> freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:122)
>> at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at
>> freemarker.core.Environment.visit(Environment.java:209) at
>> freemarker.core.MixedContent.accept(MixedContent.java:92) at
>> freemarker.core.Environment.visit(Environment.java:209) at
>> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
>> freemarker.core.Environment.visit(Environment.java:209) at
>> freemarker.core.MixedContent.accept(MixedContent.java:92) at
>> freemarker.core.Environment.visit(Environment.java:209) at
>> freemarker.core.Environment.process(Environment.java:189) at
>> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:215)
>> at
>> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201)
>> at
>> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
>> at
>> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:976)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
>> at
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
>> at
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
>> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:132) at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98)
>> at
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:790)
>> at
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:534)
>> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:202) at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
>> at
>> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:62)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at
>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at
>> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at
>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
>> at
>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>> at java.lang.Thread.run(Thread.java:636)
>>
>>
>>
>>
>


Mime
View raw message