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

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Thu May 30 11:40:54 EDT 2013


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

Juergen Zimmermann commented on JBIDE-14555:
--------------------------------------------

1) I'm getting errors like these:
!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.817
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.833
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.864
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.880
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.895
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.911
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

!ENTRY org.jboss.tools.arquillian.core 4 0 2013-05-30 17:33:09.942
!MESSAGE Could not initialize class de.shop.util.ArchiveBuilder

2) It's hard to reproduce now because I'm also getting with the latest release (not related to this issue, but afterwards the workspace is broken and not usable anymore): 
!ENTRY org.eclipse.core.jobs 4 2 2013-05-30 17:33:24.997
!MESSAGE An internal error occurred during: "Updating Maven Project".
!STACK 0
javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__DocumentBuilderFactory not found
                
> 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