Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330571

Summary: Could not open the DTP SQL Results view
Product: [Tools] Data Tools Reporter: Greg <gregory.schumann>
Component: SQL Results ViewAssignee: Brian Payton <bpayton>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: bpayton, curtis.windatt.public, remy.suen
Version: unspecified   
Target Milestone: 1.9   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Greg CLA 2010-11-18 09:27:25 EST
Build Identifier: Version 3.5.2

Could not create the view: Plug-in org.eclipse.datatools.sqltools.result.ui was unable to load class org.eclipse.datatools.sqltools.result.internal.ui.view.ResultsView.

Reproducible: Always

Steps to Reproduce:
1. Connect to database
2. Select table
3. Try to edit table data
Comment 1 Remy Suen CLA 2010-11-18 09:38:34 EST
Sounds like your Eclipse installation is corrupt or something went wrong with your datatools installation.

Does the problem persist if you get a new download?
http://www.eclipse.org/downloads/
Comment 2 Curtis Windatt CLA 2010-11-18 09:41:50 EST
Please describe the problem more thoroughly.  What were you doing at the time this happened?  Does it happen every time you open the view?

Moving to data tools.
Comment 3 Brian Payton CLA 2011-01-05 16:20:40 EST
This problem in the DTP SQL Results view appears to be due to a change in the organization of the Lucene plugins (org.apache.lucene) which are shipped with the Eclipse platform.  The SQL Results view uses Lucene in the implementation of the result history.  Lucene was refactored in Eclipse 3.7 to move all the classes in the plugin org.apache.lucene into a new plugin org.apache.lucene.core.

DTP 1.9 is built on Eclipse 3.6.1, which uses the old organization.  The class loader apparently does not know how to find the Lucene classes in the new plugin.

I don't know how to fix this yet.
Comment 4 Brian Payton CLA 2011-01-05 16:25:03 EST
*** Bug 333514 has been marked as a duplicate of this bug. ***
Comment 5 Greg CLA 2011-01-06 11:14:24 EST
Please close this bug.  I re-installed Eclipse and the problem didn't reappear.