Error 23000

Message

Possible error messages:

Without Resource Bundle (default)
  • Stream not open
  • <Empty error message>
  • Either openForRead() or openForWrite() must be called before close()
  • openForWrite() must be called before flush()
  • openForWrite() must be called first
  • openForRead() must be called first!
With Resource Bundle
  • stream not open
Domain Persistence.StreamNotOpenException
Number 23000
Label STREAM_NOT_OPEN
Applicable Platform(s) Android, BlackBerry, Windows Mobile

Cause

When calling BigString or BigBinary API, some methods (read\seek\write\close\flush) require the object to be open.

Action

Call BigString.openForWrite\openFileRead or BigBinary.openFileWrite\openForRead before calling the method from which the exception has been thrown.