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

createPlugin in 16.11 causes location error in browser

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Trunk, 16.11.01
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:
      None
    • Environment:

      Windows 10, Lenovo Yoga 900 i7 64bit,

      Description

      SVN download to D:/ofbiz folder
      in command window:
      gradlew eclipse
      gradlew createPlugin -PpluginId=ofbizdemo
      gradlew cleanAll loadDefault
      gradlew ofbiz
      Wait until "building ->91% :ofbiz" and no further load activity (why does this stop at 91% ?)
      in browser https://localhost:8443/webtools to test ofbiz is functioning. - get signon screen
      https://localhost:8443/ofbizdemo -> error

      :ERROR MESSAGE:
      org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#login: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://ofbizdemo/widget/CommonScreens.xml#main-decorator: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB]) (Error rendering screen component://ofbizdemo/widget/CommonScreens.xml#main-decorator: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB])):ERROR MESSAGE:
      org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#login: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://ofbizdemo/widget/CommonScreens.xml#main-decorator: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB]) (Error rendering screen component://ofbizdemo/widget/CommonScreens.xml#main-decorator: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle [OfbizdemoUiLabels] in the locale [en_GB]))

      I have compared 16:11 component to 15.12 creatComponnent. Can see no obvious cause. OfbizDemoUiLabels are there in config but no locale [en_GB] exists.
      Only differences that I see are in WEB-INF/web.xml
      Problem exists in browsers Edge, Chrome & Firefox.
      Problem DOE NOT exist in firefox when ofbiz is installed in Ubuntu in VirtualBox.

      I think the problem may be due to different Java sdk's

      Windows : java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

      Ubuntu : openjdk version "1.8.0_121"
      OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-ubuntu1.16.04.2-b13
      OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikeysb1 Mike Butler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: