0

我正在尝试遵循本教程: https
://docs.wso2.com/display/AM1100/Adding+an+API+Subscription+Workflow 但是当我尝试从商店注册订阅时,在 BPS 控制台中我收到以下错误:

[2016-06-28 11:21:10,729]  WARN    {org.wso2.carbon.bpel.b4p.extension.PeopleActivity} -  SOAP Fault: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action><wsa:RelatesTo>urn:uuid:fd3c1de4-2689-4743-bfad-a31de7d726af</wsa:RelatesTo></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>java.lang.NullPointerException</faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>

在 BPS 日志中,我也有此错误,但我找不到有关如何生成 Nullpointer 的信息:

[2016-06-28 11:21:10,767]  WARN {org.apache.ode.bpel.engine.BpelProcess} -  Instance 1101 of {http://workflow.subscription.apimgt.carbon.wso2.org}SubscriptionApprovalWorkFlowProcess-2 has completed with fault: FaultData: [faultName={http://docs.oasis-open.org/ns/bpel4people/bpel4people/200803}nonRecoverableError, faulType=null ({http://docs.oasis-open.org/ns/bpel4people/bpel4people/200803}nonRecoverableError: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action><wsa:RelatesTo>urn:uuid:fd3c1de4-2689-4743-bfad-a31de7d726af</wsa:RelatesTo></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>java.lang.NullPointerException</faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>)] @108 {org.apache.ode.bpel.engine.BpelProcess}

有什么想法?

4

1 回答 1

3

我根据您共享的文档尝试了您提到的场景。但是,我能够让流程按预期工作。在我这边,API-Manager 版本是 1.10.0,BPS 是 3.2.0。

您能否按照文档中给出的步骤再次验证这些步骤。如果不使用默认用户名和密码,文档会指导我们可能需要更改哪些地方。

感谢您是否可以为以下问题提供答案 您端的 API 管理器设置是独立设置还是集群设置

如果您能提供您使用的业务流程服务器的版本以及 jdk 版本,请进一步感谢。

问候,沙万莎

于 2016-08-01T11:18:04.003 回答