Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9432

Error running the simple-method: Error running groovy script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 16.11
    • 16.11.04
    • ecommerce
    • None
    • Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux

    Description

      The Following Errors Occurred:

      Error running the simple-method: Error running groovy script [<br/> // clear out the login fields from the cart<br/> try

      {<br/> if (cart!=null) cart.setAutoUserLogin(null, dispatcher);<br/> }

      catch (CartItemModifyException e)

      {<br/> Debug.logError(e, module);<br/> }

      <br/> ]: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:<br/>Script5.groovy: 5: unable to resolve class CartItemModifyException <br/> @ line 5, column 23.<br/> } catch (CartItemModifyException e) {<br/> ^<br/><br/>1 error<br/> Method = createUpdateCustomer, File = file:/home/daniel/Development/Repositories/subversion/ofbiz-16.11/specialpurpose/ecommerce/minilang/customer/QuickAnonCustomerEvents.xml, Element = <script>, Line 507null

      Steps to reproduce the error:
      Add producs to cart (i.e. 2 x RoundGizmo) -> [Quick Checkout] -> Checkout Without Login: Quick Checkout -> Basic Information: fill in required fields -> Continue

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              dcoric Daniel Coric
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: