Eclipse randomly exits after installation of Blackberry plugin/SDK - eclipse

Since adding the Blackberry Java classes from their website into eclipse, I've had it where eclipse will randomly close, with no discernible pattern, rhyme, error or reason. Here is the environment/software packages that I am using:
Windows XP SP2
Eclipse v3.5.1
Blackberry Java Plugin v1.1.1.200911111641-15
Blackberry Java SDK 4.5.0.21
I've tried the usual steps of complete uninstall and reinstallation of Eclipse and the accompanying plugins on multiple systems with the same configuration, including one that had a fresh install of Windows XP SP2. Upgrading to Eclipse 3.6 didn't work (the plugin wont' install as it's the wrong version), nor the downgrade to 3.4 for the same reason. I also increased the heap size to 512 (system has two gigs of memory) as some research into Eclipse doing this type of thing with Groovy was resolved that way, but again, no dice. Eclipse works great when the blackberry plugins are not installed, and no entries of errors or issues in the event log are helping to show what the issue with these plug-ins might be.
So if anyone has ran into this issue, and even better, has a solution, I'd love to hear about it. Thanks in advance.
EDIT: An additional to my issue, autoComplete with the Blackberry SDK seems to make this extremely unstable, like almost a guaranteed crash. Is this fixable at all?
For anyone that loads this question up trying to find a solution, I've never found a fix. It seems to be a bug with this version of the IDE. If there is a fix, please post.

Did you try to downgrade Eclipse to 3.4 (Ganymede)? I experienced similar issues when I tried upgrading Eclipse to something greater than 3.4.2.

I think the problem is with the plugin, not the IDE. Eclipse has always been stable for me until I installed the BB plugin. Since then it crashes all the time. Since I've installed the release (non-beta) version of the plugin that was recently released I can't even get my project to build.

This could be a manifestation of this bug in Eclipse. Check your C:\eclipse directory for files like hs_err_pidxxxx.log. The file goes on to explain this error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x753ba053, pid=3144, tid=5820
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [USP10.dll+0x1a053]
I've been experiencing this as well. It's completely debilitating. It causes Eclipse to just up and crash out of nowhere (and programming in a language as verbose as Java without Content-Assist is insane).
The bug has been fixed in Eclipse 3.6M7, but unfortunately I can't get the JDE Plug-in to install in the latest release candidate.

This is a known issue with Eclipse 3.5.X and has been fixed for 3.6.0
Bug Ticket link on Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=283503
Looks like we are stuck with this until the next update to the BB Eclipse plugin.

Related

Haskell Plugin on Eclipse is not visible

I'm learning Haskell and I need to install Haskell plugin on Eclipse.
I have first installed Eclipse Kepler and then installed the Haskell plugin from http://eclipsefp.sf.net/updates. The plugin installation went ok but the Haskell perspective is not visible at Window > Open Perspective > Other. It's visible at Help > Installation Details, though.
I've come across similar problem at this post:
Plugins installed on Eclipse not visible
I've applied all suggestions: I've started Eclipse as root, I've changed the installation path from /Applications to ~/, I've given write access to plugins folder, no luck.
I've erased Eclipse Kepler and installed Luna, still no luck.
I've updated the JRE to Java SE 7 [1.7.0_71] and edited the Java JRE section at Eclipse preferences, still no luck.
Any help is appreciated, thanks.
My OS X Lion 10.7.4 64bit
I've solved it. The problem seems to stem from multiple java versions installed on Lion.
I've come across this post salesforce Eclipse plugin and there I noticed that multiple Java versions on one system might cause trouble on plugins and in case of saleforce, that was causing trouble on Eclipse plugin or perspective.
Then I've taken a second look at Haskell's Eclipse plugin page Haskell Eclipse plugin and there I saw the java version 7 was emphasized.
So I reckoned that some java version mismatch might be causing Eclipse not to display the Haskell plugin. Btw, my installing the latest (1.7.0_72) version of java didn't change any possibel version mismatch on my Mac OS X, because though I successfully installed 1.7.0_72 version (using the file jdk-7u72-macosx-x64.dmg which I downloaded from oracle.com), the $ javac -version still returned 1.6.0_29.
Then I've found this post multiple java installations on mac os x and added the following line to eclipse.ini
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home/bin/java
before -vmargs, and that finally solved the problem. Now the Haskell plugin and perspective comes up. That's fine.

Eclipse hangs while creating a node.js express project

I have Eclipse 3.7 on Windows XP. I have also installed NodeEclipse. I can create a regular node project fine. But when I try to create a new express project, eclipse just hands and I cannot even close the window. Killing the process is the only option. Is this a known issue?
Get the latest version of eclipse, and run it using the latest version of JDK, first off.
You can also configure your eclipse.ini to allow it to use more memory.
Here is an answer to another question that had a similar problem: https://stackoverflow.com/a/2610261/1073118
Just note that it depends on your system, and whether your eclipse is 32bit or 64bit

Eclipse Indigo and GWT: Unable to read repository

