[ https://issues.apache.org/jira/browse/OFBIZ-5632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150582#comment-14150582 ]
Deepak Dixit commented on OFBIZ-5632: ------------------------------------- Here is the error from demo instance {quote} 2014-09-27 12:41:55,328 (http-bio-0.0.0.0-28080-exec-20) [ RequestHandler.java:208:ERROR] Got a insecure (non-https) form POST to a secure (http) request [setUserPreference], returning error 2014-09-27 12:41:55,328 (http-bio-0.0.0.0-28080-exec-20) [ RequestHandler.java:226:WARN ] HTTPS is disabled for this site, so we can't tell if this was encrypted or not which means if a form was POSTed and it was not over HTTPS we don't know, but it would be vulnerable to an XSRF and other attacks: Not accepting insecure form data posted to a secure request 2014-09-27 12:41:55,361 (http-bio-0.0.0.0-28080-exec-20) [ RequestHandler.java:661:INFO ] Ran Event [service:#setUserPreference] from [request], result is [success] 2014-09-27 12:41:55,362 (http-bio-0.0.0.0-28080-exec-20) [ RequestHandler.java:766:INFO ] Rendering View [quickcheckout], sessionId=22BF8627BD39C87C3AFDB82AD172D870.jvm1 2014-09-27 12:41:55,397 (http-bio-0.0.0.0-28080-exec-20) [ ScreenFactory.java:130:INFO ] Got 15 screens in 0.005s from: file:/home/ofbizDemo/branch12.4/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml 2014-09-27 12:41:55,430 (http-bio-0.0.0.0-28080-exec-20) [ ScriptUtil.java:347:WARN ] ---- exception report ---------------------------------------------------------- Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getCurrency() on null object Exception: javax.script.ScriptException Message: java.lang.NullPointerException: Cannot invoke method getCurrency() on null object ---- cause --------------------------------------------------------------------- Exception: java.lang.NullPointerException {quote} > Changing Visual theme in Order manager results in error message > --------------------------------------------------------------- > > Key: OFBIZ-5632 > URL: https://issues.apache.org/jira/browse/OFBIZ-5632 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 13.07, Trunk > Environment: Primarily tested on Ubuntu, but affects all OS. > Reporter: Vyom Jain > Attachments: ChangeVisualTheme.png, RemoveCart.png > > > The reported issue has been observed in the order manager application. It > happens when there's no shopping cart in the session. > Steps to test - > 1. Try changing visual theme in the order manager application. > Observations - > 1. Returns ERROR MESSAGE - org.ofbiz.widget.screen.ScreenRenderException: > Error rendering screen > [component://order/widget/ordermgr/OrderEntryOrderScreens.xml#quickFinalizeOrder]: > java.lang.IllegalArgumentException: Error running script at location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: > java.lang.NullPointerException: Cannot invoke method getRelated() on null > object (Error running script at location > [component://order/webapp/ordermgr/WEB-INF/actions/entry/CheckoutPayment.groovy]: > java.lang.NullPointerException: Cannot invoke method getRelated() on null > object) > Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)