[jbosstools-issues] [JBoss JIRA] (JBIDE-14555) Wrong warning "Could not initialize class my.pkg.ArchiveBuilder" by Arquillian
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Mon May 27 04:55:07 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777094#comment-12777094 ]
Max Rydahl Andersen commented on JBIDE-14555:
---------------------------------------------
[~snjeza] looks like we need to handle this differently and also not log to aggressively (should have this at tracing not generally) ?
> 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.Beta1, 4.1.0.Beta2
>
>
> 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