[ http://issues.ops4j.org/browse/PAXURL-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105#action_13105 ]
Charles Moulliard commented on PAXURL-59: ----------------------------------------- I have found the issue. In one of my bundle (quickfix-all-1.4.0.jar) generated using PAX command, the following line has been added in the manifest Generated-By-Ops4j-Pax-From: wrap:mvn:org.quickfixj/quickfixj-all/1.4. 0,file:///d:/temp/quickfixj-all-1.4.0.bnd As the file d:/temp/quickfixj-all-1.4.0.bnd is not longer present on my PC, BndUtils generated the error. Should be the case, I don't know ? Remark : With the new version of PAX URL, the error is reported on the console ;-). This is why I have understand > Bundle cannot be generated at > org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:138) > ------------------------------------------------------------------------------------- > > Key: PAXURL-59 > URL: http://issues.ops4j.org/browse/PAXURL-59 > Project: Pax URL > Issue Type: Bug > Reporter: Charles Moulliard > Assignee: Alin Dreghiciu > Fix For: (non fixable) > > > Hi, > When I start Apache Karaf with my project, the following error is displayed > in the log of the console : > ka...@root:/> Exception in thread "Thread-13" java.lang.RuntimeException: > Bundle cannot be generated > at org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:138) > Caused by: java.io.IOException: Pipe closed > at > java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244) > at java.io.PipedInputStream.receive(PipedInputStream.java:185) > at java.io.PipedOutputStream.write(PipedOutputStream.java:105) > at java.util.zip.ZipOutputStream.writeShort(ZipOutputStream.java:436) > at java.util.zip.ZipOutputStream.writeLOC(ZipOutputStream.java:334) > at > java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:179) > at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:92) > at aQute.lib.osgi.Jar.writeResource(Jar.java:260) > at aQute.lib.osgi.Jar.write(Jar.java:190) > at org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:134) > Exception in thread "Thread-14" java.lang.RuntimeException: Bundle cannot be > generated > at org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:138) > Caused by: java.io.IOException: Pipe closed > at > java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244) > at java.io.PipedInputStream.receive(PipedInputStream.java:210) > at java.io.PipedOutputStream.write(PipedOutputStream.java:132) > at > java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161) > at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196) > at aQute.lib.osgi.Jar.writeResource(Jar.java:267) > at aQute.lib.osgi.Jar.write(Jar.java:190) > at org.ops4j.pax.url.bnd.BndUtils$1.run(BndUtils.java:134) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general