[jbosstools-issues] [JBoss JIRA] (JBIDE-21058) JSF tests fail

Viacheslav Kabanovich (JIRA) issues at jboss.org
Thu Nov 5 15:16:00 EST 2015


Viacheslav Kabanovich created JBIDE-21058:
---------------------------------------------

             Summary: JSF tests fail
                 Key: JBIDE-21058
                 URL: https://issues.jboss.org/browse/JBIDE-21058
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: jsf
    Affects Versions: 4.4.0.Alpha1
            Reporter: Viacheslav Kabanovich
            Assignee: Viacheslav Kabanovich
             Fix For: 4.4.0.Alpha1


Multiple failures are caused by
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jsf.ui.JsfUiPlugin$PluginHolder
because of class cast exception at
(JsfUiPlugin)Platform.getPlugin(PLUGIN_ID)
since platform returned DefaultPlugin instead of JsfUiPlugin.

Pattern of initializing JsfUiPlugin is very uncommon and we should change it to the regular pattern in which static plugin instance is set in the constructor.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list