FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   Unexpected end of ZLIB input stream
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Unexpected end of ZLIB input stream  (Read 8996 times)
depth

WWW Email
Unexpected end of ZLIB input stream
« on: Mar 27th, 2004, 1:23am »

i dunno what happened, but lately p5 has been giving me the following error on startup and loading/saving sketches.  other than that, it works fine...just weird that the error always pops up.
 
* * * * * * * * * *
java.io.EOFException: Unexpected end of ZLIB input stream
 at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
 at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
 at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87)
 at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
 at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
 at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
 at java.io.InputStreamReader.read(InputStreamReader.java:167)
 at java.io.BufferedReader.fill(BufferedReader.java:136)
 at java.io.BufferedReader.readLine(BufferedReader.java:299)
 at java.io.BufferedReader.readLine(BufferedReader.java:362)
 at PdeBase.rebuildHistoryMenu(PdeBase.java:890)
 at PdeBase.rebuildHistoryMenu(PdeBase.java:859)
 at PdeEditor.handleOpen(PdeEditor.java:1174)
 at PdeEditor.skOpen2(PdeEditor.java:1114)
 at PdeEditor.checkModified2(PdeEditor.java:1031)
 at PdeEditor.checkModified(PdeEditor.java:1022)
 at PdeEditor.skOpen(PdeEditor.java:110
 at PdeEditor.init(PdeEditor.java:329)
 at PdeBase.<init>(PdeBase.java:603)
 at PdeBase.main(PdeBase.java:170)
* * * * * * * * * *
 
fry


WWW
Re: Unexpected end of ZLIB input stream
« Reply #1 on: Mar 28th, 2004, 8:25pm »

this looks like the history file of one of your sketches has gone corrupt.. hmm..
 
depth

WWW Email
Re: Unexpected end of ZLIB input stream
« Reply #2 on: Apr 7th, 2004, 6:17am »

yep, it doesn't happen on all sketches.  i thought it did at first, but i've isolated it to just a few of them...you want to take a look at the history files?
 
fry


WWW
Re: Unexpected end of ZLIB input stream
« Reply #3 on: Apr 13th, 2004, 7:52pm »

i'll make a note to look and see if something dumb is happening (it's possible that the stream isn't getting flushed).. that might be causing corruption in a small number of cases like what you're seeing.
 
seltar


Re: Unexpected end of ZLIB input stream
« Reply #4 on: Mar 11th, 2005, 11:06pm »

Code:

java.io.EOFException: Unexpected end of ZLIB input stream
      at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
      at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:87)
      at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
      at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
      at java.io.InputStreamReader.read(InputStreamReader.java:167)
      at java.io.BufferedReader.fill(BufferedReader.java:136)
      at java.io.BufferedReader.readLine(BufferedReader.java:299)
      at java.io.BufferedReader.readLine(BufferedReader.java:362)
      at PdeBase.rebuildHistoryMenu(PdeBase.java:887)
      at PdeBase.rebuildHistoryMenu(PdeBase.java:856)
      at PdeEditor.handleOpen(PdeEditor.java:1180)
      at PdeEditor.skOpen2(PdeEditor.java:1120)
      at PdeEditor.checkModified2(PdeEditor.java:1037)
      at PdeEditor.checkModified(PdeEditor.java:1028)
      at PdeEditor.skOpen(PdeEditor.java:1114)
      at PdeBase$SketchbookMenuListener.actionPerformed(PdeBase.java:716)
      at java.awt.MenuItem.processActionEvent(MenuItem.java:588)
      at java.awt.MenuItem.processEvent(MenuItem.java:548)
      at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
      at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.java:197)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

 
I'm getting this error, which is a bit different in the end than the one mentioned in the top here.. the program runs without a glitch.. just wondering if there's a flaw with my code, or something else..
 
-seltar
« Last Edit: Mar 11th, 2005, 11:08pm by seltar »  
Pages: 1 

« Previous topic | Next topic »