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.
Sometimes, but not always, the Subversion context menu in the project window is not available for the root elements. In example I have the following project tree and a changed file in "subdir1": MyProject Source Files projectdir subdir1 subdir2 Normally, the versioning icon appears in the folder containing changed files and all its parents (subdir1, projectdir, Source Files, MyProject), and the subversion context menu appears in all folders when I right click on them. Sometimes, only the folder containing the changed file has the versioning icon and the subversion context menu, all others don't. When this happens I select the project root and then, from the "Team" menu, I select Subversion->Update. Once the Subversion update is finished, the icons appear in all the folders and the context menus are available again. I suspect, but I'm not sure, that this happens when I open NetBeans and the local copy is not updated, but I can't confirm now because I have no updates waiting on any repository. Product Version: NetBeans IDE Dev (Build 201211190002) Updates: Updates available Java: 1.7.0_03; OpenJDK Client VM 22.0-b10 Runtime: OpenJDK Runtime Environment 1.7.0_03-b21 System: Linux version 3.2.0-4-686-pae running on i386; UTF-8; en_US (nb) User directory: /home/paolo/.netbeans/dev Cache directory: /home/paolo/.cache/netbeans/dev
What do you mean by "Subversion context menu in the project window is not available"? Is there just Versioning -> Import into Subversion? Is there no subversion menu? Or is the menu full of disabled actions? Can you make a screenshot?
Plus when it happens, can you make a thread dump also? http://wiki.netbeans.org/GenerateThreadDump
(In reply to comment #1) > What do you mean by "Subversion context menu in the project window is not > available"? Is there just Versioning -> Import into Subversion? Is there no > subversion menu? Or is the menu full of disabled actions? Can you make a > screenshot? Now I fixed it running Team->Subversion->Update so I can't check, but when it happens I'm sure the Subversion menu (the one below the History menu) is completely missing. I don't remember if there was a Versioning->Import into Subversion menu item, I just checked and I don't have a Versioning context menu at all. As soon as it happens again I'll do a thread dump and a screenshot of the context menu so you get a better idea of the problem. Thanks. Paolo
It just happened again, as suggested I attach a few jstack thread dumps and the log files. Unfortunately I couldn't take a screenshot of the menus, but in the project context menu there was no subversion or any other versioning items, in the team menu there was a Subversion item, but it contained only Checkout and Import into Repository. Curiously enough, while typing this the Subversion context menu became available again, but the Team->Subversion menu still contains only Checkout and Import. jstack.1.txt and jstack.2.txt were taken when the menu wasn't available, jstack.3.txt was taken after the subversion menu item became available again.
Created attachment 128730 [details] Thread dump taken while the menu was unavailable
Created attachment 128731 [details] Thread dump taken while the menu was unavailable
Created attachment 128732 [details] Thread dump taken after the menu became available again
Created attachment 128733 [details] Messages Log Note, toward the end of the session the menu became available again, maybe there is something useful in this log.
Created attachment 128734 [details] Messages Log (old) This is the on older log, I include it because the laptop has been on all night and this morning I noticed the menu missing so the problem could have been triggered yesterday.
Created attachment 128735 [details] Messages Log (older) As for messages.1.log, I include it because the laptop has been on all night and this morning I noticed the menu missing so the problem could have been triggered yesterday.
Created attachment 128736 [details] Metrics log
Created attachment 128737 [details] Metrics log (old)
Created attachment 128738 [details] UI Gestures log
Created attachment 128739 [details] UI Gestures log (old)
There is just one interesting message in the log: > WARNING [org.netbeans.modules.subversion]: no repository url found for managed file /var/www/cogeweb/cgphp/cli Are you trying to version /var/www/cogeweb/cgphp/cli folder? Isn't that a usual server directory? It should not be versioned i think. From the thread dump there are references to cnd/c++: > at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:101) > at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:75) > at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:92) So what kind of project is it? C++ or PHP? Other?
(In reply to comment #15) > There is just one interesting message in the log: > > WARNING [org.netbeans.modules.subversion]: no repository url found for managed file /var/www/cogeweb/cgphp/cli > Are you trying to version /var/www/cogeweb/cgphp/cli folder? Isn't that a usual > server directory? It should not be versioned i think. /var/www/cogeweb/cgphp/cli is a directory containing client data, usually uploaded files, but it's not versioned. It's marked as SVN ignored and it's grayed out in the project tree. > So what kind of project is it? C++ or PHP? Other? The project is PHP and it doesn't contain any C++ files, the C/C++ plugin however is installed in NetBeans but I seldom use it.
What about in the Files view or in the Favorites view? Does the popup menu look the same? Can you share the project with me? Or at least can you send me the project setup (project folders without source files)?