[
https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-3207:
----------------------------------------
[~nickboldt] [~pleacu] Designer code doesn't include any direct dependency to the
lucene jars. It does depend on Data Tools plugins, which uses lucene. The fact that
installing Eclipse by itself and using the Sample Data action will throw the same error,
so it is a regression and it looks like it has to do with class loading.
I've tried adding the following:
Require-Bundle: org.apache.lucene.core;bundle-version="7.1.0",
and
Import-Package: org.apache.lucene.index;version="7.1.0",
but it didn't force the issue. The use-case, would reflect that opening the
ResultsView based on a string ID would leave the class loading to the original plugin and
bypass any Designer dependencies.
Don't know how to override it.
Data Tools Result View error in Eclipse Photon M6
-------------------------------------------------
Key: TEIIDDES-3207
URL:
https://issues.jboss.org/browse/TEIIDDES-3207
Project: Teiid Designer
Issue Type: Bug
Components: Eclipse Integration
Affects Versions: 11.2
Reporter: Barry LaFond
Assignee: Barry LaFond
Priority: Blocker
Fix For: 11.2
While testing initial Designer upgrade to Photon target platform, my initial test
produced an odd error opening the SQL Results View from the Data Tools Eclipse feature.
I then installed basic Eclipse IDE for Java Developers version and added/installed the
*Database Development* category.
Opening the Database Development perspective then opening the *SQL Results* view throws
the same error below:
{code}
Root exception:
java.lang.NoSuchMethodError:
org.apache.lucene.index.IndexWriter.addDocument(Ljava/lang/Iterable;)J
at
org.eclipse.datatools.sqltools.result.internal.index.ResultHistoryLuceneIndex.addResults(ResultHistoryLuceneIndex.java:139)
at
org.eclipse.datatools.sqltools.result.ResultsViewPlugin.start(ResultsViewPlugin.java:117)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)