[forge-issues] [JBoss JIRA] (FORGE-1828) Installing the same Addon twice cause ClassCastException in Eclipse

Aslak Knutsen (JIRA) issues at jboss.org
Fri May 16 12:49:56 EDT 2014


    [ https://issues.jboss.org/browse/FORGE-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968506#comment-12968506 ] 

Aslak Knutsen commented on FORGE-1828:
--------------------------------------

Extra hint, ContainerDirectoryParser is @ApplicationScoped

> Installing the same Addon twice cause ClassCastException in Eclipse
> -------------------------------------------------------------------
>
>                 Key: FORGE-1828
>                 URL: https://issues.jboss.org/browse/FORGE-1828
>             Project: Forge
>          Issue Type: Bug
>          Components: UI - Eclipse
>            Reporter: Aslak Knutsen
>
> Steps:
> * addon-build-and-install
> * execute plugin
> * addon-build-and-install
> * execute plugin
> ** Might fail on ClassCastException due to two different ClassLoaders operating on the same Class.
>  java.lang.ClassCastException: 
>            org.jboss.forge.arquillian.container.index.ContainerDirectoryParser 
>                cannot be cast to 
>                org.jboss.forge.arquillian.container.index.ContainerDirectoryParser



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the forge-issues mailing list