[
https://issues.jboss.org/browse/TEIID-2483?page=com.atlassian.jira.plugin...
]
Paul Richardson commented on TEIID-2483:
----------------------------------------
This is the exact place that things go wrong:
The request in AdminFactory.getVDBs() is successful and since the server is in domain mode
so moves onto to call AdminFactory.getDomainAwareList()
It fails on these lines since serverGroups is assigned as 'undefined'
{code:java}
ModelNode serverGroups = operationResult.get("server-groups");
Set<String> serverGroupNames = serverGroups.keys();
{code}
Error bring to connect to Teiid using 8.3 code in Designer against an
8.4 server
--------------------------------------------------------------------------------
Key: TEIID-2483
URL:
https://issues.jboss.org/browse/TEIID-2483
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 8.4
Reporter: Van Halbert
Assignee: Ramesh Reddy
This is the stacktrace I got when testing the connection to Van's new cluster at
redhat-stl-eng3.usersys.redhat.com.
org.teiid.adminapi.AdminProcessingException: TEIID70036
java.lang.IllegalArgumentException
at org.teiid.adminapi.AdminFactory$AdminImpl.getVDBs(AdminFactory.java:1433)
at org.teiid.adminapi.AdminFactory$AdminImpl.getVDBs(AdminFactory.java:1)
at org.teiid83.runtime.ExecutionAdmin.refreshVDBs(ExecutionAdmin.java:658)
at org.teiid83.runtime.ExecutionAdmin.init(ExecutionAdmin.java:575)
at org.teiid83.runtime.ExecutionAdmin.<init>(ExecutionAdmin.java:136)
at
org.teiid83.runtime.ExecutionAdminFactory.createExecutionAdmin(ExecutionAdminFactory.java:29)
at
org.teiid.designer.runtime.registry.TeiidRuntimeRegistry.getExecutionAdmin(TeiidRuntimeRegistry.java:102)
at org.teiid.designer.runtime.TeiidServer.connect(TeiidServer.java:212)
at org.teiid.designer.runtime.TeiidServer.reconnect(TeiidServer.java:232)
at
org.teiid.designer.runtime.ui.server.RefreshServerAction$1.run(RefreshServerAction.java:58)
<snip>
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124)
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1194)
at
org.teiid.adminapi.AdminFactory$AdminImpl.getDomainAwareList(AdminFactory.java:1349)
at org.teiid.adminapi.AdminFactory$AdminImpl.getVDBs(AdminFactory.java:1430)
... 48 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira