Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Error: found in negative cache: Component.js

$
0
0

Hello All,

 

I search a lot on the net but I cannot find a solution.

 

I have created an extension project (empty one)  with WebIDE from HCM_LRQ_CRE standard application. And when I want to start the application I get this error :

Error: found in negative cache: 'hcm/emp/myleaverequests/HCM_LRQ_CREExtension/Component.js' from /sap/bc/ui5_ui5/sap/zhcm_lr_cre/webapp/Component.js: TypeError: Cannot read property 'extend' of undefined

    at d1 (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-0.js:85:14257)

    at Object.jQuery.sap.require (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-0.js:85:18084)

    at g (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-1.js:16:57730)

    at Function.sap.ui.component.load (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-1.js:16:58548)

    at Object.sap.ui.component (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-1.js:16:57383)

    at j (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-ext.js:514:24518)

    at v (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-ext.js:514:30206)

    at x (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-ext.js:514:30610)

    at Object.sap.ui.core.Control.extend.renderer [as render] (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-ext.js:514:34079)

    at R.renderControl (https://<serveur>:81/sap/bc/ui5_ui5/ui2/ushell/resources/sap/fiori/core-min-1.js:16:188155) -  B @ core-min-0.js:formatted:9629error @ core-min-0.js:formatted:9655sap.ui.controller.openApp @ core-min-3.js:11a.publish @ core-min-1.js:16(anonymous function) @ core-min-3.js:11

core-min-0.js:formatted:9629 2015-12-21 23:42:26 Error - found in negative cache: 'hcm/emp/myleaverequests/HCM_LRQ_CREExtension/Component.js' from /sap/bc/ui5_ui5/sap/zhcm_lr_cre/webapp/Component.js: TypeError: Cannot read property 'extend' of undefined B @ core-min-0.js:formatted:9629error @ core-min-0.js:formatted:9655sap.ui.controller.reportError @ core-min-3.js:11sap.ui.controller.hashChangeFailure @ core-min-3.js:11sap.ui.controller.openApp @ core-min-3.js:11a.publish @ core-min-1.js:16(anonymous function) @ core-min-3.js:11

core-min-0.js:formatted:9629 2015-12-21 23:42:26 Impossible d'ouvrir l'application. Réessayez ultérieurement. -  B @ core-min-0.js:formatted:9629error @ core-min-0.js:formatted:9655error @ core-min-3.js:15(anonymous function) @ core-min-3.js:11

core-min-3.js:9 Uncaught TypeError: Cannot read property 'appendChild' of null

Here is the steps I have made :

 

Component.js from my extension :

sap.ui.component.load({  name: "hcm.emp.myleaverequests",  url: jQuery.sap.getModulePath("hcm.emp.myleaverequests.HCM_LRQ_CREExtension") + "/../../HCM_LRQ_CRE"
});

In LPD_CUST :

 

URL : /sap/bc/ui5_ui5/sap/zhcm_lr_cre/webapp/

Additionnal Data : SAPUI5.Component=hcm.emp.myleaverequests.HCM_LRQ_CREExtension

 

I'm quite sure it is something simple because it is a quite common stuff, but... I'm out here.

 

Kind regards,


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>