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) {