Hi
I created a ui5 application when it is run as webapp, the application works fine. But when i deploy the application as ear in sap portal , the application does not run and throws an error "Unable to get property 'setUIArea' of undefined or null reference"
I see that component.js file does not get loaded.
Help me figure out what could be wrong with component.js