New issue 8 by leet...@gmail.com: null reference error loading friends
http://code.google.com/p/opensocial-actionscript-client/issues/detail?id=8
What steps will reproduce the problem?
1. try to load friends
What is the expected output? What do you see instead?
null reference error
What version of the product are you using? On what operating system?
latest, windows 7
Please provide any additional information below.
NRE occurs because object value is being used before it is created:
file: org/opensocial/client/base/AbstractDataType.as
line: 102
---
public static function getType(rawObj:Object):Class {
try {
return Utils.getClass(rawObj["type"] as String);
} catch(err:Error) {
var e:OpenSocialError =
new OpenSocialError("Cannot get type from raw object. \n Error:"
+ e.message);
logger.error(e);
throw e;
}
return null;
}