connections - Connestions ActivityStreamService getActivityStream throws NullPointerException. -
i try access activity stream. i'm authenticated
map<string, string> header = new hashmap<string, string>(); header.put("content-type", "application/json"); activitystreamservice svc = new activitystreamservice("giconnections"); this.list = svc.getactivitystream("@me", "@all", "@all", header);
but list empty. debug deep in sdk found place:
com.ibm.sbt.util.datanavigator$json._extractchildren
the jsonfactory asked if prop array. prop null , jsonfactory throws nullpointerexception
} else if(factory.isarray(prop)) {
the requested property "attachments" , activity stream entry has no attachments. :-( added entry attachment , throws same error image of attachment.
what wrong? cannot believe sdk throws errors on simple situations.
thx andreas
can try on latest openntf build. fix issue has been delivered. link download latest build : http://ibmsbt.openntf.org/
Comments
Post a Comment