There appears to be a problem with the plugin for Eclipse when attempting any of the following:
-Creating a SQL Editor. So for example, right-click on an object and generate DDL.
-Creating a Teradata Project
I have provided as much detail as I could find. Any suggestions to resolving this error? Should I maybe install an older version of the Plug-In for Eclipse? Or an older version of Eclipse DTP?
My local environment:
Eclipse Java EE IDE for Web Developers - Mars.1 Release (4.5.1) [Recommended in Teradata Studio, Studio Express, and Plug-in for Eclipse Installation Guide, Release 15.10]
DTP - 1.12 [Came standard with Mars]
EMF ECP SDK 3.x [Installed using the Teradata Studio, Studio Express, and Plug-in for Eclipse Installation Guide, Release 15.10]
Teradata Plug-in for Eclipse Version: 15.10.01.01.201601251638 [Installed using the Teradata Studio, Studio Express, and Plug-in for Eclipse Installation Guide, Release 15.10]
When I try and create a New Teradata Project, the following error is thrown:
Did you ever get past this error? I'm having the same issue.
I'm using Eclispse (MARS.v2) 4.5.2 and Teradata 184.108.40.206
I followed all the guidance in the same document you referenced to get my environment set up and configured.
Well, you've found a problem with our use of a class in an internal package of Eclipse. There is a method we're calling when a new workspace is being used to set a preference that set the editor for files associated with Teradata connections to use Teradata's SQL Editor. The parameter type to that method changed between the Luna and Mars releases of Eclipse.
We're finishing up our next release and hope to get this problem solved.
One way around the problem is to install the Teradata Plugin for Eclipse into Luna rather than Mars.
It looks like another way you can get around the problem by editing a file deep in the .metadata directory of your workspace.
The file is:
(where "workspacehome" is $HOME/workspace)
Add the line:
You will also need to change some file associations to have SQL files be opened by the Teradata editor when you double-click on them.
Setting the file associations is what was being done when the exception on Mars occurs.
You should no longer get the exception shown above and double-clicking on files with the sql suffix should now be opened by the Teradata SQL Editor.