Netbeans suddenly failed to start after saying “Done Loading modules”

╄→尐↘猪︶ㄣ 提交于 2019-12-13 14:23:26

问题


Netbeans 8.0 fails to start in Ubuntu 12.04 suddenly. Previously it used to work fine. But now it does not start, when I try to start, the netbeans blue loading box shows up, sometime after showing the message "Done Loading modules", it disappears & netbeans windows does not appear. However netbeans is still shown in the running processes, but the netbeans windows does not open after any time.

In the past, this also happened with netbeans 7.4 sometime ago when I disabled some plugins (probably it was due to disabling some Hudson plugin/Husdon UI plugin). But now this time it is probably after an automatic update of a plugin, I don't know which one now. I tried remove the entire cache directory as well but no improvement to situation. Is reinstalling netbeans, the only solution each time(Huh!) ?

Edit:

Sometimes it works when I run from terminal using(worked for netbeans 8.0 but not for 7.4):

$ /bin/sh  /home/user/netbeans-8.0/bin/netbeans

回答1:


I have experienced this before with Netbeans 7.4 and 8 on Ubuntu 12.04 x64 and on Windows 7 SP1 x64. The only way I could solve it was by removing Netbeans and its cache, and then reinstalling it. Maybe it's a rigorous solution, but it's a solution.

However, maybe you can check your logs and see if there is an exception somewhere. It could be helpful to at least report an issue to the Netbeans developers (or plugin developers, if a plugin is the culprit), so your particular issue (and possibly mine) can be fixed. Off the top of my head, the Netbeans startup log for Ubuntu is located at /home/<user>/.netbeans/8/var/log, you could check that out.

Another way to go is to reinstall Netbeans and add your plugins one by one. That way you can root out the culprit and address its developers.



来源:https://stackoverflow.com/questions/22819991/netbeans-suddenly-failed-to-start-after-saying-done-loading-modules

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!