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

getEntityRefData service has a weird issue

    XMLWordPrintableJSON

Details

    • OFBiz Community Day (Feb 2020)

    Description

      It's reproductible on trunk demo though only visible in log, UI shows no issue

      Here is the log on trunk demo

      2020-02-21 21:11:56,445 |ajp-nio-8009-exec-2  |WebToolsServices              |E| null
      java.util.MissingResourceException: Can't find resource for bundle org.apache.ofbiz.base.util.UtilProperties$UtilResourceBundle, key FieldDescription.WorkEffortType.createdTxStamp
      	at java.util.ResourceBundle.getObject(ResourceBundle.java:450) ~[?:1.8.0_242]
      	at java.util.ResourceBundle.getObject(ResourceBundle.java:444) ~[?:1.8.0_242]
      	at java.util.ResourceBundle.getString(ResourceBundle.java:407) ~[?:1.8.0_242]
      	at org.apache.ofbiz.webtools.WebToolsServices.getEntityRefData(WebToolsServices.java:685) [main/:?]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
      	at org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) [main/:?]
      	[...]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util-9.0.29.jar:9.0.29]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
      2020-02-21 21:11:56,445 |ajp-nio-8009-exec-2  |WebToolsServices              |E| null
      java.util.MissingResourceException: Can't find resource for bundle org.apache.ofbiz.base.util.UtilProperties$UtilResourceBundle, key FieldDescription.createdTxStamp
      	at java.util.ResourceBundle.getObject(ResourceBundle.java:450) ~[?:1.8.0_242]
      	at java.util.ResourceBundle.getObject(ResourceBundle.java:444) ~[?:1.8.0_242]
      	at java.util.ResourceBundle.getString(ResourceBundle.java:407) ~[?:1.8.0_242]
      	at org.apache.ofbiz.webtools.WebToolsServices.getEntityRefData(WebToolsServices.java:695) [main/:?]
      	[...]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util-9.0.29.jar:9.0.29]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
      2020-02-21 21:11:56,445 |ajp-nio-8009-exec-2  |ServiceDispatcher             |T| Sync service [webtools/getEntityRefData] finished in [5760] milliseconds
      	at org.apache.ofbiz.webtools.WebToolsServices.getEntityRefData(WebToolsServices.java:685) [main/:?]
          

      So it repeats almost "ad ib" and eventually stops after 5+ seconds there.

      I guess R17 and R18 are also affected, R16 is OK.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: