List Info

Thread: What to do with this backtrace: VFS.VFSHandler nameIn: ''!




What to do with this backtrace: VFS.VFSHandler nameIn: ''!
user name
2006-09-07 14:43:38
Hi, I've got the following backtrace I don't know how to
handle:

VFS.VFSHandler nameIn: ''!

Gives the backtrace:
Object: #VFS error: did not understand #between:and:
Symbol(Object)>>#primError:
MessageNotUnderstood(Exception)>>#defaultAction
optimized [] in Exception class>>#coreException
MessageNotUnderstood(Signal)>>#activateHandler:
MessageNotUnderstood(Exception)>>#signal
Symbol(Object)>>#doesNotUnderstand:
String(SequenceableCollection)>>#at:ifAbsent:
Namespace>>#nameIn:
VFS.VFSHandler class(ClassDescription)>>#nameIn:
UndefinedObject>>#executeStatements
nil


How can I find the class name and overcome this problem? It
works for
other classes just fine (for example: String nameIn: ''!)

Greetings,
  Bram


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
What to do with this backtrace: VFS.VFSHandler nameIn: ''!
user name
2006-09-07 19:34:27
Bram Neijt wrote:
> Hi, I've got the following backtrace I don't know how
to handle:
> 
> VFS.VFSHandler nameIn: ''!
> 
> Gives the backtrace:
> Object: #VFS error: did not understand #between:and:
> <snip #doesNotUnderstand: chain>
> String(SequenceableCollection)>>#at:ifAbsent:
> Namespace>>#nameIn:
> VFS.VFSHandler class(ClassDescription)>>#nameIn:
> UndefinedObject>>#executeStatements
> 
> How can I find the class name and overcome this
problem? It works for
> other classes just fine (for example: String nameIn:
''!)

nameIn:'s argument is an AbstractNamespace, not a string. 
This just
happens to work for the case you mention because
SystemDictionary's
nameIn: method (which happens to be used for classes in
Smalltalk)
ignores its aNamespace argument.

-- 
Stephen Compall
http://scompall.no
candysw.com/blog


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
What to do with this backtrace: VFS.VFSHandler nameIn: ''!
user name
2006-09-08 06:12:32
Bram Neijt wrote:
> Hi, I've got the following backtrace I don't know how
to handle:
>
> VFS.VFSHandler nameIn: ''!
As Stephen said, you should use "VFS.VFSHandler
nameIn: Smalltalk" instead.

Paollo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )