After an upgrade you find rendering issues with your portal theme, it can happen either with custom or standard themes and the theme appears distorted after login. I will go through some of the more common scenarios and resolutions.
Problem with rendering of SAP standard themes:
If you find that this is happening with standard SAP themes only then a good place to start with is kba 1911990 – ‘Enterprise Portal looks distorted after logon’. The resolution section contains 3 steps which should be executed in the order they appear (so first step 1, next 2 and finally 3). Its very important that after you implement each step to test the scenario again to see if the issue is resolved and themes are displaying correctly.
Problem with rendering of custom themes:
- If its happening with your custom theme only, then firstly check kba 2028300 – ‘Custom portal theme distorted’.
- If re-importing your custom theme doesn’t help, then check to see if the issue is happening on one or some nodes only. If it is then check kba 2195099 – ‘Portal theme is inconsistent after upgrade’ to manually synchronize all server nodes.
- Note 2197656 – ‘Custom themes does not exist in all server nodes’ includes a fix for this synchronization issue for later releases.
- Is note 1738135 – ‘Theme inconsistency in portal after 7.3 upgrade’ applicable for your version?
If none of the above helps then reproduce the issue and check the default (kba 1596214) or logwatch (kba 1593107) trace files. For theme problems you should increase the severity of the following logging locations to ALL prior to reproducing the issue:
- If you find the below exception in the traces after reproducing the issue, then apply kba 1959644 – ‘Theme distorted after upgrade Error:LAFService.deleteTheme -> after deleteTheme’
LAFService.deleteTheme -> after deleteTheme.#
- If the exception is found in the traces, then apply kba 2044168 – Customized portal theme not displayed after the upgrade
Error in starting application [sap.com/com.sap.portal.themes.designservicenotificationservice].
com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Error in starting application [sap.com/com.sap.portal.themes.designservicenotificationservice].
Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Error occurred when invoking start methods of web container extensions for
Caused by: java.lang.NoSuchMethodError: com.sapportals.portal.prt.service.laf.ILookAndFeelService.getApplicationName(Lcom/sapportals/portal/prt/service/laf/ThemeType;)Ljava/lang/String;
- If any of the following exceptions are found, apply note 2244780 – Inconsistency between the theming engines in the different SCAs
Invoke method failed to compile .less files
Error occurred when invoking start methods of web container extensions for [sap.com/com.sap.portal.design.urdesigndataless] application