Post by tsh73 on Mar 16, 2019 8:22:10 GMT -5
File
generate_chars_in_file.bas
(have to change path to writable, or opeining c:\... crashes instantly)
Then print to file changed to print (to a mainwin) does work.
Error log
generate_chars_in_file.bas
(have to change path to writable, or opeining c:\... crashes instantly)
Then print to file changed to print (to a mainwin) does work.
Error log
==2019/3/16==16:13:18==BEGIN RUNTIME DIAGNOSTIC DUMP
Note: this file stored in VisualWorks #source (UTF-8) encoding
Cause of Dump: Unhandled exception: No character available for character value 128
Smalltalk Version: 'VisualWorks®, Pre-Release 8.3.2 (apr18.3) of 20 апреля 2018 г.'
Object Memory versionId: #[172 47 76 176 83 2 3 4 172 47 76 176]
Class creating this dump: ErrorDumper
------------------------------------------------------------
Active Process
Process named: 'Unnamed Process'
Process priority: 50
Process identity hash: 4207
Context Stack:
[1] optimized [] in Director>>direct:
[2] BlockClosure>>cull:
[3] UnsupportedCharacterError(GenericException)>>performHandler:
[4] UnsupportedCharacterError(GenericException)>>propagatePrivateFrom:
[5] UnsupportedCharacterError(GenericException)>>propagateFrom:
[6] UnsupportedCharacterError(GenericException)>>propagate
[7] UnsupportedCharacterError(GenericException)>>raiseSignal
[8] optimized [] in Director>>direct:
[9] BlockClosure>>cull:
[10] UnsupportedCharacterError(GenericException)>>performHandler:
[11] UnsupportedCharacterError(GenericException)>>propagatePrivateFrom:
[12] UnsupportedCharacterError(GenericException)>>propagateFrom:
[13] UnsupportedCharacterError(GenericException)>>propagate
[14] UnsupportedCharacterError(GenericException)>>raiseSignal
[15] IllegalCharacterStreamErrorPolicy>>noEncodingFor:in:
[16] ByteStreamEncoder(StreamEncoder)>>noEncodingFor:in:
[17] ByteStreamEncoder>>write:on:
[18] EncodedStream>>nextPut:
[19] EncodedStream(Stream)>>next:putAll:startingAt:
[20] EncodedStream(Stream)>>nextPutAll:
[21] BasicFile>>writeItem:
[22] BasicFile>>writeItemCr:
[23] PrintHandleFrame>>animate:
[24] optimized [] in [] in Director>>direct:
[25] OrderedCollection>>do:
[26] optimized [] in Director>>direct:
[27] BlockClosure>>on:do:
[28] ForNextDirector(Director)>>direct:
[29] ForNextDirector>>for:direct:
[30] ForNextClip>>animate:
[31] optimized [] in [] in Director>>direct:
[32] OrderedCollection>>do:
[33] optimized [] in Director>>direct:
[34] BlockClosure>>on:do:
[35] ProgramDirector(Director)>>direct:
[36] ProgramDirector>>direct:
[37] ProgramDirector(Director)>>for:direct:
[38] ProgramDirector>>for:direct:
[39] Program>>runWithDirector:
[40] optimized [] in Program>>runForked
[41] BlockClosure>>on:do:
[42] optimized [] in Process class>>forBlock:priority:
------------------------------------------------------------
Unhandled Exception:
class: UnhandledException
creator: UnhandledException
errorString: Unhandled exception: No character available for character value 128
parameter: an UnsupportedCharacterError
==2019/3/16==16:13:18==END RUNTIME DIAGNOSTIC DUMP