[Glass] GemTools Debug error: MessageNotUnderstood: ByteArray>>gsSubStrings2:

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Tue Apr 21 10:33:12 PDT 2015


Thanks to Richard recognizing that the byte array looked like 
aDoubleByteString, we've gotten to the bottom of this ...

In 3.x  the oop of the DoubleByteString class changed.

In your case, the continuations string ended up with a double byte 
character somewhere and when the gci code checked the class of the 
response it found an unknown class and just returned a ByteArray which 
gave you the MNU ...

If you update to GemTools 1.0-beta8.7.1 (do a `show all` on the `Update 
GemTools menu`) you'll get the proper class oop for DoubleByteString  
and you should be able to move forward ...

Dale

On 04/21/2015 07:36 AM, Dario Trussardi via Glass wrote:
> Hi,
>
> i have i deployment GLASS 3.1.0.6 system and i have a problem when
>
> i work with GemTools Launcher - >=1.0-beta.8.7 
> [ConfigurationOfGemTools]   Debug menu options.
>
> In this case when i click on Debug menu option the system answer a 
> debug with title set to:  MessageNotUnderstood: ByteArray>>gsSubStrings2:
>
> the relative method is:  (  the **** mark the call )
>
>     execute
>
>     | labels values logEntries ans |
>
>     (self session executeStringNB: 'System needsCommit')
>
>     ifTrue: [ (self confirm: 'About to abortTransaction. Okay?') ~~
>     true ifTrue: [ ^self ]].
>
>     labels := OrderedCollection new.
>
>     values := OrderedCollection new.
>
>     labels add: 'Remove Continuations from Object Log'.
>
>     values add: #removeContinuations.
>
>     labels add: 'Clear Object Log'.
>
>     values add: #emptyObjectLog.
>
>     logEntries := self session jadeServer continuationsFromObjectLog.
>
>         ****** logEntries := logEntries gsSubStrings2: Character tab.
>
>     1 to: logEntries size by: 2 do: [:i |
>
>     labels add: (logEntries at: i).
>
>     values add: (logEntries at: i + 1)].
>
>     ans := OBChoiceRequest
>
>     prompt: 'Remote Debugging...'
>
>     labels: labels
>
>     values: values
>
>     lines: #(2).
>
>     ans == nil ifTrue: [ ^self ].
>
>     ans isSymbol ifTrue: [ ^self perform: ans ].
>
>     self session executeStringNB: 'OTRemoteDebugger debugContinuation:
>     (Object _objectForOop: ', ans, ' asNumber)'
>
>     The logEntries is aByteArray with size of 11500
>
>     #[97 0 32 0 77 0 101 0 115 0 115 0 97 0 103 0 101 0 78 0 111 0 116
>     0 85 0 110 0 100 0 101 0 114 0 115 0 116 0 111 0 111 0 100 0 32 0
>     111 0 99 0 99 0 117 0 114 0 114 0 101 0 100 0 32 0 40 0 101 0 114
>     0 114 0 111 0 114 0 32 0 50 0 48 0 49 0 48 0 41 0 44 0 32 0 97 0
>     32 0 77 0 65 0 79 0 110 0 101 0 84 0 111 0 77 0 97 0 110 0 121 0
>     67 0 111 0 109 0 112 0 111 0 110 0 101 0 110 0 116 0 32 0 100 0
>     111 0 101 0 115 0 32 0 110 0 111 0 116 0 32 0 117 0 110 0 100 0
>     101 0 114 0 115 0 116 0 97 0 110 0 100 0 32 0 32 0 35 0 39 0 100 0
>     101 0 115 0 99 0 114 0 105 0 112 0 116 0 105 0 111 0 110 0 39 0 9
>     0 49 0 51 0 57 0 54 0 54 0 54 0 53 0 51 0 52 0 53 0 9 0 97 0 32 0
>     77 0 101 0 115 0 115 0 97 0 103 0 101 0 78 0 111 0 116 0 85 0 110
>     0 100 0 101 0 114 0 115 0 116 0 111 0 111 0 100 0 32 0 111 0 99 0
>     99 0 117 0 114 0 114 0 101 0 100 0 32 0 40 0 101 0 114 0 114 0 111
>     0 114 0 32 0 50 0 48 0 49 0 48 0 41 0 44 0 32 0 97 0 32 0 67 0 104
>     0 97 0 114 0 97 0 99 0 116 0 101 0 114 0 32 0 100 0 111 0 101 0
>     115 0 32 0 110 0 111 0 116 0 32 0 117 0 110 0 100 0 101 0 114 0
>     115 0 116 0 97 0 110 0 100 0 32 0 32 0 35 0 39 0 97 0 115 0 85 0
>     110 0 105 0 99 0 111 0 100 0 101 0 83 0 116 0 114 0 105 0 110 0
>     103 0 39 0 9 0 50 0 50 0 51 0 57 0 54 0 51 0 50 0 56 0 57 0 55 0 9
>     0 97 0 32 0 77 0 101 0 115 0 115 0 97 0 103 0 101 0 78 0 111 0 116
>     0 85 0 110 0 100 0 101 0 114 0 115 0 116 0 111 0 111 0 100 0 32 0
>     111 0 99 0 99 0 117 0 114 0 114 0 101 0 100 0 32 0 40 0 101 0 114
>     0 114 0 111 0 114 0 32 0 50 0 48 0 49 0 48 0 41 0 44 0 32 0 97 0
>     32 0 67 0 104 0 97 0 114 0 97 0 99 0 116 0 101 0 114 0 32 0 100 0
>     111 0 101 0 115 0 32 0 110 0 111 0 116 0 32 0 117 0 110 0 100 0
>     101 0 114 0 115 0 116 0 97 0 110 0 100 0 32 0 32 0 35 0 39 0 97 0
>     115 0 85 0 110 0 105 0 99 0 111 0 100 0 101 0 83 0 116 0 114 0 105
>     0 110 0 103 0 39 0 9 0 50 0 50 0 51 0 53 0 56 0 57 0 54 0 53 0 55
>     0 55 0 9 0 97 0 32 0 77 0 101 0 115 0 115 0 97 0 103 0 101 0 78 0
>     111 0 116 0 85 0 110 0 100 0 101 0 114 0 115 0 116 0 111 0 111 0
>     100 0 32 0 111 0 99 0 99 0 117 0 114 0 114 0 101 0 100 0 32 0 40 0
>     101 0 114 0 114 0 111 0 114 0 32 0 50 0 48 0 49 0 48 0 41 0 44 0
>     32 0 97 0 32 0 67 0 104 0 97 0 114 0 97 0 99 0 116 0 101 0 114 0
>     32 0 100 0 111 0 101 0 115 0 32 0 110 0 111 0 116 0 32 0 117 0 110
>     0 100 0 101 0 114 0 115 0 116 0 97 0 110 0 100 0 32 0 32 0 35 0 39
>     0 97 0 115 0 85 0 110 0 105 0 99 0 111 0 100 0 101 0 83 0 116 0
>     114 0 105 0 110 0 103 0 39 0 9 0 50 0 50 0 51 0 56 0 53 0 55 0 56
>     0 49 0 55 0 55 0 9 0 97 0 32 0 77 0 101 0 115 0 115 0 97 0 103 0
>     101 0 78 0 111 0 116 0 85 0 110 0 100 0 101 0 114 0 115 0 116 0
>     111 0 111 0 100 0 32 0 111 0 99 0 99 0 117 0 114 0 114 0 101 0 100
>     0 32 0 40 0 101 0 114 0 114 0 111 0 114 0 32 0 50 0 48 0 49 0 48 0
>     41 0 44 0 32 0 97 0 32 0 67 0 104 0 97 0 114 0 97 0 99 0 116 0 101
>     0 114 0 32 0 100 0 111 0 101 0 115 0 32 0 110 0 111 0 116 0 32 0
>     117 0 110 0 100 0 101 0 114 0 115 0 116 0 97 0 110 0 100 0 32 0 32
>     0 35 0 39 0 97 0 115 0 85 0 110 0 105 0 99 0 111 0 100 0 101 0 83
>     0 116 0 114 0 105 0 110 0 103 0 39 0 9 0 50 0 50 0 52 0 49 0 55 0
>     54 0 52 0 48 0 57 0 55 0 9 0 97 0 32 0 77 0 101 0 115 0 115 0 97 0
>     103 0 101 0 78 0 111 0 116 0 85 0 110 0 100 0 101 0 114 0 115 0
>     116 0 111 0 111 0 100 0 32 0 111 0 99 0 99 0 117 0 114 0 114 0 101
>     0 100 0 32 0 40 0 101 0 114 0 114 0 111 0 114 0 32 0 50 0 48 0 49
>     0 48 0 41 0 44 0 32 0 97 0 32 0 67 0 104 0 97 0 114 0 97 0 99 0
>     116 0 101 0 114 0 32 0 100 0 111 0 101 0 115 0 32 0 110 0 111 0
>     116 0 32 0 117 0 110 0 100 0 101 0 114 0 115 0 116 0 97 0 110 0
>     100 0 32 0 32 0 35 0 39 0 97 0 115 0 85 0 110 0 105 0 99 0 111 0
>     100 0 101 0 83 0 116 0 114 0 105 0 110 0 103 0 39 0 9 0 50 0 50 0
>     51 0 57 0 53 0 50 0 49 0 50 0 56 0 49 0 9 0 97 0 32 0 77 0 101 0
>     115 0 115 0 97 0 103 0 101 0 78 0 111 0 116 0 85 0 110 0 100 0 101
>     0 114 0 115 0 116 0 111 0 111 0 100 0 32 0 111 0 99 0 99 0 117 0
>     114 0 114 0 101 0 100 0 32 0 40 0 101 0 114 0 114 0 111 0 114 0 32
>     0 50 0 48 0 49 0 48 0 41 0 44 0 32 0 97 0 32 0 67 0 104 0 97 0 114
>     0 97 0 99 0 116 0 101 0 114 0 32 0 100 0 111 0 101 0 115 0 32 0
>     110 0 111 0 116 0 32 0 117 0 110 0 100 0 101 0 114 0 115 0 116 0
>     97 0 110 0 100 0 32 0 32 0 35 0 39 0 97 0 115 0 85 0 110 0 105 0
>     99 0 111 0 100 0 101 0 83 0 116 0 114 0 105 0 110 0 103 0 39 0 9 0
>     50 0 50 0 52 0 49 0 54 0 54 0 48 0 57 0 50 0 57 0 9 0 97 0 32 0 77
>     0 101 0 115 0 115 0 97 0 103 0 101 0 78 0 111 0 116 0 85 0 110 0
>     100 0 101 0 114 0 115 0 116 0 111 0 111 0 100 0 32 0 111 0 99 0 99
>     0 117 0 114 0 114 0 101 0 100 0 32 0 40 0 101 0 114 0 114 0 111 0
>     114 0 32 0 50 0 48 0 49 0 48 0 41 0 44 0 32 0 97 0 32 0 67 0 104 0
>     97 0 114 0 97 0 99 0 116 0 101 0 114 0 32 0 100 0 111 0 101 0 115
>     0 32 0 110 0 111 0 116 0 32 0 117 0 110 0 100 0 101 0 114 0 115 0
>     116 0 97 0 110 0 100 0 32 0 32 0 35 0 39 0 97 0 115 0 85 0 110 0
>     105 0 99 0 111 0 100 0 101 0 83 0 116 0 114 0 105 0 110 0 103 0 39
>     0 9 0 50 0 50 0 51 0 56 0 52 0 53 0 54 0 56 0 51 0 51 0 9 0 97 0
>     32 0 77 0 101 0 115 0 115 0 97 0 103 0 101 0 78 0 111 0 116 0 85 0
>     110 0 100 0 101 0 114 0 115 0 116 0 111 0 111 0 100 0 32 0 111 0
>     99 ...etc...
>
>      Some considerations ?
>
>
>     Thanks,
>
>     Dario
>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150421/f713fe8c/attachment-0001.html>


More information about the Glass mailing list