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.
Since yesterday I had the following Items on the context menu (right mouse button) on a single Java file in the Project Browser (J2SE Project): - Compile File - Run File - Debug File Now they are gone. ... where ???
Who knows, need some way to reproduce. Not sure why #77678 was listed as a dep, appears unrelated.
> Who knows, need some way to reproduce. Are there any settings files which I can send you? Can I manipulate them? > Not sure why #77678 was listed as a dep, appears unrelated. Issues 77678 and 77524 sparsely describe, what I did the last 2 days: - debugging JDK 6.0 Beta, particularly sun.jdbc.odbc - switching between different Java Platforms - adding and deleting source paths outside of the src-folder, because of 77678 - compiling, running and debugging single files via contextmenu At some moment the Menu-Entries are gone.
The log file (var/log/messages.log) may or may not be helpful if you are unable to reproduce the problem.
Created attachment 31019 [details] log file
Created attachment 31020 [details] log file
> if you are unable to reproduce the problem. The problem exists any more, but I can't repair it. For this I asked you if there are there any settings files which I can send you? Can I manipulate them?
Don't see anything obviously wrong. o.n.m.java.project module is enabled. Maybe you have these actions masked in your $userdir/config/Loaders/text/x-java/Actions/ folder?
> Maybe you have these actions masked in your > $userdir/config/Loaders/text/x-java/Actions/ folder? Here it is. I found: - CompileFile.instance_hidden - RunFile.instance_hidden - DebugFile.instance_hidden I don't know, how this could happen. Thanx a lot.
By the way, ist this good programming style to waste 3 files (3x512 Bytes) and 3 folders for 3 simple settings ? ;-)
Well we can see the immediate cause of the bug. I'm trying to think of what could have caused those masks to be created, but for now with no success, nor have I heard of anyone else having the same problem. If you manage to reproduce the steps that caused the masks to be created, by all means reopen with more info.
I have some little more Info: IMHO the order of the menu entries is not correct and there is missing a separator after 'Properties' (see attachment), after I renamed to RunFile.instance_hidden.bak etc. As I remember right, entry 'Properties' was the last before the bug occured. There is another file ..\config\Loaders\text\x-java\.nbattrs (see attachment) which didn't exist before (has same creation timestamp as the '.._hidden' files, and whole folder 'Loaders' didn't exist in my 5.0beta installation. Can I delete whole folder 'Loaders', or do I risk to loose the 'SVN ...' menu entries? Creation timestamp of the files is: 9. Juni 2006, 21:45:05 MEZ Perhaps you can compare to any events in the log file.
Created attachment 31080 [details] Attribs file
Created attachment 31081 [details] Java file context menu
You can delete the .nbattrs and probably the whole folder that contains it.
I have deleted the whole folder 'Loaders', and now the order of the entries and the separators are correct.
The context menu items are still there, the the separator seems to be wrong. It should be after "Paste" and before "Compile File".
Please do not change the 'Version' field of a bug after it has been filed.
this issue seems to be incomplete for almost a year -> worksforme Please, reopen if it still happens with 6.5
The main problem is resolved since long time :-) IMO INCOMPLETE could be removed. ...but the menu separator is any more in wrong position between Compile and Run, also in 6.5.
>The main problem is resolved since long time :-) >IMO INCOMPLETE could be removed. > >...but the menu separator is any more in wrong position between Compile and Run, also in 6.5. I'm closing as fixed again as I'm confused by the last message from ulf. If the main problem is fixed then verify this issue. If there is wrong position of separator in NB6.5 (check with http://wiki.netbeans.org/ProjectContextualMenus) then fill new issue, please.
> If there is wrong position of separator in NB6.5 (check with http://wiki.netbeans.org/ProjectContextualMenus) then fill new issue, please. Thanks for the hint, but this page doesn't cover the menu, I'm speaking about. See new attachment.
Created attachment 74539 [details] Java file menu