[teiid-issues] [JBoss JIRA] (TEIID-3233) Getting NPE in test integration when calling AdminFactory.getDomainAwareList

Van Halbert (JIRA) issues at jboss.org
Mon Nov 24 13:28:39 EST 2014


Van Halbert created TEIID-3233:
----------------------------------

             Summary: Getting NPE in test integration when calling AdminFactory.getDomainAwareList
                 Key: TEIID-3233
                 URL: https://issues.jboss.org/browse/TEIID-3233
             Project: Teiid
          Issue Type: Bug
          Components: Server
    Affects Versions: 8.7.1, 9.x
            Reporter: Van Halbert
            Assignee: Steven Hawkins


When getVDB's is being called in AdminFactory, an NPE occurs.  Here's the diff for the fix:

try {
                    ModelNode outcome = this.connection.execute(request);
                    if (Util.isSuccess(outcome)) {
-                       return getDomainAwareList(outcome, VDBMetadataMapper.INSTANCE);
+                       List<VDBMetaData> list = getDomainAwareList(outcome, VDBMetadataMapper.INSTANCE);
+                       if (list != null) {
+                                       return list;
+                               }
                    }
                } catch (IOException e) {



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the teiid-issues mailing list