Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Application initialization failed due to an exception: Error found in negative cache

Hello Experts,

With reference to Fiori App to App Navigation in Web IDE - Part 1 , when i launch an app in FioriLaunchPadSandBox i am getting below error:

Iam able to test both Fiori apps (materials & salesorders) by choosing option as component.js>Run>Run As>SAP Fiori Component .I have created two new files within a folder FLPSandBox

fioriSandBoxConfig.json

    "applications": { 

        "materials-display": { 

            "additionalInformation": "SAPUI5.Component=com.sample.material", 

            "applicationType": "URL", 

            "url": "/orion/file/P1176845trial$P1176845-OrionContent/materials",  <<change>>

            "description": "Materials App" 

        }, 

        "salesorders-display": { 

            "additionalInformation": "SAPUI5.Component=com.sample.salesorder", 

            "applicationType": "URL", 

            "url": "/orion/file/P1176845trial$P1176845-OrionContent/salesorders ",  <<change>>

            "description": "Sales Order App" 

        } 

    } 

}

neo-app.json

  "routes":[ 

      { 

        "path":"/sap/opu/odata", 

        "target":{ 

            "type":"destination", 

            "name":"SAPES1",    <<change>>

            "entryPath":"/sap/opu/odata" 

        }, 

        "description":"GWdemo OData service"   <<change>>

      },{ 

        "path":"/orion", 

        "target":{ 

            "type":"service", 

            "name":"orion" 

        }, 

        "description":"Orion Service" 

      },{ 

        "path":"/resources", 

        "target":{ 

            "type":"service", 

            "name":"sapui5", 

            "entryPath":"/resources" 

        }, 

        "description":"SAPUI5 Resources" 

      },{ 

        "path":"/test-resources", 

        "target":{ 

            "type":"service", 

            "name":"sapui5", 

            "entryPath":"/test-resources" 

        }, 

        "description":"SAPUI5 Test Resources" 

      } 

  ] 

What i have missed? Looking forward to hear from @Jamie Cawley

Regards,

JK

Tags:
replied

Hi JK,

Try setting the first "p" in the url to lower case...

"url": "/orion/file/p1176845trial$P1176845-OrionContent/salesorders


Regards,

Jamie

SAP - RIG

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question