[
https://jira.jboss.org/browse/TEIID-1325?page=com.atlassian.jira.plugin.s...
]
Steven Hawkins updated TEIID-1325:
----------------------------------
Fix Version/s: 7.1.1
Affects Version/s: 7.1.1
(was: 7.1)
It looks like the issue is caused by the reconnection logic being removed from the admin
proxy. Setting the admin to null now causes the npe rather than triggering a npe
Teiid Admin connection re-connect fails every time
--------------------------------------------------
Key: TEIID-1325
URL:
https://jira.jboss.org/browse/TEIID-1325
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 7.1.1
Environment: F12, JBDS4.0.0-Beta1
Reporter: Ramesh Reddy
Fix For: 7.1.1
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