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

Richard Sargent via Glass glass at lists.gemtalksystems.com
Tue Apr 21 09:07:10 PDT 2015


GLASS mailing list 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.

Dario, one of the things you should investigate is where #gsSubStrings2: is
implemented (I'm guessing on String or a superclass). Whatever you find, the
next question is why #continuationsFromObjectLog didn't return in instance
of such a class. Related to this question is what are the *unusual*
characteristics of the ByteArray. 

Looking at the bytes in your report, it seems that you may have encountered
Unicode (living in Europe exposes you to issues seldom observed on this side
of the pond!). Notice how there is a regular pattern of non-zero followed by
0 bytes? 

At this point, it definitely looks like there is a problem in the base code
rather than your application. You may have out-dated tools installed. It is
also possible that you have discovered a place where the assumption of ASCII
exists but shouldn't.



>             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 .gemtalksystems

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
View this message in context: http://forum.world.st/Glass-GemTools-Debug-error-MessageNotUnderstood-ByteArray-gsSubStrings2-tp4820841p4820927.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list