You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2015/05/29 22:34:18 UTC

[jira] [Comment Edited] (OFBIZ-6431) Error on Sending confirm email from newly created quote, Quote without Terms

    [ https://issues.apache.org/jira/browse/OFBIZ-6431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565351#comment-14565351 ] 

Christian Carlow edited comment on OFBIZ-6431 at 5/29/15 8:33 PM:
------------------------------------------------------------------

Hey Forrest,

This is related or a duplicate: https://issues.apache.org/jira/browse/OFBIZ-6360


was (Author: ofbizzer):
Hey Forrest,

This is related: https://issues.apache.org/jira/browse/OFBIZ-6360

> Error on Sending confirm email from newly created quote, Quote without Terms
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-6431
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6431
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>         Environment: http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
>            Reporter: Forrest Rae
>
> I cloned this bug, since I couldn't reopen.  Create a quote with items and a QuoteTerm, and try sending the quote by email.  When you try to send the report via email, you'll get a NullPointerException.  I traced this done to the fact that ListQuoteInfo use a <screenlet>.  org.ofbiz.widget.screen.ModelScreenWidget.Screenlet.renderWidgetString() calls org.ofbiz.widget.html.HtmlScreenRenderer.renderScreenletBegin() which calls org.ofbiz.base.util.UtilHttp.isJavaScriptEnabled().  The exception is thrown because there is no Request or Response context, as these screens are being generated via a service call.
> ===============================================================
> Error on Sending confirm email from newly created quote
> http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
> The Following Errors Occurred:
> Error rendering screen for email: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null)) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null))) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null)) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null) (Error rendering screen [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: java.lang.NullPointerException (null))))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)