You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2010/12/27 23:50:45 UTC

[jira] Created: (TRINIDAD-1988) do not show the entire stack when the trinidad-skin's stylesheet file cannot be found

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.


[jira] Commented: (TRINIDAD-1988) do not show the entire stack when the trinidad-skin's stylesheet file cannot be found

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


[jira] [Commented] (TRINIDAD-1988) do not show the entire stack when the trinidad-skin's stylesheet file cannot be found

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052776#comment-13052776 ] 

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

also checked in to the 1.2.12.6.0-branch in revision 1137848.

> 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
>            Assignee: Jeanne Waldman
>             Fix For: 2.0.0-beta-1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (TRINIDAD-1988) do not show the entire stack when the trinidad-skin's stylesheet file cannot be found

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975394#action_12975394 ] 

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

This is the stack I'm getting today. The stack above was from the original bug that was filed Feb, 2010.
java.io.FileNotFoundException: Unable to locate style sheet "skins/purple/purpleSkinABCcss" in local styles directory (C:\Documents and Settings\xyz\Application Data\JDeveloper\system\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.


[jira] Resolved: (TRINIDAD-1988) do not show the entire stack when the trinidad-skin's stylesheet file cannot be found

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman resolved TRINIDAD-1988.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:  2.0.0.2-core 
         Assignee: Jeanne Waldman

> 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
>            Assignee: Jeanne Waldman
>             Fix For:  2.0.0.2-core 
>
>
> 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.