[ 
https://issues.apache.org/jira/browse/TRINIDAD-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975383#action_12975383
 ] 

Jeanne Waldman commented on TRINIDAD-1988:
------------------------------------------

I think the design time was showing this error. The error in the Runtime is:
java.io.FileNotFoundException: Unable to locate style sheet 
"skins/purple/purpleSkinABCcss" in local styles directory (C:\Documents and 
Settings\jwaldman.ST-USERS\Application 
Data\JDeveloper\system11.1.2.0.38.58.67\DefaultDomain\servers\DefaultServer\tmp\_WL_user\trinidad\yglhi7\public\adf\styles),
 or on the class path.
Please be sure that this style sheet is installed.
        at 
org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry._getNameResolverForStyleSheetFile(StyleSheetEntry.java:441)
        at 
org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry._getNameResolver(StyleSheetEntry.java:349)
        at 
org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry.createEntry(StyleSheetEntry.java:78)
        at 
org.apache.myfaces.trinidadinternal.skin.SkinImpl._createStyleSheetDocument(SkinImpl.java:571)
        at 
org.apache.myfaces.trinidadinternal.skin.SkinImpl.getStyleSheetDocument(SkinImpl.java:354)


> do not show the entire stack when the trinidad-skin's stylesheet file cannot 
> be found
> -------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1988
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1988
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Jeanne Waldman
>
> When the skinning framework uses a skin with a stylesheet-name that cannot be 
> found, it writes out a SEVERE error and shows the entire stack. This should 
> be changed to write out a warning, and do not show the 
> FileNotFoundException/stack. It's annoying to the user to see the stack when 
> the error is really a warning, and the code didn't blow up.
> Feb 15, 2010 10:31:56 AM 
> org.apache.myfaces.trinidadinternal.skin.StyleSheetEnt
> ry
> SEVERE:
> java.io.FileNotFoundException: Unable to locate style sheet "css/IDM.css" in 
> lo
> cal styles directory (/scratch/abc/view_storage/abcnewhost/xyz/xyz-p
> roduct/consoles/rolemgmt/idX_RoleManagment/RoleMgmtUI/public_html/WEB-INF/temp/
> abc/styles), or on the class path.
> Please be sure that this style sheet is installed.
> at org.apache.myfaces.trinidadinternal.skin.StyleSheetNameResolver.getProvider
> (StyleSheetNameResolver.java:117)
> at org.apache.myfaces.trinidadinternal.share.io.CachingNameResolver.getProvide
> r(CachingNameResolver.java:97)
> at org.apache.myfaces.trinidadinternal.skin.SkinStyleSheetParserUtils.parseCSS
> Source(SkinStyleSheetParserUtils.java:91)
> at org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry._createSkinStyleSh
> eetFromCSS(StyleSheetEntry.java:204)
> at org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry._createSkinStyleSh
> eet(StyleSheetEntry.java:182)
> at org.apache.myfaces.trinidadinternal.skin.StyleSheetEntry.createEntry(StyleS
> heetEntry.java:70)
> at org.apache.myfaces.trinidadinternal.skin.SkinImpl._createStyleSheetDocument
> (SkinImpl.java:537)
> at org.apache.myfaces.trinidadinternal.skin.SkinImpl.getStyleSheetDocument(Ski
> nImpl.java:346)
> at org.apache.myfaces.trinidadinternal.skin.SkinExtension.getStyleSheetDocumen
> t(SkinExtension.java:527)
> at org.apache.myfaces.trinidadinternal.skin.SkinStyleProvider.createStyleSheet
> Document(SkinStyleProvider.java:158)
> at org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getSt
> yleSheetDocument(FileSystemStyleCache.java:638) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to