IBM Support

NullPointerException during Service Discovery

Troubleshooting


Problem

During discovery of one WebService a java.lang.NullPointerException is thrown:
[11/27/19 8:57:42:105 CET] 00000163 ExternalServi E Discovery failure. Parameters: {serviceType=External Service, bindingType=wsdl, descriptorSrcLocation=file:///opt/IBM/PC_WSDL/my.wsdl, branchId=2063.71971a33-a12c-41f4-b72b-f86dc22a05c0, artifactType=BPMService, isLegacy=true, JNDIName=null, esId=null, portTypeQName={http://www.ibm.com/rules/myRules}MyService, parentArtifact=com.ibm.bpmsdk.model.object.BPMService@5fd1eada, selectedOperations=[MyOperation], sourceUrl=file:///opt/IBM/PC_WSDL/my.wsdl, databaseType=null, password=null, externalServiceRepoHelper=com.ibm.bpmsdk.tools.repo.client.ExternalServiceRepoHelperImpl@4434ba1, serverBindingRef=2094.8a30bf9e-1032-4636-8827-e8d03b3e96b7, generateWrapperTypes=false, xsImportResultKey=f776be1f-d0b3-46ec-b2a3-fe63b8afa14c, username=null}
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1294)
at java.util.regex.Matcher.reset(Matcher.java:320)
at java.util.regex.Matcher.<init>(Matcher.java:240)
at java.util.regex.Pattern.matcher(Pattern.java:1104)
at com.ibm.bpm.common.discovery.util.XSCDUtil.extractXscd(XSCDUtil.java:45)
at com.ibm.bpm.wsdl.discovery.impl.WSDLDiscoveryAdapter.populateTypeDescriptors(WSDLDiscoveryAdapter.java:1198)
at com.ibm.bpm.wsdl.discovery.impl.WSDLDiscoveryAdapter.generateInterfaceWrapper(WSDLDiscoveryAdapter.java:624)
at com.ibm.bpm.common.discovery.DiscoveryAdapter.getInterfaceWrapper(DiscoveryAdapter.java:75)
at com.ibm.bpm.common.discovery.impl.ExternalServiceGenerator.discoverContent(ExternalServiceGenerator.java:154)
at com.ibm.bpmsdk.tools.repo.client.ExternalServiceRepoHelperImpl.discoverContent(ExternalServiceRepoHelperImpl.java:248)
at com.ibm.bpmsdk.model.util.ExternalServiceHelper.discoverContent(ExternalServiceHelper.java:343)
at com.ibm.bpmsdk.model.util.ExternalServiceHelper.createBPMNExternalServiceDefinition(ExternalServiceHelper.java:252)
at com.ibm.bpmsdk.model.util.ExternalServiceHelper.createBPMNExternalServiceDefinition(ExternalServiceHelper.java:217)
 

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"19.0.0.2","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
05 December 2019

UID

ibm11125279