pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Instance of ReExceptionProperty did not understand #description

Open astares opened this issue 1 year ago • 1 comments

Sometimes in recent Pharo 13 Build information: Pharo-13.0.0+SNAPSHOT.build.45.sha.4b0c39f1e03477b4cc034fb0fd5213ccd0586bd1 (64 Bit) when I try to commit and Iceberg runs critiques run I get an error:

 **"Instance of ReExceptionProperty did not understand #description"**

In the debugger I can check the "aCritique" variable - it is an instance of ReExceptionProperty. It contains a stack with an issue

 "UndefinedObject(Object)>>doesNotUnderstand: #isUnclassifiedProtocol"

which seems to come from CompiledMethod>>#isClassified which looks like

isClassified

	^ self protocol isUnclassifiedProtocol not

Screenshot from 2024-05-14 21 25 08

astares avatar May 14 '24 19:05 astares

I think it happened only when I used the "Duplicate" function to duplicate a class and then late want to commit it together with changes on the original class. Maybe the method protocols do not get properly duplicated and their protocol seems to be nil?

astares avatar May 14 '24 19:05 astares

Been hit by this in Pharo 12 also... I've used the duplicate class option so maybe it's related as you mention

gcotelli avatar May 20 '24 23:05 gcotelli