toggleBreakpointsTargetFactory specified id is already registered - eclipse

Node.js debugging is not working, out of the box.
On a fresh install of eclipse Kepler SR1 Build id: 20130919-0819, on 64-bit Windows 7, I installed Nodeclipse and Enide 0.6 using the Eclipse Marketplace.
I created a new Node-Express project, in a new workspace. In Project Explorer, I right-clicked on app.js and selected "Debug As --> Node Application".
The console shows:
C:\Program Files (x86)\nodejs\node.exe --debug-brk=5858 F:\workspace\test\app.js
but node.exe died immediately and a dialog popped up "Launching delegate...", followed by an error dialog: 'Launching STANDALONE_V8' has encountered a problem. (I'm guessing that node.exe had already exited so there was no instance of V8 for the debugger to connect to.)
The eclipse error log shows an Error:
org.eclipse.debug.ui.toggleBreakpointsTargetFactory extension failed to load breakpoint toggle target because the specified id is already registered. Specified ID is: org.chromium.debug.ui.ChromiumToggleBreakpointTargetFactory
This same sequence works flawlessly on a colleague's machine. Where on my machine is this breakpoint target id registered, and how do I clear it? Or what else can I try?

This is issue #72
Try first to update JDK to the latest 7.u40 http://www.oracle.com/technetwork/java/javase/downloads/index.html
then if it is not solved, uninstall Nodeclipse core then install again
Nodeclipse version doesn't matter as it was thought before, I saw this bug on 0.4 as well
Report of the issue solved by exact steps:
https://github.com/Nodeclipse/nodeclipse-1/issues/72#issuecomment-25942319
Try also Enide Studio https://sourceforge.net/projects/nodeclipse/files

Related

eclipse IDE guava-18.0.jar has no source attachment

I was trying install a newer version of Chrome Selenium driver but the newest version didn't fix a problem I was having. So I copied the previous Chrome Selenium driver back into the same folder where I keep all of the browser drivers.
Now when I try to run my Selenium script in Eclipse IDE I get this error:
"eclipse IDE guava-18.0.jar has no source attachment"
I googled around but cannot find this problem elsewhere to see how to fix it.
Thanks...

Spring STS 3.7.2 "No Java virtual Machine Found" on Mac OS X Yosemite

I have been using Spring STS 3.7.2 for a few months on my Mac laptop (Mac OS X Yosemite 10.10.5). But suddenly the STS IDE is not starting up. I suspect that one of the automatic OS update may have changed something, since I noticed that I don't see java any more on my path setting.
I manually added the following entries to my .bash_profile and updated using source command:
export PATH=$PATH:/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/bin
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
But STS stubbornly not working. It keeps giving me the error message in a dialog box:
A java runtime environment (JRE) or Java development kit (JDK) must
be available in order to run STS. No Java virtual machine was found
after searching ....
I am confused. I am able to invoke java from any terminal window, as well as JAVA_HOME environment variable is set.
Any ideas what may be going on?
After quite a bit of searching online, I figured out the problem, and resolved it for myself. It basically boils down to JDK upgrade to versions beyond 1.6.
The following link provided a solution:
https://apple.stackexchange.com/questions/178647/jdk-platform-not-recognized-running-eclipse-or-mvn
Here are the steps:
Revert back to JDK 1.6: Download and install JDK 1.6 from this Apple site: https://support.apple.com/kb/DL1572?locale=en_US
Change the PATH variable to point to the 'bin' directory of where JDK is installed. On my Mac, it was installed at: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin
Go to the STS application installed directory and run the command "open -a STS.app". This will open the STS IDE successfully.
Exit STS.
Now, if you want to use Java 8, then change the PATH variable to the Java 8 directory. On my Mac, it was at: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin
Launch the STS app again, and voila!, the problem solved.

Why does NetBeans not install updates?

I am using NetBeans 8.0.2 (build 201408251540; 64 bit) on Windows 7 Professional 64 bit.
When I check for updates via Help > Check for Updates I see the following dialog:
When I then click Next > it says that it downloads them in the status bar and after a moment I get a balloon tooltip saying that I need to restart the IDE to complete the installation. So far, so good.
Though after restarting I get the same updates offered again. So it obviously failed to install them.
I already tried the following:
Started NetBeans as administrator
Set full access rights to users on the NetBeans installation folder
Started netbeans.exe instead of netbeans64.exe
Why are the updates failing? Is there some protocol I can enable to see what is going on?
After trying to uninstall NetBeans and getting the message
The specified target component - nb-base/8.0.0.0.xxx was not found in the registry. The installer can continue as if the target component was not specified.
(see How to uninstall Netbeans 6.9 on Windows 7?) I downloaded the latest version of NetBeans from netbeans.org and reinstalled NetBeans 8.0.2 over my previous installation.
When I now check for updates the NetBeans IDE Installer tells me that my IDE is up to date. So it looks like my problem is solved.

Eclipse Luna crashes on new project in Ubuntu

I'm having some trouble getting Eclipse Luna to work. I downloaded the tar.gz from the eclipse site and I downloaded the tar.gz for the Java JDK. I extracted everything and Eclipse opens properly, but when I try to make a new project, it crashes on me. In the terminal I ran java -version and it tells me I have version 1.8.0_25 so I don't think I have an issue with java. Now, this happens if I try to make any kind of project. Eclipse opens the wizard for creating a new project of a particular type and then the whole application crashes. When I started doing this, I installed it under the KDE desktop. When Eclipse crashes, I get the message java: /build/buildd/gtk2-engines-oxygen-1.4.5/src/animations/oxygencomboboxdata.cpp:87‌​: void Oxygen::ComboBoxData::setButton(GtkWidget*): Assertion '!_button._widget' failed. So, I decided to install the xfce desktop to get around it, since oxygen is a KDE theme. I uninstalled eclipse and reinstalled it under xfce and I have the same behavior and the same errors. When I run eclipse from the command line, I get this exception on startup:
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Does anyone have any ideas on what else to try?
According to comment 20 in this bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=440660#c20
This seems to be a bug in GTK according to
https://bugs.launchpad.net/ubuntu/+source/gtk2-engines-oxygen/+bug/1242801
(there a similar problem for Meld was reported).
Another workaround mentioned there is for Oxygen, edit the normally already existing file
/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc and change
`GtkComboBox::appears-as-list = 1`
into
`GtkComboBox::appears-as-list = 0`
This workaround is working for me.
I have resolved this issue by installing package gtk2-engines-oxygen built for Ubuntu Vivid Vervet (version 1.4.6):
http://packages.ubuntu.com/vivid/gtk2-engines-oxygen

Nodeclipse won't run or debug app on OSX Maverick, nodeclipse 0.8.0, and JDK 1.7.03_45

When I try to run or debug a nodejs app I get and error:
java.io.IOException: Cannot run program "node" (in directory
"/Users/<USERNAME>/Documents/Projects/<PROJECTNAME>"): error=2, No such file or directory.
I can run the app just fine in the the terminal.
My system is OSX Maverick, Eclipse Standard/SDK Version: Kepler Service Release 1
Build id: 20130919-0819, Nodeclipse 0.8.0, jdk1.7.0_45.jdk
Not sure if this is a bug or a configuration error. I would like to know how to fix this.
It should self solved problem, as it is clear that node can't be found so need to check current configuration Window -> Preferences -> Nodeclipse
Disable Find node on PATH,
then select node exact location, e.g. on Windows C:\Program Files\nodejs\node.exe
check Preferences carefully, experiment a bit.