You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Alex O'Ree (JIRA)" <ju...@ws.apache.org> on 2013/11/26 02:01:34 UTC

[jira] [Created] (JUDDI-728) Inquiry NPE on find_binding

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)