[Glass] SIXX error read into Gemstone

Dario Trussardi dario.trussardi at tiscali.it
Tue Jul 2 01:44:40 PDT 2013


Dale,

> Dario,
> 
> I've taken a look at the tests and they are running clean on 3.1.0.4 except for two UTF8 related issues ... I don't think your error is related to UTF8 from the looks of the stack ... I'm still working on fixing the bug..
> 
> From poking in the code, the formatter is used as an alternative to creating instances from classes, so in your particular case the SIXX was produced supplying a formatter ... knowing the name of the formatter and some information about the element that is being reified would probably help understand the error ...
> 
> The only places I've found that formatters are used is in tests:
> 
> SixxFormatterTestCase>>testLiteralArrayReadWrite
> SixxFormatterTestCase>>testBagReadWrite
> 
> So perhaps you need to check the environment that produced your SIXX file and see if there are any fomatters produced ... senders of:

The same file is right read from Gemstone 3.1.0.2 .

I remember to have some problem with SIXX into Gemstone 3.1.0.2 :
	
> Dario,
> 
> The fact that SIXX.310-dkh.175 is not in the ancestor list for SIXX.310-DTR.176 means that Monticello doesn't think that you merged. Nonetheless, I've looked at SIXX.310-DTR.176 and it contins the fixes from SIXX.310-dkh.175, so we're cool there...
> 
> If you change the contents of a repository while you are looking at it through the repository browser, you won't see the new contents until you refresh or open a new browser ... it is too expensive to automtically reread the repository contents every time...
> 
> I've updated the configuration with your new package ...
> 
> It looks like there a few DoubleByte related tests that aren't passing, so I'll check into them as well ...
> 
> Dale

The following code :

Object readSixxFrom: 	'<sixx.object sixx.id="72"
	sixx.name="cllOrarioServizioSaturday" sixx.type="SortedCollection"
	>
								<sixx.object sixx.id="76" sixx.type="SmallInteger"
								>30</sixx.object>
								<sixx.object sixx.id="77" sixx.type="SmallInteger"
								>40</sixx.object>
								<sixx.object sixx.id="78" sixx.type="SmallInteger"
								>20</sixx.object>
								<sixx.object sixx.id="79" sixx.type="SmallInteger"
								>50</sixx.object>
							</sixx.object>'

is right interpreter into Gemstone 3.1.0.2

into Gemstone 3.1.0.4 generate the error as report in the previous e-mail :

	a Halt occurred (error 2709), Debug Warning: a SixxFormatterNotFound occurred (notification 2731):  -  G/S[MonvisoSeaside3104 IP100:1]

Thanks,

	Dario


> 
> SixxContext class>>applyFormatters:while:
> 
> Dale
> 
> ----- Original Message -----
> | From: "Dario Trussardi" <dario.trussardi at tiscali.it>
> | To: glass at lists.gemtalksystems.com
> | Sent: Monday, July 1, 2013 3:42:20 PM
> | Subject: [Glass] SIXX error read into Gemstone
> | 
> | Ciao,
> | 
> | 	i have a SIXX file generating by Pharo.
> | 
> | 	Now i need to read it in Gemstone 3.1.0.4  where i load:
> | 
> | 		ConfigurationOfGsSIXX project currentVersion  >=0.3-c.1
> | 		[ConfigurationOfGsSIXX]
> | 
> | 	When i do the command:
> | 
> | 		DTRConfig readSixxFileNamed: 'BonicelliPorting.sixx'
> | 
> | 	the system erase the error :
> | 
> | 	a Halt occurred (error 2709), Debug Warning: a SixxFormatterNotFound
> | 	occurred (notification 2731):  -  G/S[MonvisoSeaside3104 IP100:2]
> | 
> | AbstractException >> _signalWith: (envId 0)
> | AbstractException >> signal: (envId 0)
> | AbstractException class >> signal: (envId 0)
> | Object >> halt: (envId 0)
> | Warning >> defaultAction (envId 0)
> | SixxWarning >> defaultAction (envId 0)
> | AbstractException >> _signalWith: (envId 0)
> | AbstractException >> signal (envId 0)
> | SixxWarning class >> signal:element:context: (envId 0)
> | Behavior >> formatterFromSixxElement:for:context: (envId 0)
> | Behavior >> newInstanceFromSixxElement:context: (envId 0)
> | Behavior >> fromSixxElement:context: (envId 0)
> | Behavior >> readSixxFromSixxElement:context: (envId 0)
> | Behavior >> readSixxFrom:context:persistentRoot: (envId 0)
> | Behavior >> readSixxFrom: (envId 0)
> | DTRConfig class >> readSixxFileNamed: (envId 0)
> | Executed Code
> | String >> evaluateInContext:symbolList: (envId 0)
> | JadeServer >> evaluate:inContext: (envId 0)
> | JadeServer >> printIt:in: (envId 0)
> | GsNMethod class >> _gsReturnToC (envId 0)
> | 
> | 	
> | The statement:
> | 
> | formatterFromSixxElement: sixxElement for: aClass context: dictionary
> | 	| formatterName env resolver formatter |
> | 	formatterName := self formatterNameFromSixxElement: sixxElement.
> |  	formatterName isNil ifTrue: [^nil].
> | 	env := self envFromSixxElement: sixxElement.
> | 	resolver := dictionary formatterResolver.
> | 	formatter :=  resolver formatterAt: aClass in: env.
> | 	
> | 	^ formatter isNil
> | 		ifTrue: [SixxFormatterNotFound
> | 				signal: formatterName
> | 				element: sixxElement
> | 				context: dictionary]
> | 		ifFalse: [formatter]
> | 	
> | where 	formatterName		 is set to 		#''
> | 
> | 
> | Any idea ?
> | 
> | Dale i have doubt about the	 ConfigurationOfGsSIXX 		version03c1:
> | spec
> | 	
> | 	it's correct defined ?
> | 
> | 	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/20130702/6e060ee0/attachment-0001.html>


More information about the Glass mailing list