-
Bug
-
Resolution: Done
-
Blocker
-
1.1.0
-
None
Trace:
java.lang.ExceptionInInitializerError at org.jboss.shrinkwrap.api.ShrinkWrap.getDefaultDomain(ShrinkWrap.java:108) at org.jboss.shrinkwrap.api.ArchivePaths.createInstance(ArchivePaths.java:115) at org.jboss.shrinkwrap.api.ArchivePaths.create(ArchivePaths.java:51) at org.jboss.shrinkwrap.impl.base.ArchiveBase.addAsDirectory(ArchiveBase.java:381) at org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl.importFrom(ZipImporterImpl.java:115) at org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl.importFrom(ZipImporterImpl.java:45) at org.jboss.arquillian.daemon.server.NettyServer$DeployHandlerAdapter.inboundBufferUpdated(NettyServer.java:315)
This is because we rely upon the default Domain to obtain the ArchivePath implementation:
final Class<?> archivePathImplClass; try { archivePathImplClass = ClassLoaderSearchUtil.findClassFromClassLoaders(PATH_IMPL, ShrinkWrap .getDefaultDomain().getConfiguration().getClassLoaders()); } catch (final ClassNotFoundException cnfe) { throw new IllegalStateException("Could not find the archive path implementation class " + PATH_IMPL + " in any configured ClassLoader", cnfe); }