| Summary: | Eclipse crashes in Ubuntu Lucid Lynx 10.04, telling SQLite version is too old. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Data Tools | Reporter: | swedev72 | ||||||
| Component: | SQLDevTools | Assignee: | dtp.sqldevtools-inbox <dtp.sqldevtools-inbox> | ||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | bpayton, csgatekeeper, lostinberlin2010, m.meknet, myriam.leggieri, remy.suen | ||||||
| Version: | 1.7.2 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
swedev72
How did you install Eclipse? What are you editing? Java? C/C++? Python? Something else? I edit Java that are meant to be compiled and ran for Android, and I downloaded Eclipse from the Eclipse website, because the version supplied by Ubuntu, at least the 9.04 I used at that time, didn't work with the ADT Plugin (Android Developing Tools). What happens if you get an Eclipse installation and just run with that without the Android plug-ins installed? http://download.eclipse.org/eclipse/downloads/ So what version(s) of SQLite do you have installed anyway? I'll try that. When I run sqlite3 --version at the console i get 3.6.21. I tried downloading a new Eclipse, and running that I get the exact same error box. (In reply to comment #5) > I tried downloading a new Eclipse, and running that I get the exact same error > box. Can you attach a screenshot of the error dialog? From the message it doesn't sound like this is coming from the Eclipse base platform, so I'm wondering where this comes from. Can you also attach your configuration details (Help > About > Installation Details > Configuration). I should also mention Ubuntu 10.04 is only supported in the newest version of Eclipse (3.6, due for release in June 2010). Downloading the latest stable build of the Eclipse platform (3.6 M7) may help. Created attachment 168089 [details]
Error dialog
The dialog that started it all.
Created attachment 168090 [details]
My Eclipse configuration
My configuration, according to Eclipse.
I have now tried to download the Helios M7, which after extracting at some places is said to be 3.6. It still produces the same error dialog. I see that data tools is installed, and since the platform has no reference or usage of SQL I suspect the problem is coming from there. Try finding and removing the following features and plugins from your installation: Feature: org.eclipse.datatools.enablement.sqlite.feature Plugins: org.eclipse.datatools.enablement.sqlite org.eclipse.datatools.enablement.sqlite.dbdefinition org.eclipse.datatools.enablement.sqlite.ui I've tried several times to remove the named plug-ins, with little result. I mark them, click "revert", restart when promted, and they are still there, so i try again. Try removing them at the file system level. That is: 1. shut down Eclipse 2. using Nautilus or whatever file manager you are using on Ubuntu, find the feature and plug-ins and move them to some backup location 3. restart Eclipse Ok. I (re)moved the files manually, and it still produces the same error. Maybe not as soon as it has been before, but still. If you have removed the datatools enablement plugins for SQLLite and you are still getting the error, then datatools might not be involved at all. Are there any relevant entries in the .log file in your workspace's .metadata directory? No, I can't find entry containing sqlite in that file. the problem seems to be caused by xulrunner-1.9.1, so I solved it with this commands : sudo apt-get autoremove xulrunner-1.9.1 sudo apt-get install xulrunner-1.9.2 It seems I allready had xulrunner 1.9.2 installed, and but some residues from 1.9.1. After removing those with Synaptic, I still get the same error. Hi it seems I've solved this problem by - installing the eclipse version coming from apt: apt-get install eclipse - launching that version from /usr/lib/eclipse/ (or whatever path is indicated into your /usr/bin/eclipse command) on the command line, instead of simply using the 'eclipse' command (/usr/bin/eclipse). Hope this could help bye ;) I've tried installing the apt-get version of Eclipse, which is Galileo version 3.5.2 and thus, according to comment 6 is too old. And it still produces the same error. I'm going to resolve this bug as WONTFIX, since apparently it doesn't have anything to do with the Eclipse DTP project. swedev72@gmail.com, if looks like you still have the original problem. I hope you can find another channel in which to work on the issue. Good luck! I am including my experience resolving this bug so that other people searching for the issue may find a similar resolution. I encountered this same error when I would hold the mouse over a class name in a java file. A message box titled "Sqlite version error" popped up, and then after pressing ok, eclipse would crash. I removed sqlite from my system (apt-get remove sqlite3), pulled down the latest sqlite source, in this case the 3.6.23 source amalgam, compiled and installed it. I no longer have the problem. Instead of crashing, eclipse now displays a popup showing information about the type I am mousing-over. Would this be some sort of eclipse installation issue wrt minimum required sqlite version related to javadoc? ANOTHER (POSSIBLE) SOLUTION: I had this problem as well and had tried various things suggested here. The problem only started after I had added the JavaHL SVN Connector, or more precisely, adding "-Djava.library.path=/usr/lib/jni" to the vmargs in my eclipse.ini. Removing this - no crash, but no JavaHL SVN Connector. Solved it for my side by using the SVNKit Pure Java Connector instead of JavaHL. Hope this helps someone. |