ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From __matthewHawthorne <ma...@phreaker.net>
Subject "Bad file descriptor" in image task
Date Sat, 27 Sep 2003 04:01:12 GMT
While attempting to use the image task, I ran into this error.

Error: IOException occurs when search for propriate codecs.
     [image] Occurs in: com.sun.media.jai.codec.ImageCodec
     [image] java.io.IOException: Bad file descriptor



Has anyone else seen anything like this?


thumbnails:
     [mkdir] Created dir: 
/home/subterfusion/files/tech/appdev/projects/parallax-patoca/build/final
     [image] Processing File: 
/home/subterfusion/files/tech/appdev/projects/parallax-patoca/images/colo/colo_01.jpg
	Scaling to 100.0% x 100.0%
     [image] Error: IOException occurs when search for propriate codecs.
     [image] Occurs in: com.sun.media.jai.codec.ImageCodec
     [image] java.io.IOException: Bad file descriptor
     [image] 	at java.io.RandomAccessFile.seek(Native Method)
     [image] 	at 
com.sun.media.jai.codec.FileSeekableStream.readPage(FileSeekableStream.java:141)
     [image] 	at 
com.sun.media.jai.codec.FileSeekableStream.read(FileSeekableStream.java:181)
     [image] 	at 
com.sun.media.jai.codec.SeekableStream.readFully(SeekableStream.java:327)
     [image] 	at 
com.sun.media.jai.codec.SeekableStream.readFully(SeekableStream.java:306)
     [image] 	at 
com.sun.media.jai.codec.ImageCodec.getDecoderNames(ImageCodec.java:274)
     [image] 	at 
com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:80)
     [image] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [image] 	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [image] 	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [image] 	at java.lang.reflect.Method.invoke(Method.java:324)
     [image] 	at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
     [image] 	at 
javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1682)
     [image] 	at 
javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
     [image] 	at 
javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:830)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:810)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:810)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at javax.media.jai.JAI.createNS(JAI.java:1103)
     [image] 	at javax.media.jai.JAI.create(JAI.java:977)
     [image] 	at javax.media.jai.JAI.create(JAI.java:1672)
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.processFile(Image.java:233)
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.execute(Image.java:306)
     [image] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:303)
     [image] 	at org.apache.tools.ant.Task.perform(Task.java:401)
     [image] 	at org.apache.tools.ant.Target.execute(Target.java:338)
     [image] 	at org.apache.tools.ant.Target.performTasks(Target.java:365)
     [image] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
     [image] 	at 
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
     [image] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
     [image] 	at org.apache.tools.ant.Main.startAnt(Main.java:220)
     [image] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:213)
     [image] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
     [image] java.lang.RuntimeException: - Unable to render RenderedOp 
for this operation.
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.processFile(Image.java:248)
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.execute(Image.java:306)
     [image] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:303)
     [image] 	at org.apache.tools.ant.Task.perform(Task.java:401)
     [image] 	at org.apache.tools.ant.Target.execute(Target.java:338)
     [image] 	at org.apache.tools.ant.Target.performTasks(Target.java:365)
     [image] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
     [image] 	at 
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
     [image] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
     [image] 	at org.apache.tools.ant.Main.startAnt(Main.java:220)
     [image] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:213)
     [image] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
     [image] Caused by: java.lang.RuntimeException: - Unable to render 
RenderedOp for this operation.
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:838)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:810)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:810)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at javax.media.jai.JAI.createNS(JAI.java:1103)
     [image] 	at javax.media.jai.JAI.create(JAI.java:977)
     [image] 	at javax.media.jai.JAI.create(JAI.java:1672)
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.processFile(Image.java:233)
     [image] 	... 11 more
     [image] --- Nested Exception ---
     [image] java.lang.RuntimeException: - Unable to render RenderedOp 
for this operation.
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:838)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:810)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at 
javax.media.jai.RenderedOp.createInstance(RenderedOp.java:810)
     [image] 	at 
javax.media.jai.RenderedOp.createRendering(RenderedOp.java:878)
     [image] 	at 
javax.media.jai.RenderedOp.getRendering(RenderedOp.java:899)
     [image] 	at javax.media.jai.JAI.createNS(JAI.java:1103)
     [image] 	at javax.media.jai.JAI.create(JAI.java:977)
     [image] 	at javax.media.jai.JAI.create(JAI.java:1672)
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.processFile(Image.java:233)
     [image] 	at 
org.apache.tools.ant.taskdefs.optional.image.Image.execute(Image.java:306)
     [image] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:303)
     [image] 	at org.apache.tools.ant.Task.perform(Task.java:401)
     [image] 	at org.apache.tools.ant.Target.execute(Target.java:338)
     [image] 	at org.apache.tools.ant.Target.performTasks(Target.java:365)
     [image] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
     [image] 	at 
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
     [image] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
     [image] 	at org.apache.tools.ant.Main.startAnt(Main.java:220)
     [image] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:213)
     [image] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)

BUILD FAILED


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message