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.

Bug 134328 - No context menu on node in "Files" window
Summary: No context menu on node in "Files" window
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: RANDOM
Depends on: 136812
Blocks:
  Show dependency tree
 
Reported: 2008-05-01 14:51 UTC by ulfzibis
Modified: 2008-09-05 09:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
No context menu on node www (11.72 KB, image/jpeg)
2008-05-01 14:52 UTC, ulfzibis
Details
No context menu on files (12.11 KB, image/jpeg)
2008-05-01 14:58 UTC, ulfzibis
Details
Favorites settings (1.31 KB, application/octet-stream)
2008-06-13 14:42 UTC, ulfzibis
Details
project tree overview (62.73 KB, image/jpeg)
2008-06-13 14:43 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2008-05-01 14:51:47 UTC
There is no context menu on node in "Files" window. (See attachment)
... so it isn't possible to create a new folder or file here.
Strangely it works on "src" node e.g..
Comment 1 ulfzibis 2008-05-01 14:52:49 UTC
Created attachment 60914 [details]
No context menu on node www
Comment 2 ulfzibis 2008-05-01 14:57:07 UTC
On "Favorites" window it's vice versa, no context menu (right mouse click) on files, but on nodes.
Comment 3 ulfzibis 2008-05-01 14:58:53 UTC
Created attachment 60915 [details]
No context menu on files
Comment 4 Peter Pis 2008-05-01 21:12:12 UTC
Reassigning to "Files" for evaluation.
Comment 5 ulfzibis 2008-06-04 14:02:09 UTC
I don't agree to shift the resolution of this issue to NB 6.5.
Without solving this issue, I can't access to the Subversion functionality for files, which are not in the src-folder. :-(

Please fix this bug for NB 6.1.
Comment 6 Milan Kubec 2008-06-12 09:00:50 UTC
FIx will go into development build first and then it will depend on sustaining team if it will be considered to include it in some next patches for NB 6.1.
Comment 7 Milan Kubec 2008-06-13 12:57:03 UTC
I cannot reproduce the issue at all. Are you able to reproduce this issue constantly? What type of project is it? Is it only in one particular project type or even 
one particular project? Is it only one folder or all folders? Is the folder somehow special?
Please, be as specific as possible.

Comment 8 Milan Kubec 2008-06-13 13:06:23 UTC
I realized that this issue is set to depend on issue #134328, how are these issues related? Was this problem initiated by some exception? Was the project 
under any VCS?
Comment 9 ulfzibis 2008-06-13 14:39:00 UTC
At the time I'm only working on one project. I didn't try my other projects with NB 6.1.
You can download the project from here:
- https://java-nio-charset-enhanced.dev.java.net/
- https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/trunk/
current head is here:
- https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/branches/milestone1/

> Is it only one folder or all folders?
- any folders :-(
> Is the folder somehow special?
- I don't think so

> I realized that this issue is set to depend on issue #134328, how are these issues related?
> Was this problem initiated by some exception? Was the project under any VCS?

Yes, when I try to access nodes in Files or Favorites window, I mostly become "NullPointerException at
java.util.StringTokenizer"

As you see in the project tree, I have to utilize TortoiseSVN to get SVN access to any other folder than 'src'.




Comment 10 ulfzibis 2008-06-13 14:42:54 UTC
Created attachment 62813 [details]
Favorites settings
Comment 11 ulfzibis 2008-06-13 14:43:55 UTC
Created attachment 62815 [details]
project tree overview
Comment 12 ulfzibis 2008-06-13 14:49:33 UTC
Also see under comments at http://statistics.netbeans.org/analytics/detail.do?id=39462
Comment 13 ulfzibis 2008-06-17 21:19:25 UTC
Not only context menu is missing, also the regarding items in normal menu are disabled, if those nodes are selected.
Comment 14 Milan Kubec 2008-06-18 13:34:11 UTC
I'm still not able to reproduce the issue. Please could you verify that this issue is still valid now, when issue #136812 was fixed? Please use latest dev build 
and clean userdir. Please provide also some details about platform that is assigned to the project. Thanks a lot
Comment 15 ulfzibis 2008-06-18 15:35:28 UTC
> Please could you verify that this issue is still valid now, when issue #136812 was fixed?
I prefer to wait for patch3 for NB 6.1 Do you know it's releases?

> clean userdir.
What you mean exactly by this?
Should I newly setup my whole IDE configuration? :-(

> platform that is assigned to the project:
 JDK 1.6.0 b105, reason: Issue 130352

Comment 16 ulfzibis 2008-06-18 15:38:32 UTC
I prefer to wait for patch3 for NB 6.1 Do you know it's release date (approximately)?

I have deleted the var/cache with no result.
Comment 17 Milan Kubec 2008-06-19 14:45:17 UTC
Patch 3 will be released sometimes around beginning of August (http://wiki.netbeans.org/NetBeans61Patch3Plan), and we could try to provide complete 
fix for this patch, in case there is something more needed than fix of issue #136812.

The verification on your side can be quite simple and will not break your current working environment in any way:

You can download some latest build, e.g.:
http://bits.netbeans.org/dev/nightly/2008-06-19_02-01-08/zip/netbeans-trunk-nightly-200806190009-javase.zip

After unzipping the archive you cd under netbeans/bin dir and type:
nb --jdkhome <path to JDK> --userdir <path to some dummy empty temp folder>

Then create copy of the project in question (just in case you want to be really really sure) and open the copy of the project in IDE and try to reproduce the 
issue.

It's easy and will not break your current working environment.

If you manage to reproduce it, please provide exact step by step to reproduce. Thanks for cooperation.

Comment 18 Milan Kubec 2008-06-20 11:18:36 UTC
Since this issue is not reproducible I'll lower priority until there is some reproducible test case and reporter confirms that it's still reproducible in latest build.
Comment 19 ulfzibis 2008-06-20 17:16:06 UTC
Thanks for your smart instructions.

The project in question wouldn't work without the settings from my current working environment. (e.g. I use older
6.0b105 platform for the project, but 6.0u6 to start NetBeans. Reason: Issue 130352; thanks for a vote, as also the
given workaround doesn't work) Also some macros etc. are worth to be rescued for later work.

What you think about the following test scenario? :
- backup a copy of my project to a safe place
- install the dev build as you described
- on 1st start import settings from my 6.1 working environment
- start with the test

In case, I don't experience the issue, and if all works fine, I'm thinking about to work with the dev build from now on,
because waiting for fix 3 in august will be hard for me. I case I experience other serious problems with the dev build
after some time, can I switch back to NB 6.1 with my project or in other words, is the 6.5 project data backward
compatible to 6.1?
Comment 20 ulfzibis 2008-06-20 17:25:20 UTC
Why shouldn't I use the Windows installer version? I guess, it creates it's own userdir in */.netbeans/6.5dev/.
Comment 21 Milan Kubec 2008-06-23 10:16:21 UTC
You can use windows installer of course, I just thought you want to be conservative about installed development software just to test a bug fix.

Your test scenario can work as well, only the third point with importing settings from previous version 6.1 might be questionable for dev build - usually 
import of settings is done as last thing during development cycle, so you might not get correctly set up IDE. 

Dev build IDE has userdir ${HOME}/.netbeans/dev regardless how it is installed, so if you want to customize it, go to netbeans/etc/ dir and modify 
netbeans.conf, property 'netbeans_default_userdir'.
Comment 22 ulfzibis 2008-06-23 23:03:43 UTC
The dev build 200806190009 seems to work correct. :-)

1. I tried with clean userdir and opened my project by hand. As foreseen I had some missing references, but the context
menu works in all cases.

2. I tried to import my old settings on first startup, but had no success because of issue 138032. So I copied my 6.1
userdir by hand, and came to a new issue: http://statistics.netbeans.org/analytics/detail.do?id=68714
Also here the context menu works in all cases.

Comment 23 Milan Kubec 2008-06-24 09:25:13 UTC
Thanks for verification! As I wrote in my last comment importing functionality is not working well yet. Copying userdir as is to new version of IDE might not 
work correctly at all, import of settings should be used instead (but it doesn't work as you noted).

I think that this issue is no more valid - if you agree with closing this issue, please do so. Thanks.

Comment 24 ulfzibis 2008-06-24 11:47:56 UTC
> Thanks for verification!
My pleasure!

> ... import of settings should be used instead (but it doesn't work as you noted).
... a long disappointing story, see: issue 42157, issue 51033, issue 55647, issue 57701, issue 60750, issue 107936,
issue 138032.
For us nightly testers it's much annoying to have to setup the environment by hand from one dev build to the next and it
often impedes to do testing at all.
Please give those issues your vote. ;-)

> I think that this issue is no more valid - if you agree with closing this issue, please do so. Thanks.
Hm, do you think so, as it is not really solved for the 6.1 release?
Comment 25 Milan Kubec 2008-06-25 11:24:42 UTC
Well, the root cause seems to be issue #136812, which is already planned for 6.1 patch 3. But if you want to keep this issue open until you can verify the fix 
in the actual patch release, I'm OK with it.

Comment 26 Milan Kubec 2008-09-01 13:09:07 UTC
Closing the issue since the fix should be in patch release already and in trunk as well.
Comment 27 ulfzibis 2008-09-01 15:02:17 UTC
No patch release for 6.1 available ...since ~2 months. Error is still present. :-(
Comment 28 Milan Kubec 2008-09-01 15:10:33 UTC
OK, the patch will be out by this week.
Comment 29 Milan Kubec 2008-09-05 08:51:34 UTC
The patch 3 is available, closing the issue.
Comment 30 ulfzibis 2008-09-05 09:23:52 UTC
Now it works in NB 6.1 after installing patch 3