Alex O'Ree created JUDDI-728: -------------------------------- Summary: Inquiry NPE on find_binding Key: JUDDI-728 URL: https://issues.apache.org/jira/browse/JUDDI-728 Project: jUDDI Issue Type: Bug Reporter: Alex O'Ree Assignee: Kurt T Stam
Caused by: java.lang.NullPointerException at org.apache.juddi.api.impl.UDDIInquiryImpl.findBinding(UDDIInquiryImpl.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ... 33 more generated using the following code FindBinding fb = new FindBinding(); fb.setAuthInfo(token); org.uddi.api_v3.FindQualifiers fq = new org.uddi.api_v3.FindQualifiers(); fq.getFindQualifier().add(UDDIConstants.APPROXIMATE_MATCH); fb.setFindQualifiers(fq); fb.setFindTModel(new FindTModel()); fb.getFindTModel().setIdentifierBag(new IdentifierBag()); fb.getFindTModel().getIdentifierBag().getKeyedReference().add( new KeyedReference(WSDMQosConstants.METRIC_FAULT_COUNT_KEY, "%", "%")); return inquiry.findBinding(fb); -- This message was sent by Atlassian JIRA (v6.1#6144)