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 122202 - Cannot create a new project
Summary: Cannot create a new project
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Milan Kubec
URL: http://bugs.sun.com/view_bug.do?bug_i...
Keywords:
: 123703 127156 129358 131504 133480 133586 135738 149197 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-17 12:03 UTC by rezaalavi
Modified: 2011-02-23 21:01 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
This is the snapshot (13.54 KB, text/plain)
2007-11-18 12:16 UTC, rezaalavi
Details
Thread Dump with Ubuntu (14.56 KB, text/plain)
2007-11-27 19:27 UTC, tonybeckham
Details
thread dump (17.11 KB, text/plain)
2008-01-09 15:20 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rezaalavi 2007-11-17 12:03:32 UTC
whenever I try to create a new project by selecting the new project menu, it shows a pop up screen (the New Project
form) but inside the categories it just shows please wait ...
Comment 1 Lukas Hasik 2007-11-17 17:35:53 UTC
thank you for report. Please provide following informations:
1, what is you OS and JDK?
2, what build are you using?
3, is the issue reproducible?
4, can you provide screenshot/messages.log, etc?
5, what kind of project are you creating?

The tests are passing and new creation of new project is part of them. We need more details to be able to proceed with
the bug.


Comment 2 rezaalavi 2007-11-18 12:16:26 UTC
Created attachment 53168 [details]
This is the snapshot
Comment 3 rezaalavi 2007-11-18 12:21:17 UTC
I am using Fedora 8
The SDK is java-1.7.0-icedtea
The netbean version is 6.0RC1
Today when I runned the netbeans I was able to create a new project but after closing all opened projects and restarting
the netbeans I was not able to create a new project and all submenus in all menus where disabled.

Comment 4 Marian Mirilovic 2007-11-19 08:36:02 UTC
rezaalavi,
could you please generate thread-dump :
http://wiki.netbeans.org/wiki/view/GenerateThreadDump
at the time the IDE is frozen and attach the log into this issue. Thanks in advance.
Comment 5 Milan Kubec 2007-11-19 11:58:11 UTC
Lowering priority to standard P3 because java-1.7.0-icedtea is not officially supported java platform for NetBeans IDE.
Comment 6 rezaalavi 2007-11-20 08:32:18 UTC
I changed the sdk to 1.6u3 and the problem is gone for now.
do you need me to change back to icetea and provide the dump?
Comment 7 Milan Kubec 2007-11-20 08:38:44 UTC
The dump might be useful, but IcedTea will not be supported anyway. I recommend to stick with 1.6u3.
Comment 8 Milan Kubec 2007-11-20 13:54:38 UTC
Well, JDK_1.7 kw is not correct, it's unsupported JVM.
Comment 9 tonybeckham 2007-11-27 19:26:34 UTC
System Info:
Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 12.0-b01
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)

Using JDK7 on Ubuntu the create new project dialog hangs the IDE.  Killing the IDE and restarting is the only solution.
 The project was created so after restarting the IDE it can be opened.  I got a thread dump when this happens (see
attachment).
Comment 10 tonybeckham 2007-11-27 19:27:14 UTC
Created attachment 53568 [details]
Thread Dump with Ubuntu
Comment 11 tonybeckham 2007-11-27 20:12:53 UTC
Also creating any new file has the same behavior.
Comment 12 Milan Kubec 2007-11-28 09:00:21 UTC
The thread dump you provided doesn't show any deadlock, please try to create more thread dumps during the hang. Thanks.
Comment 13 Jaroslav Pospisil 2007-11-29 10:59:31 UTC
I've the same problems on my Ubuntu 7.10 everytime I create new project or file. There's only one exception and it's 
Web Service, so far - when I created JAX-WS web service in web application, it proceed O.K. 
Comment 14 Milan Kubec 2007-11-29 11:11:49 UTC
Please, provide thread dumps. Thanks.
Comment 15 Jaroslav Pospisil 2007-11-29 13:45:13 UTC
This issue seems to be valid also for OpenJDK(1.7.0-ea).
Comment 16 mslama 2007-11-30 07:37:22 UTC
This problem is JDK bug with focus (never ending loop when requesting focus). Issue filed against JDK is
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6598089. (IcedTea and in future OpenJDK will be distributed as
default JDK for Linux distribution so it should be supported.)
Comment 17 Tomas Danek 2008-01-08 16:53:53 UTC
I've reproduced in openjdk-6-b03 with 6.0.1 (Build 200801080000) on KUbuntu:
1. /netbeans --jdkhome /space/openjdk-6-b03-linux/ --userdir /tmp/ud2
2. new project|java app
3. finish, wizard is not finished

do you want another thread dump?
Comment 18 Milan Kubec 2008-01-09 14:06:40 UTC
Yes, please, provide some thread dumps.
Comment 19 Tomas Danek 2008-01-09 15:20:46 UTC
Created attachment 54869 [details]
thread dump
Comment 20 Milan Kubec 2008-01-18 10:23:53 UTC
*** Issue 123703 has been marked as a duplicate of this issue. ***
Comment 21 Petr Blaha 2008-02-12 15:04:43 UTC
*** Issue 127156 has been marked as a duplicate of this issue. ***
Comment 22 Milan Kubec 2008-02-21 13:01:48 UTC
Closing this issue as the problem is in JDK.
Comment 23 Lukas Hasik 2008-03-07 13:42:04 UTC
*** Issue 129358 has been marked as a duplicate of this issue. ***
Comment 24 _ hong_lin 2008-04-22 02:46:18 UTC
So who will fix this issue? Did any one report this bug against JDK 1.7?
Comment 25 Milan Kubec 2008-04-22 08:45:54 UTC
Yes, the issue against JDK is #6598089 in bugster.
Comment 26 mslama 2008-04-22 09:21:33 UTC
This problem was already fixed. See URL given at URL field. According to info given there it was fixed in  7(b25),
6-open(b04).
Comment 27 Jiri Skrivanek 2008-04-22 10:50:07 UTC
*** Issue 133480 has been marked as a duplicate of this issue. ***
Comment 28 Lukas Hasik 2008-04-29 13:41:56 UTC
*** Issue 133586 has been marked as a duplicate of this issue. ***
Comment 29 Lukas Hasik 2008-05-27 08:18:26 UTC
*** Issue 135738 has been marked as a duplicate of this issue. ***
Comment 30 Milan Kubec 2008-06-13 10:59:28 UTC
*** Issue 131504 has been marked as a duplicate of this issue. ***
Comment 31 Milos Kleint 2008-10-08 08:12:03 UTC
*** Issue 149197 has been marked as a duplicate of this issue. ***
Comment 32 Marian Mirilovic 2011-02-23 21:01:03 UTC
v/c