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.
Summary: | IllegalArgumentException: Already a project org.netbeans.modules.php.project.PhpProject in C:\Arquivos de programas\Apache Software Foundation\Apache2.2\htdocs\mala_1 | ||
---|---|---|---|
Product: | projects | Reporter: | villefilho <villefilho> |
Component: | Ant Project | Assignee: | Milan Kubec <mkubec> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | sj-nb |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=133503 | ||
Issue Type: | DEFECT | Exception Reporter: | 133503 |
Attachments: | stacktrace |
Description
villefilho
2008-10-31 17:54:38 UTC
Created attachment 73008 [details]
stacktrace
This issue has already 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=133503 as for my part classified as duplicate of this one (not sure if it is) it block uml tool completely, so should be p1-p2 but it's not reproducible in 6.5 for me, should I file separate issue? should it be fixed in uml and not in ant module? It seems that our reporting tool mixes two issues together, one about "Already a project ..." and second "No Ant-based project factory ...", your problem seems to be the second one. It looks like problem in UML module, do you mean that it's only reproducible on trunk build (7.0)? You should file an issue against UML module IMO. ok I'll file one, may be one more for reporting tool. I see the same problem was reported for android. Are you sure it's uml module problem it wasn't a problem just a week or two ago? could you point me to any doc? I'm currently investigating but it may be faster with some support even if it's in uml. I will file issue against exceptions reporter. From the code in ProjectGenerator it looks like the problem is really in project factory. When exactly this happen? Are you able to reproduce it from scratch (with clean userdir)? yes, I build nb today, build uml module, trued to create uml project with fresh user dir - fails. not sure when, it used to work in 6.5 and some time after. i didn't try to create uml projects may be for a week. do you mean problem in uml project factory? I filed http://www.netbeans.org/issues/show_bug.cgi?id=152623 for uml, so this one issue can be restored to p3 if appropriate. > do you mean problem in uml project factory?
Yes.
As I see uml do not have classes implementing ProjectFactory and also UMLProjectType is AntBasedProjectType. Either I missed an idea or or's not a problem in uml project factory. It still may be a problem in uml. Indeed as AntBasedProjectType it doesn't have to implement ProjectFactory, but the problem seems to be in UML project itself since other Ant based projects do not have this problem. yes, I don't see other with the same problem, and I found UMLProjectType isn't in lookup but I also can't find any good doc on it. Tried to compare with nb module project and later found it doesn't work but without exception. Are going to investigate more with other ant based projects. Lowering priority. *** This issue has been marked as a duplicate of 139769 *** |