Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807545, 1 year ago
com.sun.image.codec.jpeg.TruncatedFileException: Premature end of input file	at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)	at sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(JPEGImageDecoderImpl.java:210)	at com.sun.media.jai.codecimpl.JPEGImage.(JPEGImageDecoder.java:112)	at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:51)	at com.sun.media.jai.opimage.CodecRIFUtil.create(CodecRIFUtil.java:89)	at com.sun.media.jai.opimage.JPEGRIF.create(JPEGRIF.java:52)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)	at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)	at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)	at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)	at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:104)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)	at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)	at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)	at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)	at com.sun.media.jai.opimage.FileLoadRIF.create(FileLoadRIF.java:109)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)	at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)	at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)	at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)	at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:805)	at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:853)	at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:874)	at javax.media.jai.RenderedOp$1.getPropertyNames(RenderedOp.java:1777)	at javax.media.jai.PropertyEnvironment.mapDefaults(PropertyEnvironment.java:280)	at javax.media.jai.PropertyEnvironment.getPropertyNames(PropertyEnvironment.java:135)	at javax.media.jai.WritablePropertySourceImpl.addProperties(WritablePropertySourceImpl.java:306)	at javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1803)	at javax.media.jai.RenderedOp.getPropertyNames(RenderedOp.java:1837)	at javax.media.jai.PropertyEnvironment.hashNames(PropertyEnvironment.java:319)	at javax.media.jai.PropertyEnvironment.(PropertyEnvironment.java:125)	at javax.media.jai.DescriptorCache.getPropertySource(DescriptorCache.java:1198)	at javax.media.jai.OperationRegistry.getPropertySource(OperationRegistry.java:1941)	at javax.media.jai.ThreadSafeOperationRegistry.getPropertySource(ThreadSafeOperationRegistry.java:595)	at javax.media.jai.OperationRegistry.getPropertySource(OperationRegistry.java:1980)	at javax.media.jai.ThreadSafeOperationRegistry.getPropertySource(ThreadSafeOperationRegistry.java:608)	at javax.media.jai.OperationNodeSupport.getPropertySource(OperationNodeSupport.java:624)	at javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1800)	at javax.media.jai.RenderedOp.getProperty(RenderedOp.java:1924)