This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm using an external keyboard and at some point netbeans starts failing and everytime i press the delete key it deletes twice and when i cut/copy paste it pastes twice also. This error happens after some time of using the IDE and it is all of a suden, i can't figure out what is triggering the error. If i close netbeans and reopen, then it works correctly again for a while. It is almost unbearable to program like this. Please let me know if i can provide any further details on this so that it can be fixed. Thanks! Lucas
*** Bug 224544 has been marked as a duplicate of this bug. ***
(In reply to comment #0) > I'm using an external keyboard and at some point netbeans starts failing and > everytime i press the delete key it deletes twice and when i cut/copy paste it > pastes twice also. This error happens after some time of using the IDE and it > is all of a suden, i can't figure out what is triggering the error. If i close > netbeans and reopen, then it works correctly again for a while. > > It is almost unbearable to program like this. Please let me know if i can > provide any further details on this so that it can be fixed. > > Thanks! > > Lucas I have just seen someone else to have the same problem in OSX and he doesn't mention an external keyborad. Maybe the external keyboard has nothing to do with this bug.
it is a fact: THE EXTERNAL KEYBOARD HAS NOTHING TO DO WITH THIS BUG. I finally disconnected the keyboard and used it for a while until the same error happened. It is probably an error in the mac version only.
This is dup of issue 208651 very likely. It was entered as JDK problem 7147817 and made a dup of issue http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7142565 *** This bug has been marked as a duplicate of bug 208651 ***
(In reply to comment #0) > It is almost unbearable to program like this. Please let me know if i can > provide any further details on this so that it can be fixed. What is the JDK version/update you are able to reproduce this bug on ?
(In reply to comment #5) > (In reply to comment #0) > > It is almost unbearable to program like this. Please let me know if i can > > provide any further details on this so that it can be fixed. > > What is the JDK version/update you are able to reproduce this bug on ? The JDK ver is 1.7.0_04. According to what i have read in JDK bug description it doesn't seem to be the same thing. I have problems with the delete and copy/paste keys, not with the arrow keys and it only happens after a while of using netbeans.
According to what i have read in JDK bug description it doesn't seem to be the same thing. I have problems with the delete and copy/paste keys, not with the arrow keys and it only happens after a while of using netbeans. (In reply to comment #5) > (In reply to comment #0) > > It is almost unbearable to program like this. Please let me know if i can > > provide any further details on this so that it can be fixed. > > What is the JDK version/update you are able to reproduce this bug on ? The JDK ver is 1.7.0_04. According to what i have read in JDK bug description it doesn't seem to be the same thing. I have problems with the delete and copy/paste keys, not with the arrow keys and it only happens after a while of using netbeans. (In reply to comment #4) > This is dup of issue 208651 very likely. It was entered as JDK problem 7147817 > and made a dup of issue > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7142565 > > *** This bug has been marked as a duplicate of bug 208651 ***
Can you reproduce this bug on a newer jdk?
This was happening to me some time ago as well, but I haven't seen this for a while using new JDKs. Please try JDK7u11: http://www.oracle.com/technetwork/java/javase/downloads/index.html
The double delete keeps happening. My original report. -------------------------------------------------- The delete key deletes 2 characters after a while on osx. This happens on.. osx 10.7 and 10.8 With these combinations. netbeans 7.2.1 - with jdk 1.7.0_7 or 1.7.0_10 netbeans 7.1.2 - with jdk 1.7.0_7 or 1.7.0_10 I have found no combination of osx, jdk, and netbeans that works without this bug. You have a bug like this marked resolved. It is not resolved. I use netbeans to work on a java project for a while and then this happens. I do use svn when this happens if you are having trouble recreating this bug. workstation #1: imac with standard keyboard. workstation #2: mini mac with standard keyboard. This happens on both workstations.
most likely very same problem as #224544. lschnoller, can you please try to reproduce on your mac using JDK7u11 (see comment 9) and reopen if you are still able to reproduce? Thanks in advance.
I added logs to editor actions. http://hg.netbeans.org/jet-main/rev/89c3ea3ec65f If problems prevails, please run dev netbeans with log: ./netbeans -J-Dorg.netbeans.editor.BaseKit.level=400 and attach logs. It is printing stacktrace. I expect to have 2 stacktraces when problem occurs.
Ok guys i really appreciate the support. I'll update to JDK7u11 but i doubt it makes a different since Gunny has the same problem with u10. About adding the log, i'd love to but not sure how to go about it, i'm really new and running configs and stuff, could you please guide me a bit further? The questions is how do i run dev netbeans with log and once it ran, where do i read the log from? Thanks! (In reply to comment #12) > I added logs to editor actions. > http://hg.netbeans.org/jet-main/rev/89c3ea3ec65f > > If problems prevails, please run dev netbeans with log: ./netbeans > -J-Dorg.netbeans.editor.BaseKit.level=400 > > and attach logs. It is printing stacktrace. I expect to have 2 stacktraces when > problem occurs.
Integrated into 'main-golden', will be available in build *201301230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/89c3ea3ec65f User: Milutin Kristofic <mkristofic@netbeans.org> Log: #225056 - Double pasting and double delete on Mac OSX - logging
You can run NetBeans from terminal, using something like: /Applications/NetBeans/NetBeans\ 7.2.1.app/Contents/Resources/NetBeans/bin/netbeans -J-Dorg.netbeans.editor.BaseKit.level=400 (of course this example will run 7.2.1 where advanced logging is not present, you need download Dev build mentioned in comment 14 or any later Dev build. Just replace "NetBeans\ 7.2.1.app" with installed Dev build app folder name) Log will be printed into terminal, other option is to invoke from menu View | IDE log directly from running IDE. Hope that helps. (In reply to comment #13) > Ok guys i really appreciate the support. I'll update to JDK7u11 but i doubt it > makes a different since Gunny has the same problem with u10. > > About adding the log, i'd love to but not sure how to go about it, i'm really > new and running configs and stuff, could you please guide me a bit further? The > questions is how do i run dev netbeans with log and once it ran, where do i > read the log from? > > Thanks! > > (In reply to comment #12) > > I added logs to editor actions. > > http://hg.netbeans.org/jet-main/rev/89c3ea3ec65f > > > > If problems prevails, please run dev netbeans with log: ./netbeans > > -J-Dorg.netbeans.editor.BaseKit.level=400 > > > > and attach logs. It is printing stacktrace. I expect to have 2 stacktraces when > > problem occurs.
Hi Guys! Just updating to JDK7u11 made the trick. I used it for several days now and never got the problem again, what a relief!!! Thanks so much for the help. Cheers!
Glad to hear! (Putting back to WORKSFORME state, since there was no actual fix on our side). (In reply to comment #16) > Hi Guys! > > Just updating to JDK7u11 made the trick. I used it for several days now and > never got the problem again, what a relief!!! > > Thanks so much for the help. Cheers!
Trying 1.7.0_11 today. Will let you know if it continues.
*** Bug 225591 has been marked as a duplicate of this bug. ***
This is the only 'recent' thread I can find on this double DELETE issue. I have encountered the same problem with the DELETE key, but only when the focus is a JTree instance (no problem with text fields). My setup is slightly different (God forbid, I use a different IDE), but I just installed Java build 1.7.0_13-B20. This didn't happen on the 1.6 build. I can't find a bug report on the Oracle site, and hoped that somebody here knows what it might be so I can follow the status (It seems as if all of your Bug numbers are NetBeans specific, so I can't search by the bug #s here). Thanks for the help. Mark
This happens to me to: Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03 System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb) It happened in netbeans 7.2 and earlier but i saw somewhere that the java version was the culprit. Updated java and it still happens. Haven't been able to track down what causes it to happen but after netbeans has been running for a while pressing cmd+w closes two tabs at once, pressing delete deletes two characters, pressing the build keystroke starts two builds. It's quite troublesome. Restarting netbeans always fixes it for a while.
I just started experiencing the same problem on 7.3.1 on a Mac. It makes working extremely difficult. Every time I press the delete key on my keyboard (internal or external) it deletes two characters. Pressing undo removes only one. Any suggestions?
UPDATE: I thought I was running the latest version of Java but turns out I wasn't. Ran the updater, re-launched, and the problem is fixed.
I still has the bug with NB 7.4 and JDK 7u40 and 7u45 Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
Stando, please reevaluate.
(In reply to eumust from comment #24) > I still has the bug with NB 7.4 and JDK 7u40 and 7u45 > Are you using external keyboard?
Works fine for me in Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb) (using laptop's built-in keyboard)
(In reply to eumust from comment #24) > I still has the bug with NB 7.4 and JDK 7u40 and 7u45 > > > Product Version: NetBeans IDE 7.4 (Build 201310111528) > Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 > Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 > System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb) Please run NetBeans with -J-Dorg.netbeans.editor.BaseKit.level=400 command line switch, attach terminal output and your IDE log and then reopen, thanks.
(In reply to Stanislav Aubrecht from comment #26) > (In reply to eumust from comment #24) > > I still has the bug with NB 7.4 and JDK 7u40 and 7u45 > > > Are you using external keyboard? Yes
I've also been getting this issue. OSX 10.9.1 Java 1.7.0_15 Netbeans 7.4 (Build 201310111528) Patch 2 I'm also using an external keyboard. When it starts up again I'll try the onboard keyboard and see if there's any differences.