[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Exception handling issue..

From: Rick Flower
Subject: [Help-smalltalk] Exception handling issue..
Date: Thu, 01 Nov 2012 09:42:54 -0700
User-agent: Apple Webmail/0.6

Ok.. So I've got 3.2.4 install but I also saw this issue with 3.2 as well..

I have defined an exception class as follows :

 Error subclass: MissingRequiredXMLDescriptorFile [
   MissingRequiredXMLDescriptorFile class >> signal: aMessage [
   ^self new signal: aMessage

I then have some code elsewhere that throws the exception :

 areXMLDescriptionFilesPresent [
   MissingRequiredXMLDescriptorFile signal: 'Foo!!!'

and try to catch it with the following :

 [ sdf areXMLDescriptionFilesPresent ]
 on: MissingRequiredXMLDescriptorFile
 do: [:ex | Transcript show: ex messageText. ObjectMemory quit: 1].

However, I get the following backtrace...

Object: nil error: did not understand #goodness:
MessageNotUnderstood(Exception)>>signal (
UndefinedObject(Object)>>doesNotUnderstand: #goodness: ( optimized [] in BlockClosure class>>exceptionHandlerSearchBlock ( [] in SoftwareDevelopmentFolder.MissingRequiredXMLDescriptorFile(Exception)>>instantiateNextHandlerFrom: ( MethodContext(ContextPart)>>scanBacktraceForAttribute:do: ( SoftwareDevelopmentFolder.MissingRequiredXMLDescriptorFile(Exception)>>instantiateNextHandlerFrom: ( SoftwareDevelopmentFolder.MissingRequiredXMLDescriptorFile(Exception)>>signal ( SoftwareDevelopmentFolder.MissingRequiredXMLDescriptorFile(Exception)>>signal: ( SoftwareDevelopmentFolder.MissingRequiredXMLDescriptorFile class>>signal: (../../../../../home/rflower/gst/share/smalltalk/site-packages/ SoftwareDevelopmentFolder.SDF>>areXMLDescriptionFilesPresent (../../../../../home/rflower/gst/share/smalltalk/site-packages/ optimized [] in UndefinedObject>>executeStatements (../../../gst/share/smalltalk/site-packages/
BlockClosure>>on:do: (
optimized [] in UndefinedObject>>executeStatements (../../../gst/share/smalltalk/site-packages/
OrderedCollection>>do: (
UndefinedObject>>executeStatements (../../../gst/share/smalltalk/site-packages/

Now, IF the suggestion is to try the latest nightly 'stable-3.2' snapshot
from github I downloaded that, installed the latest autoconf (2.69)
and the latest GNU m4 for use with autoconf (1.4.16) and ran "autoconf"
to build the configure script. That went ok but when issuing the ./configure I get it complaining about GST_REVISION which did NOT get expanded so it caused some syntax errors in the configure script. So, I removed it from the and after re-running autoconf I get :

configure: error: cannot find install-sh,, or shtool in build-aux "."/build-aux

So -- if that is the method to travel to fix my bug above, what steps are needed
to actually build a github snapshot?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]