[teiid-issues] [JBoss JIRA] (TEIID-3233) Getting NPE in test integration when calling AdminFactory.getDomainAwareList
Steven Hawkins (JIRA)
issues at jboss.org
Tue Apr 7 09:35:21 EDT 2015
[ https://issues.jboss.org/browse/TEIID-3233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins closed TEIID-3233.
---------------------------------
> 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.11#6341)
More information about the teiid-issues
mailing list