This is a bit of a repost but the solutions proposed in the posts I found previously did not work for me, so I thought I might just as well start a new discusion.
I have a new Eclipse Indigo and I want to install the GWT-Plugin. I am running java Runtime Environment build 1.7.0.01 on a Windows OS (64 bit). The Eclipse is also the 64 bit version. I execute eclipse as administrator (but the same problem pops up if I don't).
Eclipse is told to juse java 1.6 as a compiler (since I hear there are issues with 1.7 and GWT).
So I click Help>>Install New Software and put in http://dl.google.com/eclipse/plugin/3.7 as a source. This then takes forever (Fetching Children of GWT) resulting in:
"Unable to read repository at http://dl.google.com/eclipse/plugin/3.7/content.jar.
Unable to read repository at http://dl.google.com/eclipse/plugin/3.7/content.jar.
Read timed out" as an error.
I have tried this all day. Once I at least could read the repository but could not install because of some unsatisfied dependencies. But that was on another eclipse distribution if I remember correctly.
So generally I don't seem to have any luck with GWT.
I would be greatfull for any advice to get GWT running. thanks.
Edit googled further, found a blog entry that told me to update to java 1.7.0_04. did that. no change.
Edit2 On the assumtion, that it is in fact not my eclipse but the google servers, I used the download of the plugin (as sugested by kush in the comments). This gets me to this screen http://i.imgur.com/0qV1v.png but not that much closer to the solutiuon.
"Cannot complete the install because one ore more required items could not be found."
I have tried this with Indigo and Helios, the ruslts are similar.
This took a while (three days) but the answer is as easy as it is strange: Do not use the 64 bit version of eclipse.
I would apreciate if someone finds out what the problem with the 64 bit versions is, but as soon as I started using the 32 bit version (which works fine on the 64 bit windows) everything installed perfectly.
Anyway, hope to help somone else with this post.
I have been struggling with this issue for days now. I cannot get the GWT eclipse plugin installed on my laptop. I am using the 32 bit version of eclipse. Plus, I can install the plugin just fine on the 64bit version of Eclipse on my PC, so I know that is not the issue.
Finally! I solved this.
Had to completely uninstall JRE 7 then everything installed fine.

How to get Aptana studio for older Eclipse versions

I have an existing Eclipse library tool -- quite an old one -- running on Eclipse 3.4, and I would like to add in Aptana Studio. However, the current download specifies that it requires Eclipse 3.5 or better. A colleague of mine has Aptana running in his exactly the same version of the same tool -- presumably he got an older version that would work on the older Eclipse.
Can I download a version of Aptana to plug in to Eclipse 3.4?
Or, if not, can I grab the copy of Aptana from my colleague's machine and drop it into my own Eclipse?
Note that there are specific reasons why I need to use this older version of Eclipse, so replies along the lines of "upgrade your version of Eclipse to 3.5 or later!", while undoubtedly well-intentioned, won't be much use to me....
Edited on November 30: it is Eclipse 3.4 which I have, and I originally put 2.4 by mistake (which doesn't even exist!).
You can grab the Studio's from your colleague's machine. The Studio is pretty much contained to the folder it's installed at (with some minor exception that should not stop you).
No packages are available for 2.x.
Cheers

eclipse crashing with intellisense

Eclipese crashes on one (and only it appears) intellensense.
typing "Display.getW" (towards the Display.GetWidth() function) as I type W eclipse reproduceably crashes. Trying random other functions and classes yield no problems.
Any ideas as to what this might be?
Eclipse Info: Eclipse Java EE IDE for Web Developers.
Build id: 20100218-1602
Eclipse Galileo
Edit: Using windowsXP
The only bugs related to a crash on auto-completion all mention Linux platform and an issue with xulrunner library.
See for instance bug 236724:
You don't need to download an older version of xulrunner since the problem is merely that the 64bit version of the library is being loaded rather than the 32bit library.
To rectify this, just add the following line to your eclipse.ini file which points to the 32bit version of the xulrunner library:
-Dorg.eclipse.swt.browser.XULRunnerPath=<path_to_32bit_xulrunner_lib>
On RHEL5 for example, the path would be /usr/lib/xulrunner-1.9.
So you would in this case either need an older version of xulrunner, or fixing its path.
On Windows, on the other hand, that may be a good opportunity to fill in a new bug report.
Update February 2012, Raedwald mentions in the comments:
The relevant Eclipse FAQ "Can I specify which XULRunner installation gets used?"
This can also fix the problem if you provide as the XULRunnerPath a path-name that does not point to an xulrunner library directory.
What happens is that Eclipse instead falls back to using an internal renderer.
I believe this is the only solution if your O/S (such as RedHat 5.8) upgrades you to a FireFox version that uses xulrunner-2 but does not provide webkitgtk.
This, and related problems, are caused by incompatibilities between Eclipse and xulrunner, which is a component of Fire Fox. I came across this problem today, after updating Fire Fox on my RHEL 5 development computer.
The "intellisense" (content assist) feature, and other features of Eclipse, are a rendering of HTML. Eclipse tries to hand-off this rendering work to a system component. If your web browser is Fire Fox, Eclipse traditionally uses xulrunner, which is intimately associated with Fire Fox. It does so by calling a C API through a native library. However, that API is subject to change by the Mozilla developers, and different versions of xulrunner have had incompatible APIs. In particular, Eclipse can not use "xulrunner 2", which is the version in recent versions of Fire Fox.
Newer versions of Eclipse try not to use xulrunner at all, but instead try to use webkitgtk. However, if that is not present, or Eclipse is configured not to use it, Eclipse will fall back to using xulrunner. Which can then crash, because Eclipse does not detect that the available xulrunner is incompatible. The Eclipse developers recognize this as a Bad Thing (it is Bug 262929), but it no yet fixed (still in Eclipse 3.7).
Therefore, if webkitgtk is present on your computer, it might be better to tell Eclipse to use it. The Eclipse FAQ says how to do this: set the Java property org.eclipse.swt.browser.UseWebKitGTK to true. You can do so in your eclipse.ini file (as told elsewhere) by adding the line -Dorg.eclipse.swt.browser.UseWebKitGTK=true at the end of the file.