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

Getting console error while reading property value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • ecommerce
    • None

    Description

      We are getting same console error on following two screens.

      Steps to regenerate:
      1) Go to eCommerce
      2) Click on Register link
      3) After click on register link, we can see error on console.

      1) Now click on profile link
      2) Click on create new contact information link
      3) select "postal address" contact type and click on create button
      4) After click on create button, we can see error on console.

      Console Error:

       Error executing FreeMarker template
           [java] freemarker.template.TemplateModelException: No error description was specified for this error; low-level message: java.lang.ClassNotFoundException: org.ofbiz.base.util.EntityUtilProperties
           [java] 
           [java] ----
           [java] FTL stack trace ("~" means nesting-related):
           [java] 	- Failed at: #assign defaultCountryGeoId = Static[...  [in template "component://ecommerce/template/customer/EditContactMech.ftl" at line 185, column 13]
           [java] ----
           [java] 	at freemarker.ext.beans.ClassBasedModelFactory.get(ClassBasedModelFactory.java:52) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.DynamicKeyName.dealWithStringKey(DynamicKeyName.java:140) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.DynamicKeyName._eval(DynamicKeyName.java:75) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Dot._eval(Dot.java:41) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.MethodCall._eval(MethodCall.java:58) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Assignment.accept(Assignment.java:134) ~[freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.visit(Environment.java:326) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at freemarker.core.Environment.process(Environment.java:305) [freemarker-2.3.24.jar:2.3.24]
           [java] 	at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261)
      

      Attachments

        1. OFBIZ-7331.patch
          2 kB
          Mohammed Rehan Khan

        Activity

          People

            jleroux Jacques Le Roux
            rehan.khan Mohammed Rehan Khan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: