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 69931 - [50cat] Submenu New is empty
Summary: [50cat] Submenu New is empty
Status: VERIFIED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 69847 69974 70091 70108 70591 70617 70816 71080 71443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-06 10:55 UTC by ehartmann
Modified: 2006-01-17 09:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (75.34 KB, image/png)
2005-12-06 12:55 UTC, ehartmann
Details
messages.log (12.68 KB, text/plain)
2005-12-06 12:56 UTC, ehartmann
Details
Messages.log (12.40 KB, text/plain)
2005-12-06 13:14 UTC, ehartmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehartmann 2005-12-06 10:55:46 UTC
[ JDK VERSION : 1.6 ]

Using 200512051900 build (yesterday build), the submenu New of a project is empty (the submenu does not appear).

To reproduce, just right click on a project (or a directory, or a package) and New.

I've used a fresh user directory.
Comment 1 Jan Lahoda 2005-12-06 12:20:17 UTC
Sorry, but I cannot reproduce the problem (created a new J2SE project, and
right-clicked on the project node, sources node and package node).

Could you please:
1. Attach your messages.log.
2. Test with a newly created project.
3. If the problem cannot be reproduced with a newly created, please attach the
content of your nbproject directory.
4. What project type do you use (J2SE project, freeform, etc.)
5. Atatch screenshot when the problem occurs, if possible.

and reopen the bug?

Thanks.
Comment 2 ehartmann 2005-12-06 12:54:33 UTC
That's really strange. 
I experience this problem with a build from CVS (with some modules) so I've
downloaded an official build and test it with JDK 6 and JDK 5_06. 
I've just tested with a new project and I still have no actions from the nodes
projects/source and package). I will upload a screenshot and the log file.
Comment 3 ehartmann 2005-12-06 12:55:09 UTC
Created attachment 27586 [details]
Screenshot
Comment 4 ehartmann 2005-12-06 12:56:02 UTC
Created attachment 27587 [details]
messages.log
Comment 5 Jan Lahoda 2005-12-06 13:02:15 UTC
I see you have xalan in jre/endorsed
(/opt/jdk1.6.0/jre/lib/endorsed/xalan-2.7.0.jar), which is not supported and
will not work. See issue #66563. It is also probably the cause of this problem.

I will close this bug as a duplicate of issue #66563, please remove the xalan
from your endorsed and try again. If it still does not work, reopen again.

Thanks.


*** This issue has been marked as a duplicate of 66563 ***
Comment 6 ehartmann 2005-12-06 13:14:03 UTC
Sorry I should have said that I tested it with vanilla JDK also, so please don't
hate me ;-), I'll reopen the bug and upload the message.log from vanilla JDK6.
Comment 7 ehartmann 2005-12-06 13:14:44 UTC
Created attachment 27589 [details]
Messages.log
Comment 8 Jan Lahoda 2005-12-06 13:54:37 UTC
Well, I can reproduce on JDK1.6 build 62. Cannot reproduce on JDK1.5.0_05,
JDK1.5.0_06 and JDK1.6 build 61. You wrote you have tried JDK1.5.0_06, what was
the result in your case?

Thanks.
Comment 9 ehartmann 2005-12-06 14:02:16 UTC
I've looked at the messages.log from JDK1.5.0_06 and I've made a mistake on the
command line when testing this report: 

"Ignored unknown option: --jdkhome=/opt/jdk1.5.0_06/" 

With the correct switch (--jdkhome /opt/jdk1.5.0_06/) the actions appear. 

So this may be a JDK bug instead of Netbeans one?
Comment 10 Jan Lahoda 2005-12-06 14:25:50 UTC
Probably caused by fix of:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4417601

Will try to workaround it in NB and file a JDK bug.
Comment 11 ehartmann 2005-12-06 14:29:27 UTC
All right, thanks for your help.
Comment 12 Jan Lahoda 2005-12-06 17:33:43 UTC
Filled a new bug against JDK, the number is 6359669.

After a discussion we decided not to workaround it in NetBeans for now, so
please use an older build of JDK until somehow fixed. Sorry.

Thanks for the report.
Comment 13 ehartmann 2005-12-07 10:14:26 UTC
I'm fine with not fixing this "bug" as it's not in a released JDK. 
I cannot access to this bug with web interface, is it available only to Sun
employees ?
Comment 14 Jan Lahoda 2005-12-07 10:37:07 UTC
It takes some time (a few days, usually) to propagate the bug to the web, so
please be patient.
Comment 15 Jan Lahoda 2005-12-07 16:27:36 UTC
*** Issue 69974 has been marked as a duplicate of this issue. ***
Comment 16 Jan Lahoda 2005-12-08 18:42:20 UTC
*** Issue 70091 has been marked as a duplicate of this issue. ***
Comment 17 Jan Lahoda 2005-12-08 18:48:17 UTC
*** Issue 70108 has been marked as a duplicate of this issue. ***
Comment 18 Marian Mirilovic 2005-12-09 09:26:23 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6359669

verified, it's regression in JDK
Comment 19 Martin Krauskopf 2005-12-19 16:39:30 UTC
*** Issue 70591 has been marked as a duplicate of this issue. ***
Comment 20 Jiri Rechtacek 2005-12-20 09:34:40 UTC
*** Issue 70617 has been marked as a duplicate of this issue. ***
Comment 21 Max Sauer 2005-12-27 22:18:32 UTC
*** Issue 70816 has been marked as a duplicate of this issue. ***
Comment 22 Marian Mirilovic 2006-01-03 15:46:31 UTC
*** Issue 69847 has been marked as a duplicate of this issue. ***
Comment 23 ehartmann 2006-01-05 12:47:34 UTC
The jdk bug has just been marked as resolved in build 66 of JDK 6 (not yet
available)
Comment 24 Marian Mirilovic 2006-01-06 09:56:36 UTC
Right, I've tried build 66 and it works, thanks.
Comment 25 Marian Mirilovic 2006-01-11 14:24:56 UTC
*** Issue 71080 has been marked as a duplicate of this issue. ***
Comment 26 Marian Mirilovic 2006-01-17 09:53:41 UTC
*** Issue 71443 has been marked as a duplicate of this issue. ***