Unable to read beyond the end of the stream - when Compiling

wolvo66

Member
Licensed User
Longtime User
Hi,
I wonder if anyone can give me some advice with this ...
I suddenly started getting this error immediately during compiling:

Compiling code. Error
Unable to read beyond the end of the stream.

It gives no clue of the source & why does it happen during compilation?
I've tried removing everything in my app related to AsyncStreams but it doesn't help. (although a new project builds ok, so it must be something in my code)

Everything was working fine, I don't think I changed anything then suddenly this.

Any ideas?
Thanks!
 

wolvo66

Member
Licensed User
Longtime User
Ok now I found the problem
Export as zip was also giving the same error! "Unable to read beyond the end of the stream."
The problem was a corrupt designer .BAL file. I don't know how that happened.
Removing that from the project fixed it.

Thanks again for the fast help!
 
Upvote 0

mtryan64

New Member
Licensed User
Longtime User
Erel I had a similar problem with "Unable to read beyond the end of the stream".
However this was caused when i saved an earlier version .bal file with an updated b4a version & then tried to open it back on another machine with a lower version of b4a.
My question is there a way to open this file/convert back so that the .bal can be opened on the older b4a designer??
Thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

mtryan64

New Member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…