Teiid Admin connection re-connect fails every time
--------------------------------------------------
Key: TEIIDDES-681
URL:
https://jira.jboss.org/browse/TEIIDDES-681
Project: Teiid Designer
Issue Type: Bug
Components: Teiid Integration
Affects Versions: 7.1
Environment: F12, JBDS4.0.0-Beta1
Reporter: Ramesh Reddy
1) Start the Teiid Server (JBoss AS) then start the JBoss Tools with Teiid Designer.
2) Configure the Designer to connect to Teiid Server using the Admin Connection.
3) Make sure the it has valid connection
4) Shutdown the Teiid Server
5) Refresh the Teiid Connection in Desinger, which will fail to connect to server
(expected as the Server is down)
6) Now start the Server back up, and then using Designer, try to re-connect. This
operation always fails with below exception
java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.teiid.adminapi.AdminFactory$AdminProxy.invoke(AdminFactory.java:80)
at $Proxy2.getTranslators(Unknown Source)
at org.teiid.designer.runtime.ExecutionAdmin.refresh(ExecutionAdmin.java:318)
at org.teiid.designer.runtime.ui.ReconnectToServerAction$1.run(ReconnectToServerAc
The only way to fix it discard the connection information, and create a new Teiid
Instance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira