[ 
https://issues.apache.org/jira/browse/OFBIZ-6792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Kingston updated OFBIZ-6792:
---------------------------------
    Labels:   (was: newbie)

> Exception when sending an order confirmation email
> --------------------------------------------------
>
>                 Key: OFBIZ-6792
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6792
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 14.12
>         Environment: Eclipse IDE
>            Reporter: Eric Kingston
>
> Receive the following exception while placing an order through the ecommerce 
> application.....
> groovy.lang.MissingPropertyException: No such property: response for class: 
> CompanyHeader
> Following is the relevant portion of the stack trace...
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
>  ~[groovy-all-2.2.1.jar:2.2.1]
> at 
> org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
>  ~[groovy-all-2.2.1.jar:2.2.1]
> at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
>  ~[groovy-all-2.2.1.jar:2.2.1]
> at CompanyHeader.run(CompanyHeader.groovy:48) ~[?:?]
> ...
> Apparently, the response object is not available within the context when the 
> sendOrderConfirmation service is run.  
> Steps to reproduce the exception....
> 1.  Checkout OFBiz 14.12 Release (revision was 1722928 at the time of 
> checkout).
> 2.  Run the default build.
> 3.  Load the demo data.
> 4.  Start the OFBiz instance (it will use the OOTB default derby db of 
> course).
> 5.  Within a browser goto URL..  http://localhost:8080/ecommerce 
> 6.  Proceed to place an order adding at least one item to the cart.
> 7.  While checking out you may or may not have to create an account.  I 
> created an account for this test.
> 8.  Proceed through all the checkout steps and submit the order.
> Monitor the log and you will see the exception occur within a few seconds.



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

Reply via email to