Author: hoang_to
Date: 2010-04-09 02:37:13 -0400 (Fri, 09 Apr 2010)
New Revision: 2542
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/resource/SkinService.java
Log:
GTNPORTAL-944: Check null in processCSSRecursively to avoid NullPointerException
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/resource/SkinService.java
===================================================================
---
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/resource/SkinService.java 2010-04-09
06:22:11 UTC (rev 2541)
+++
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/resource/SkinService.java 2010-04-09
06:37:13 UTC (rev 2542)
@@ -481,6 +481,10 @@
throws RenderingException, IOException
{
+ if(skin == null)
+ {
+ return;
+ }
// The root URL for the entry
String basePath = skin.getContextPath() + skin.getParentPath();
Show replies by date