CslWorkItemUidOwnIpAddress

The CslUID tries to determine the IP address of the current host when the image starts up. Under Mac OS X this leads to an exception.

There are two solutions:

  1. Try the new devloper VM, the problem shall be fixed there (info by James Robertson).

  2. Create a random dummy IP, e.g. based on the hostname hash value. It should lead to no problem, because the IP address is just used for the GUID building.

HostName := [SocketAccessor getHostname]
                on: (Error, PrimitiveFailure, OsInaccessibleError, OsError)
                do: [:ex | HostName := 'localhost'].
IPAddress := [IPSocketAddress hostAddressByName: HostName]
                on: (Error, PrimitiveFailure, OsInaccessibleError, OsError)
                do: [:ex | "Create a random dummy IPAddress here, it's just for GUID building."].

Solution

Just replaced the IP address determation with the hash value of the host name.


CategoryTidelandCsl

last edited 2007-02-26 11:26:59 by FrankMueller