Community
Participate
Working Groups
Build Identifier: 20100218-1602 In Eclipse 3.5 (Galileo), if I start to type "this.notify" inside an if(){} body, then Eclipse crashes and exits. Start with: if( condition ) { } then in the body, start to type "this.". The list of suggestions pops up. Then continue to type "notify". Before finishing all of the letters in notify, Eclipse will have crashed. Reproducible: Always Steps to Reproduce: 1.see details above 2. 3.
I forgot to mention that I have the BlackBerry Java Plug-in, version 1.1.2.201004161203-16 installed, as well as several SDK plugin's. I don't see how any of them would affect this issue, but I thought I should mention it, just in case.
Paul, this seems to be a problem specific to the BlackBerry Java plugin. 1) I couldnt reproduce this with either eclipse 3.5 or 3.6RC4 without the BB plugin. I tried both ways - typing notify and using code assist. Works ok! 2) http://na.blackberry.com/eng/developers/javaappdev/javaeclipseplug.jsp - the download site for the plugin - clearly says that it is supported only on eclipse 3.4 or 3.4.1. Using 3.5 can obviously create problems then. So maybe you can try using 3.4 and hopefully it'll work. :) 3) If it still doesnt work, you can seek help at http://supportforums.blackberry.com/t5/Java-Development/bd-p/java_dev. This is surely not a bug in eclipse. Closing as NOT_ECLIPSE.
If your VM crashed there should be an hs_err_pidXXXXX.log file somewhere (probably wherever your eclipse/ folder is). This may offer insight into your problem(s).
Thank you for looking into this. I don't really understand how the plugin is involved in typing code and how the plugin could cause a crash, but frankly I shouldn't be surprised. There are so many bugs in the RIM products. Regarding the plugin, you are looking at the wrong web site. The current BlackBerry plugin is v1.1 for Eclipse 3.5, here - http://na.blackberry.com/eng/developers/javaappdev/javaplugin.jsp . To Remy - thank for the suggestion but it is Eclipse that is crashing, not the simulator or device, so the VM doesn't apply.
(In reply to comment #4) > To Remy - thank for the suggestion but it is Eclipse that is crashing, not the > simulator or device, so the VM doesn't apply. Paul, Eclipse is a Java application (let's say 95%-99% Java code), if Eclipse crashed, then the JVM crashed.
(In reply to comment #4) > Regarding the plugin, you are looking at the wrong web site. The current > BlackBerry plugin is v1.1 for Eclipse 3.5, here - > http://na.blackberry.com/eng/developers/javaappdev/javaplugin.jsp . Sorry for that. Anyway, the build that you're using is newer than 3.5. So again I advise you to use atleast 3.5.2, if not 3.5 exactly. Also, if you post it on the blackberry forums and receive any feedback, and you're convinced that its an eclipse bug, feel free to reopen this bug. I've tested this on 3.5.2 as well , and it works fine without the BB plugin.
Created attachment 172113 [details] Java VM Crash log
Remy, sorry, I misunderstood you. I thought you were talking about the runtime VM on the BlackBerry. You are correct, there are several hs_err_pidXX.log files here. I've attached the most recent, though I looked at a few of them and they all die in the same native code location. Skimming through the file, I do not see any class name containing "rim". I admit that most of this file means nothing to me, but if I don't see "rim" in the stack, I don't see how their plugin would be involved. Could one of you skim the file and see if it means anything to you.
(In reply to comment #7) > Created an attachment (id=172113) [details] > Java VM Crash log Please see bug 283503.
Remy, I read that bug and it appears that comment 28 is a source code patch for Eclipse, submitted April 26, 2010. I'm an Eclipse user so I don't have the Eclipse source code, nor can I take the time to start building the Eclipse source code. I just did a "check for updates" and there were none. Will this patch be in an update soon? Thanks
(In reply to comment #10) > I just did a "check for updates" and there were none. Will this patch be in > an update soon? Get 3.6RC4 if you want the fix bad. The check may find 3.6.0 when it is released but I am not positive. http://download.eclipse.org/eclipse/downloads/drops/S-3.6RC4-201006031500/index.php Please follow-up on bug 283503 if you have other questions so others that find that bug will also benefit from this discussion. Thank you. *** This bug has been marked as a duplicate of bug 283503 ***