0

我尝试访问我的活动流。我已经通过身份验证

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

但是列表是空的。我在它找到的位置的 SDK 中深入调试它:

com.ibm.sbt.util.DataNavigator$Json._extractChildren

询问 JsonFactory 道具是否为数组。但是 prop 为 null 并且 JsonFactory 抛出 NullPointerException

} else if(factory.isArray(prop)) {

请求的属性是“附件”,我的活动流条目没有附件。:-( 我添加了一个带有附件的条目,现在它抛出与附件图像相同的错误。

怎么了?我无法相信 SDK 在如此简单的情况下会引发错误。

谢谢安德烈亚斯

4

1 回答 1

1

你能在最新的 OpenNtf 版本上试试吗?已经提供了针对此问题的修复程序。下载最新版本的链接:http: //ibmsbt.openntf.org/

于 2013-07-18T09:34:01.240 回答