You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Charles Moulliard <cm...@gmail.com> on 2009/06/23 09:36:38 UTC
Strange error in Apache Karaf : Thread ....
Hi,
When I launch Apache Karaf with my project, I see this error in the log of
the console :
karaf@root:/> Exception in thread "Thread-15" 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)
Exception in thread "Thread-16" 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)
Any idea ?
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
Re: Strange error in Apache Karaf : Thread ....
Posted by Charles Moulliard <cm...@gmail.com>.
Ticket has been opened in OPS4J ;-)
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
On Tue, Jun 23, 2009 at 10:22 AM, Alin Dreghiciu <ad...@gmail.com>wrote:
> Its a Pax Url bug. So maybe better to move t to OPS4J lst.I have to look
> back as I recall encountering this before.
>
> On Tue, Jun 23, 2009 at 9:36 AM, Charles Moulliard <cmoulliard@gmail.com
> >wrote:
>
> > Hi,
> >
> > When I launch Apache Karaf with my project, I see this error in the log
> of
> > the console :
> >
> > karaf@root:/> Exception in thread "Thread-15"
> 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)
> > Exception in thread "Thread-16" 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)
> >
> > Any idea ?
> >
> > Charles Moulliard
> > Senior Enterprise Architect
> > Apache Camel Committer
> >
> > *****************************
> > blog : http://cmoulliard.blogspot.com
> >
>
>
>
> --
> Alin Dreghiciu
> Software Developer - Looking for new projects!
> My profile: http://www.linkedin.com/in/alindreghiciu
> My blog: http://adreghiciu.blogspot.com
> http://www.ops4j.org - New Energy for OSS Communities - Open Participation
> Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
>
Re: Strange error in Apache Karaf : Thread ....
Posted by Alin Dreghiciu <ad...@gmail.com>.
Its a Pax Url bug. So maybe better to move t to OPS4J lst.I have to look
back as I recall encountering this before.
On Tue, Jun 23, 2009 at 9:36 AM, Charles Moulliard <cm...@gmail.com>wrote:
> Hi,
>
> When I launch Apache Karaf with my project, I see this error in the log of
> the console :
>
> karaf@root:/> Exception in thread "Thread-15" 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)
> Exception in thread "Thread-16" 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)
>
> Any idea ?
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>
--
Alin Dreghiciu
Software Developer - Looking for new projects!
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.