quarta-feira, 18 de janeiro de 2017

Teiid Designer - NullPointerException when trying to execute VDB

Having Teiid Designer 11 installed in Eclipse Neon (Eclipse IDE for Java Developers version),  when trying to Execute VDB, the following error occurred:



Error: Could not connect to XXX - xxx.xxx.xxx.xxx - Teiid Connection.
Detailed error: Error creating SQL Model Connection connection to XXX- xxx.xxx.xxx.xxx - Teiid Connection. (Error: null)
Exception Stack Trace:
  java.lang.NullPointerException
at org.eclipse.datatools.connectivity.sqm.internal.core.util.DatabaseProviderHelper.getCatalogDatabase(DatabaseProviderHelper.java:37) ...



The solution is easy: Install Eclipse IDE for Java EE Developers instead. And it will work.

PS: The same problem can arise when trying to create a Data Source in eclipse. The solution is the same.

Sem comentários: