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

Daniel Cunha (JIRA) issues at jboss.org
Sat Dec 20 10:20:29 EST 2014


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

Daniel Cunha commented on FORGE-1828:
-------------------------------------

I catch same problem.

But the log doesn't show stacktrace.
Forge show only this msg: 
Exception when parsing/running: arquillian-setup, org.jboss.forge.arquillian.container.index.ContainerDirectoryParser cannot be cast to org.jboss.forge.arquillian.container.index.ContainerDirectoryParser

> 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
>             Fix For: 2.x Future
>
>
> 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.3.11#6341)


More information about the forge-issues mailing list