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 152623 - can't create uml project
Summary: can't create uml project
Status: RESOLVED DUPLICATE of bug 152896
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sergey Petrov
URL: http://statistics.netbeans.org/analyt...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-11-07 08:45 UTC by Sergey Petrov
Modified: 2009-02-19 23:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (6.22 KB, text/plain)
2008-11-10 17:21 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2008-11-07 08:45:28 UTC
can't create uml project.
Comment 1 Sergey Petrov 2008-11-07 08:46:48 UTC
got exception on attempt to create uml project.
Comment 2 Sergey Petrov 2008-11-07 09:44:20 UTC
see http://www.netbeans.org/issues/show_bug.cgi?id=152023 for some comments on the issue.
Comment 3 Milan Kubec 2008-11-07 11:16:37 UTC
Please provide exact steps to reproduce. Thanks.
Comment 4 Sergey Petrov 2008-11-07 13:42:00 UTC
it's easy, 
build ide (ant)
buidd ide with cluster.config=uml in user.build.properties (may be it will work wih downloadable uml plagin but didn't
verify yet)
start ide with fresh user dir
create new project: select UML|some kind, next, finish
exception is thrown and nothing visible is created in ide (but in real project folder and project.xml with proper
project type is created)
Comment 5 Sergey Petrov 2008-11-10 06:33:37 UTC
manually added META-INF.services help with project type registration (may need to be changed later)
http://hg.netbeans.org/main/rev/dac2a6e1ee5f
it's only a part fix, project can't be created yet
Comment 6 Jesse Glick 2008-11-10 16:02:07 UTC
#dac2a6e1ee5f is wrong and should be reverted.
Comment 7 Jesse Glick 2008-11-10 16:19:00 UTC
Works fine for me in #e1aa98f2fbda, the parent rev of #dac2a6e1ee5f. I built the uml cluster, started with a fresh
userdir, made a UML project - fine.
Comment 8 Sergey Petrov 2008-11-10 16:31:15 UTC
reverted http://hg.netbeans.org/main/rev/2a88d6b3da75
Comment 9 Sergey Petrov 2008-11-10 16:34:48 UTC
thanks, will try to rebuild all again. looks strange I was able to reproduce the issue and debugging shown missing type
in lookup. may be it's a problem with my build then.
Comment 10 Petr Dvorak 2008-11-10 17:21:22 UTC
Build: NetBeans IDE 6.5 RC2 (Build 200810270001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-7-generic, amd64

User Comments: 
I have deleted a NB C++ project and then recreated a new project of the same name with sources from the previously deleted project.

Stacktrace: 
java.lang.IllegalArgumentException: Already a project org.netbeans.modules.cnd.makeproject.MakeProject in /home/joshis/NetBeansProjects/mlaskal
        at org.netbeans.spi.project.support.ant.ProjectGenerator$.run(ProjectGenerator.java:117)
        at org.netbeans.spi.project.support.ant.ProjectGenerator$.run(ProjectGenerator.java:114)
        at org.openide.util.Mutex.writeAccess(Mutex.java:433)
        at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:113)
        at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:94)
        at org.netbeans.modules.cnd.makeproject.MakeProjectGenerator.createProject(MakeProjectGenerator.java:207)
Comment 11 Petr Dvorak 2008-11-10 17:21:31 UTC
Created attachment 73586 [details]
stacktrace
Comment 12 Sergey Petrov 2008-11-10 17:38:22 UTC
prev comment is intended to be in issue 152023. wrong url- statistic link cause addition.
Comment 13 Sergey Petrov 2008-11-11 05:08:06 UTC
I'm able to create uml project after build with jdk1.6 with nbjdk set to jdk1.5, most likely it's a duplicate of issue
152896

*** This issue has been marked as a duplicate of 152896 ***