[jbosstools-issues] [JBoss JIRA] (JBIDE-14555) Wrong warning "Could not initialize class my.pkg.ArchiveBuilder" by Arquillian

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Thu Jun 27 14:43:21 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco updated JBIDE-14555:
----------------------------------

    Fix Version/s: 4.1.0.Final
                       (was: 4.1.0.CR1)

    
> Wrong warning "Could not initialize class my.pkg.ArchiveBuilder" by Arquillian
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-14555
>                 URL: https://issues.jboss.org/browse/JBIDE-14555
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: testing-tools
>    Affects Versions: 4.1.0.Beta1
>            Reporter: Juergen Zimmermann
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 4.1.0.Final
>
>
> I'm using JBoss Tools 41-Update-2013-05-19_01-13-51-B207 having the new Arquillian component.
> I'm getting a warning  "Could not initialize class my.pkg.ArchiveBuilder" in all Arquillian-based test classes.
> In fact my ArchiveBuilder isn't a regular class, but it's an enum:
> public enum ArchiveBuilder {
> INSTANCE;
> private final WebArchive archive = ShrinkWrap.create(WebArchive.class, "shop.war");
> private ArchiveBuilder() {...}
> public static ArchiveBuilder getInstance() { return INSTANCE; }
> public Archive<? extends Archive<?>> getArchive() { return archive; }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list