Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5953

Theme parser: class cast exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              jmorliaguet Jean-Marc Orliaguet
              Reporter:
              jmorliaguet Jean-Marc Orliaguet
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified