Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-3028

JBEDS Salesforce Connector gives NPE when the resultset is empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.1.0 GA
    • Fix Version/s: 5.2.0 ER1
    • Component/s: EDS
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Import my attached ModelProjectSet into JBoss Developer Studio, Deploy and Execute the VDB:

      This returns results:
      select * from salesforce.User_ where id='00580000001fWlwAAE'

      This gives the NPE:
      select * from salesforce.User_ where id='0036000000wGvmiAAC'

      Show
      Import my attached ModelProjectSet into JBoss Developer Studio, Deploy and Execute the VDB: This returns results: select * from salesforce.User_ where id='00580000001fWlwAAE' This gives the NPE: select * from salesforce.User_ where id='0036000000wGvmiAAC'
    • Release Notes Text:
      Hide
      https://issues.jboss.org/browse/SOA-3028

      When the user attempted to query a relational model created from the Salesforce importer and the criteria returned zero rows, a Null Pointer Exception was encountered. A coding change has fixed this problem. As a result, an empty resultset is now given instead.
      Show
      https://issues.jboss.org/browse/SOA-3028 When the user attempted to query a relational model created from the Salesforce importer and the criteria returned zero rows, a Null Pointer Exception was encountered. A coding change has fixed this problem. As a result, an empty resultset is now given instead.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      When querying a Relational Model created from the Salesforce importer and the criteria returns zero rows, instead of an empty resultset a Null Pointer Exception is given.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  van.halbert Van Halbert
                  Reporter:
                  dsteigne Debbie Steigner
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: