4 Replies Latest reply on Aug 16, 2014 9:30 AM by Snjezana Peco

    Error during running the JUnit Testing in JBoss Studio

    Anu Narayanan Newbie

      I am trying to run a test class as a JUnit in a sample application. I am getting the following error.

       

       

      log4j:WARN No appenders could be found for logger (org.jboss.logging).

       

      log4j:WARN Please initialize the log4j system properly.

       

      Aug 13, 2014 9:54:26 AM org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1 call

       

      WARNING: Exception encountered during export of archive

       

      org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to write asset to output: /WEB-INF/lib/arquillian-testenricher-ejb.jar

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$3.handle(StreamExporterDelegateBase.java:272)

       

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:219)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.processNode(StreamExporterDelegateBase.java:233)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:105)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.doExport(AbstractExporterDelegate.java:95)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.access$001(StreamExporterDelegateBase.java:50)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:121)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:116)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:124)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

       

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

      at java.lang.Thread.run(Thread.java:745)

       

      Caused by: java.io.IOException: Pipe closed

       

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

       

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

       

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

       

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

       

      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.closeEntry(JdkZipExporterDelegate.java:84)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.closeEntry(JdkZipExporterDelegate.java:40)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:265)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:233)

       

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:217)

       

      java.io.IOException: Pipe closed

       

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

       

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

       

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

       

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

       

      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)

       

      at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:343)

       

      at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)

       

      at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:360)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:148)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

       

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

      at java.lang.Thread.run(Thread.java:745)

       

      org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to write asset to output: /WEB-INF/lib/arquillian-testenricher-ejb.jar

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$3.handle(StreamExporterDelegateBase.java:272)

       

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:219)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.processNode(StreamExporterDelegateBase.java:233)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:105)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.doExport(AbstractExporterDelegate.java:95)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.access$001(StreamExporterDelegateBase.java:50)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:121)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:116)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:124)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

       

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

      at java.lang.Thread.run(Thread.java:745)

       

      Caused by: java.io.IOException: Pipe closed

       

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

       

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

       

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

       

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

       

      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.closeEntry(JdkZipExporterDelegate.java:84)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.closeEntry(JdkZipExporterDelegate.java:40)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:265)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:233)

       

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:217)

       

      java.io.IOException: Pipe closed

       

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

       

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

       

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

       

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

       

      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)

       

      at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:343)

       

      at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)

       

      at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:360)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:148)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

       

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

      at java.lang.Thread.run(Thread.java:745)

       

      org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to write asset to output: /WEB-INF/lib/arquillian-testenricher-ejb.jar

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$3.handle(StreamExporterDelegateBase.java:272)

       

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:219)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.processNode(StreamExporterDelegateBase.java:233)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:105)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.processNode(AbstractExporterDelegate.java:109)

       

      at org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate.doExport(AbstractExporterDelegate.java:95)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.access$001(StreamExporterDelegateBase.java:50)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:121)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$1.call(StreamExporterDelegateBase.java:116)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:124)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

       

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

      at java.lang.Thread.run(Thread.java:745)

       

      Caused by: java.io.IOException: Pipe closed

       

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

       

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

       

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

       

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

       

      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.closeEntry(JdkZipExporterDelegate.java:84)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate.closeEntry(JdkZipExporterDelegate.java:40)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:265)

       

      at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$2.execute(StreamExporterDelegateBase.java:233)

       

      at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:217)

       

      java.io.IOException: Pipe closed

       

      at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:261)

       

      at java.io.PipedInputStream.receive(PipedInputStream.java:227)

       

      at java.io.PipedOutputStream.write(PipedOutputStream.java:149)

       

      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)

       

      at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:238)

       

      at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:343)

       

      at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)

       

      at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:360)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:148)

       

      at org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1.call(JdkZipExporterDelegate.java:118)

       

      at java.util.concurrent.FutureTask.run(FutureTask.java:262)

       

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       

      at java.lang.Thread.run(Thread.java:745)