Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-110223

js-unit-jdk8 failure on FragmentConfigurationPanel.test.js

    Details

    • Fix Priority:
      3

      Description

      js-unit-jdk8:

        [exec] FAIL test/page_editor/app/components/FragmentConfigurationPanel.test.js (19.821s)
           [exec]   ??? Console
           [exec] 
           [exec]     console.error ../../../node_modules/jsdom/lib/jsdom/virtual-console.js:29
           [exec]       Error: Uncaught [TypeError: Cannot read property 'com.liferay.fragment.entry.processor.freemarker.FreeMarkerFragmentEntryProcessor' of undefined]
           [exec]           at reportException (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:62:24)
           [exec]           at innerInvokeEventListeners (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:331:9)
           [exec]           at invokeEventListeners (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:266:3)
           [exec]           at HTMLUnknownElementImpl._dispatch (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:212:11)
           [exec]           at HTMLUnknownElementImpl.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:87:17)
           [exec]           at HTMLUnknownElement.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:144:23)
           [exec]           at Object.invokeGuardedCallbackDev (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:385:16)
           [exec]           at invokeGuardedCallback (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:440:31)
           [exec]           at beginWork$$1 (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:25780:7)
           [exec]           at performUnitOfWork (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:24698:12) TypeError: Cannot read property 'com.liferay.fragment.entry.processor.freemarker.FreeMarkerFragmentEntryProcessor' of undefined
           [exec]           at getConfigurationValues (/opt/dev/projects/github/liferay-portal/modules/apps/layout/layout-content-page-editor-web/src/main/resources/META-INF/resources/page_editor/app/components/floating-toolbar/FragmentConfigurationPanel.js:174:8)
           [exec]           at getConfigurationValues (/opt/dev/projects/github/liferay-portal/modules/apps/layout/layout-content-page-editor-web/src/main/resources/META-INF/resources/page_editor/app/components/floating-toolbar/FragmentConfigurationPanel.js:124:28)
           [exec]           at Array.map (<anonymous>)
           [exec]           at map (/opt/dev/projects/github/liferay-portal/modules/apps/layout/layout-content-page-editor-web/src/main/resources/META-INF/resources/page_editor/app/components/floating-toolbar/FragmentConfigurationPanel.js:121:29)
           [exec]           at renderWithHooks (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:16260:18)
           [exec]           at mountIndeterminateComponent (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:18794:13)
           [exec]           at beginWork$1 (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:20162:16)
           [exec]           at HTMLUnknownElement.callCallback (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:336:14)
           [exec]           at innerInvokeEventListeners (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:315:27)
           [exec]           at invokeEventListeners (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:266:3)
           [exec]           at HTMLUnknownElementImpl._dispatch (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:212:11)
           [exec]           at HTMLUnknownElementImpl.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:87:17)
           [exec]           at HTMLUnknownElement.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:144:23)
           [exec]           at Object.invokeGuardedCallbackDev (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:385:16)
           [exec]           at invokeGuardedCallback (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:440:31)
           [exec]           at beginWork$$1 (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:25780:7)
           [exec]           at performUnitOfWork (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:24698:12)
           [exec]           at workLoopSync (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:24671:22)
           [exec]           at performSyncWorkOnRoot (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:24270:11)
           [exec]           at scheduleUpdateOnFiber (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:23698:7)
           [exec]           at updateContainer (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:27103:3)
           [exec]           at /opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:27528:7
           [exec]           at unbatchedUpdates (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:24433:12)
           [exec]           at legacyRenderSubtreeIntoContainer (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:27527:5)
           [exec]           at Object.render (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:27608:10)
           [exec]           at /opt/dev/projects/github/liferay-portal/modules/node_modules/@testing-library/react/dist/index.js:86:25
           [exec]           at batchedUpdates$1 (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:24386:12)
           [exec]           at act (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1092:14)
           [exec]           at render (/opt/dev/projects/github/liferay-portal/modules/node_modules/@testing-library/react/dist/index.js:82:26)
           [exec]           at renderConfigurationPanel (/opt/dev/projects/github/liferay-portal/modules/apps/layout/layout-content-page-editor-web/test/page_editor/app/components/FragmentConfigurationPanel.test.js:110:9)
           [exec]           at Object.renderConfigurationPanel (/opt/dev/projects/github/liferay-portal/modules/apps/layout/layout-content-page-editor-web/test/page_editor/app/components/FragmentConfigurationPanel.test.js:128:28)
           [exec]           at Object.asyncJestTest (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:100:37)
           [exec]           at resolve (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
           [exec]           at new Promise (<anonymous>)
           [exec]           at mapper (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
           [exec]           at promise.then (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/queueRunner.js:73:41)
           [exec]           at process._tickCallback (internal/process/next_tick.js:68:7)
           [exec]     console.error ../../../node_modules/react-dom/cjs/react-dom.development.js:21843
           [exec]       The above error occurred in the <FragmentConfigurationPanel> component:
           [exec]           in FragmentConfigurationPanel
           [exec]           in StoreAPIContextProvider
      

      Full console log: https://test-1-4.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/367141/consoleFull

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              linda.sui Linda Sui
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 22 weeks, 6 days ago

                  Packages

                  Version Package