Theme parser: class cast exception
----------------------------------

                 Key: NXP-5953
                 URL: https://jira.nuxeo.org/browse/NXP-5953
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
            Reporter: Jean-Marc Orliaguet
            Assignee: Jean-Marc Orliaguet
             Fix For: 5.4


When loading themes from xml class cast exceptions can occur:

Caused by: java.lang.ClassCastException: 
org.nuxeo.theme.fragments.GenericFragment cannot be cast to 
org.nuxeo.theme.formats.styles.Style
        at 
org.nuxeo.theme.themes.ThemeManager.getNamedStyles(ThemeManager.java:989)
        at org.nuxeo.theme.themes.ThemeParser.loadTheme(ThemeParser.java:262)
        at 
org.nuxeo.theme.themes.ThemeParser.registerThemeFromInputStream(ThemeParser.java:173)
        at 
org.nuxeo.theme.themes.ThemeParser.registerTheme(ThemeParser.java:108)
        at org.nuxeo.theme.themes.ThemeManager.loadTheme(ThemeManager.java:1098)
        at org.nuxeo.theme.themes.ThemeManager.loadTheme(ThemeManager.java:1118)
        at 
org.nuxeo.theme.themes.ThemeManager.deleteTheme(ThemeManager.java:1183)
        at 
org.nuxeo.theme.themes.ThemeManager.uncustomizeTheme(ThemeManager.java:234)
        at org.nuxeo.theme.editor.Editor.uncustomizeTheme(Editor.java:548)
        at org.nuxeo.theme.editor.Main.uncustomizeTheme(Main.java:757)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to