我试着按照这个教程:
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}
有些想法?
答案 0 :(得分:3)
我根据您分享的文档尝试了您提到的方案。但是,我能够让流程按预期工作。在我的最后,API-Manager版本是1.10.0,BPS是3.2.0。
您是否可以再次验证文档中给出的步骤。如果未使用默认用户名和密码,则文档将指导我们可能需要更改的位置。
感谢您是否可以为以下内容提供答案 您的API管理器设置是单独的还是群集设置
进一步了解您是否可以提供已使用的业务流程服务器版本以及jdk版本。
问候,shavantha