[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-3207:
----------------------------------------
[~nickboldt] [~pleacu] I've installed photon RC4 as my IDE and API baseline and installed Data Tools features. Opened *SQL Results* view and get the following
{code}
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.internal.index.ResultHistoryLuceneIndex.addResult(ResultHistoryLuceneIndex.java:86)
at org.eclipse.datatools.sqltools.result.internal.index.HistoryIndexListener.resultInstanceStatusUpdated(HistoryIndexListener.java:53)
at org.eclipse.datatools.sqltools.result.ResultManager.fireStatusUpdated(ResultManager.java:135)
at org.eclipse.datatools.sqltools.result.internal.model.ResultInstance.updateStatus(ResultInstance.java:244)
at org.eclipse.datatools.sqltools.result.ResultsViewAPI.updateStatus(ResultsViewAPI.java:563)
at org.eclipse.datatools.sqltools.editor.core.result.ResultSupportRunnable.handleSuccess(ResultSupportRunnable.java:422)
at org.eclipse.datatools.sqltools.editor.core.result.ResultSupportRunnable$HandleSuccessJob.run(ResultSupportRunnable.java:302)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
{code}
which is the same error I'm getting in Designer.
The plugin manifext referencing the lucene src is: https://github.com/eclipse/datatools.sqltools/blob/master/plugins/org.ecl...
Does not specify a version but it's now loading 3.5. Not sure how to set a specific version (6.1/7.1) locally and test without pulling down a bunch of eclipse code? Thoughts?
> 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)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-2355) Provide an option to import pushdown functions
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2355?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-2355:
------------------------------------------
That can be done. I'll look for all of the engine level properties and see if there is a good way to inject all of them.
> Provide an option to import pushdown functions
> ----------------------------------------------
>
> Key: TEIIDDES-2355
> URL: https://issues.jboss.org/browse/TEIIDDES-2355
> Project: Teiid Designer
> Issue Type: Bug
> Components: Patch Release, Teiid Integration
> Reporter: Steven Hawkins
> Assignee: Barry LaFond
> Fix For: 11.2
>
> Attachments: pushDown.zip
>
>
> The import property importer.importPushdownFunctions can be set to have Teiid include the pushdown functions as part of the imported schema and there by the ddl used by designer. With TEIID-3098 will prevent there from being ambiguity from doing so (either from multiple models or from the pushdown functions). So Designer should allow users to import these functions if they wish (it could even be a default option).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-2355) Provide an option to import pushdown functions
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2355?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2355:
----------------------------------------
[~shawkins] if I had a choice it would be to add it to the general property set rather than add a custom Designer/UI property
> Provide an option to import pushdown functions
> ----------------------------------------------
>
> Key: TEIIDDES-2355
> URL: https://issues.jboss.org/browse/TEIIDDES-2355
> Project: Teiid Designer
> Issue Type: Bug
> Components: Patch Release, Teiid Integration
> Reporter: Steven Hawkins
> Assignee: Barry LaFond
> Fix For: 11.2
>
> Attachments: pushDown.zip
>
>
> The import property importer.importPushdownFunctions can be set to have Teiid include the pushdown functions as part of the imported schema and there by the ddl used by designer. With TEIID-3098 will prevent there from being ambiguity from doing so (either from multiple models or from the pushdown functions). So Designer should allow users to import these functions if they wish (it could even be a default option).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-2355) Provide an option to import pushdown functions
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2355?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-2355:
------------------------------------------
> I'm assuming they are defined/discovered from the JDBC driver.
They come from annotations on the ExecutionFactory.
> I'm assuming this new importer.importPushdownFunctions property is a custom Teiid property.
It and several other general properties are defined at the engine level, and not on a particular execution factory. In this case the NativeMetadataRepository is where that property is referenced. If we need to metadata drive this, then that needs to be injected into the general property set.
> Provide an option to import pushdown functions
> ----------------------------------------------
>
> Key: TEIIDDES-2355
> URL: https://issues.jboss.org/browse/TEIIDDES-2355
> Project: Teiid Designer
> Issue Type: Bug
> Components: Patch Release, Teiid Integration
> Reporter: Steven Hawkins
> Assignee: Barry LaFond
> Fix For: 11.2
>
> Attachments: pushDown.zip
>
>
> The import property importer.importPushdownFunctions can be set to have Teiid include the pushdown functions as part of the imported schema and there by the ddl used by designer. With TEIID-3098 will prevent there from being ambiguity from doing so (either from multiple models or from the pushdown functions). So Designer should allow users to import these functions if they wish (it could even be a default option).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Paul Leacu (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu... ]
Paul Leacu commented on TEIIDDES-3207:
--------------------------------------
That'll be the IS TP. I'll respin that now - although Barry said he could reproduce the issue without any JBoss TPs - just using Eclipse.
Also - just to capture relevant info - DataTools is defined here for Photon:
https://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/tree/dtp.ag...
> 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)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu... ]
Nick Boldt commented on TEIIDDES-3207:
--------------------------------------
Just realized you're using Photon.0.M6. Can you move up to a newer target platform baseline? That might fix the lucene issue.
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.8... (Photon.0.RC3) http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.8... (Photon.0.RC4+, in progress now)
> 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)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Barry LaFond (JIRA)
[ 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)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu... ]
Nick Boldt updated TEIIDDES-3207:
---------------------------------
Fix Version/s: 11.2
> 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)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu... ]
Nick Boldt reassigned TEIIDDES-3207:
------------------------------------
Assignee: Barry LaFond
> 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)
7 years, 10 months
[JBoss JIRA] (TEIIDDES-3207) Data Tools Result View error in Eclipse Photon M6
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3207?page=com.atlassian.jira.plu... ]
Nick Boldt commented on TEIIDDES-3207:
--------------------------------------
Can you not force Teiid to use the correct version of lucene?
eg., https://github.com/jbosstools/jbosstools-webservices/blob/master/tests/or...
> 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
> 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)
7 years, 10 months