Issue 8 in opensocial-actionscript-client: null reference error loading friends

1 view
Skip to first unread message

opensocial-acti...@googlecode.com

unread,
Sep 30, 2011, 3:06:02 PM9/30/11
to opensocial-acti...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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;
}

Reply all
Reply to author
Forward
0 new messages