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.
NetBeans 7.3.1 freezes when I try to paste text copied from a file to an external text editor. The copy occurs in the NetBeans editor and the paste is attempted in the gedit editor. Nothing is pasted. NetBeans is still responsive after the copy but it freezes when the paste is attempted in gedit! I would be happy to provide whatever debugging information that you wish from me. But you will have to explain to me how to produce it. I am running a basic UBUNTU environment.
I guess having a thread dump would be a good start: http://wiki.netbeans.org/GenerateThreadDump Thanks.
I will get thread dump ASAP. Note that new bug 233341 references this bug.
Created attachment 137728 [details] Requested thread dump
This freeze is more pervasive than I thought at first. It happened again just after I pasted some text into a file. IE: Text going in the other direction [from external source to NetBeans editor]. There was some delay after the paste before the freeze and the paste worked. I will attach a thread dump for this freeze.
Created attachment 137735 [details] thread dump for second freeze.
In the 2nd threaddump, two (!) AWT event dispatch threads are present ("AWT-EventQueue-4", "AWT-EventQueue-2"), both in their event dispatch loops I am not entirely sure how that might happen. I've noticed that you use OpenJDK - which version it was ? Please attach the ide.log as well; thanks.
(log can be found in your $userdir/var/log/ directory)
Created attachment 137807 [details] /etc/java-6-openjdk/logging.properties I am running openjdk-6-jre 6b27-1.12.6-1ubuntu0.12.04.2 I could not find an ide.log. Perhaps I do not have logging turned on. I am not knowedgable in java but I did find the attached file at /etc/java-6-openjdk/logging.properties
Display Help | About dialog box. You can find the location of "User Directory" there. There are two main sub-folder is that directory - var (look in var/log for message.log) and config (where all the configuration is kept)
FYI: https://netbeans.org/projects/platform/lists/dev/archive/2013-07/message/274 I would suggest to try running under OpenJDK 7.
I removed OpenJDK 6 and installed OpenJDK 7. Now NetBeans will not start. I get no response when I try. I tried to reinstall NetBeans with netbeans-7.3.1-php-linux.sh and got "All of available components are already installed". Do I now have to uninstall and reinstall NetBeans? If so, then how do I do uninstall?
You can delete netbeans folder in home directory. That is enough for uninstall.
(In reply to comment #11) > I removed OpenJDK 6 and installed OpenJDK 7. > > Now NetBeans will not start. I get no response when I try. > > I tried to reinstall NetBeans with netbeans-7.3.1-php-linux.sh > and got "All of available components are already installed". > > Do I now have to uninstall and reinstall NetBeans? Hm, I guess the problem is that the path to the JDK is hardcoded in the installation directory. Reinstall would help, but fixing the path to the JDK manually is feasible as well: -go into the netbeans installation directory and open etc/netbeans.conf -there is line like this: netbeans_jdkhome="<path-to-jdk>" fix the path to point to the new JDK location The launcher prints an error, but only to the stderr. Sorry for this trouble. > If so, then how do I do uninstall?
I have successfully reinstalled NetBeans. So far I have experienced no freezes. :-) I will let you know if the problem reoccurs. If you don't hear from me for a few days, please close this bug report.
Oh. And thanks for your help in this matter!
OK, closing as wontfix - must be fixed by JDK (or different version of it). Thanks for the help, Lahvaci. Please reopen the defect (or file another) if happens again with recent version of OpenJDK and/or Oracle JDK 6-7
*** Bug 233381 has been marked as a duplicate of this bug. ***
BUG reported against Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1204906 Tonda, could we escalate this ? NetBeans doesn't work at all after last update of OpenJDK.
Created attachment 138105 [details] Another thread dump Appears to be trivially reproducible: this thread dump is while trying to start full build of NetBeans minus ergonomics - a dialog appears that some modules cannot be installed because they cannot run on Linux. The dialog cannot be confirmed - the hypothesis is that the events go to the wrong instance of AWT Event Dispatch thread. Thread dump shows two dispatch threads.
*** This bug has been marked as a duplicate of bug 233557 ***
Hello I have a same issue and it didn't any logs and dump.