I'm trying to get the value of a field of type "Hyperlink or Image" (currently set to "Hyperlink" in the column settings that is being returned as part of a Sharepoint 2010 ListItem. I'm using the Client Object Model to do this, as I'm building a custom website that is remote to the server where Sharepoint is running. Unfortunately, what I've tried results in a NullReferenceException.

The "liveUrl =" line has been modified a bunch, trying different ways of getting the value out, but none work. This is just the one that seems to make the most sense, despite still not working. This shouldn't be this hard, right? :P

Have you tried actually instantiating a new FieldUrlValue object rather than casting? I know you can cast a FieldLookupValue in that manner, but the FieldUrlValue appears to require instantiation (I don't know if that's necessarily accurate)???