realbasic-nug
[Top] [All Lists]

Autodiscovery.sendMessageToIndividual() crashes with nil ObjectException

To: REALbasic Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Autodiscovery.sendMessageToIndividual() crashes with nil ObjectException
From: Stefan Pantke <seaside dot ki at mac dot com>
Date: Thu, 12 Aug 2004 16:32:56 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Based on AutoDiscovery, I derived a new class called TAAutoDiscovery.

Most stuff performs quite well. Multicast are send, and I see other systems.

When I try to connect with a remote party, this call fails
        
        if nil <> App.GetAutoDiscovery() Then
App.GetAutoDiscovery().sendMessageToIndividual( theTarget, aCmd, aMes ) // this line crashes
        End if

Target, aCmd and aMes all have values - at least the debugger shows values.
 especially, aMess has a defined UTF-8 encoding.

Anyway, I always get the NilObjectException().

Ideas?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>