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.
[NetBeans 4.1; WinXP; JDK 1.5.0_03] I've installed NetBeans project type support from update center into 4.1. If I try to open any project from NetBeans sources I get the following exception: java.io.IOException: Misconfigured project in MasterFileObject@139422b[file:/E:/netbeans.org/editor/] has no defined <code-name-base> at org.netbeans.modules.apisupport.project.NbModuleProject.<init>(NbModuleProject.java:75) at org.netbeans.modules.apisupport.project.NbModuleProjectType.createProject(NbModuleProjectType.java:41) The project cannot be opened. I chose P3 priority for now, the workaround is to open the project from development version. Perhaps this deserves a higher priority, I leave the decision on bug evaluator.
Created attachment 22358 [details] IOException
Just a note: it works fine for me with following setup: Product Version = NetBeans IDE 4.1 (Build 200505031930) Operating System = Linux version 2.6.10-1.771_FC2 running on i386 Java; VM; Vendor = 1.4.2_06; Java HotSpot(TM) Client VM 1.4.2_06-b03; org.netbeans.modules.apisupport.ant [2.23 200505031930] org.netbeans.modules.apisupport.project [1.1 200505031930] Only have lot of warnings in the log with following text: [org.netbeans.modules.apisupport.project] Warning: no known module corresponding to extra/modules/org-netbeans-modules-conve Otherwise I am able to work with NB 4.1 modules checked out from CVS. Are you trying to work with trunk modules using NB 4.1?
Yes, I did cvs up before opening the project. I'll try a clean cvs checkout of NB sources. I am using: Product Version = NetBeans IDE 4.1 (Build 200505031930) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_03; Java HotSpot(TM) Client VM 1.5.0_03-b06 org.netbeans.modules.apisupport.ant [2.23 200505031930] org.netbeans.modules.apisupport.project [1.1 200505031930]
You cannot use the NB 4.1 apisupport to work on trunk sources. You must use an NB dev build to open these projects. Sorry.
Ok, understand. In that case, why do we offer NetBeans project type support through 4.1 update center? Or is it meant for 4.1 sources only? It would be nice if we could give users better error message rather than to throw an exception if they attempt to do this.
It is meant for 4.1 sources only. When the new apisupport is in a more complete form we would like to publish it for 4.1 as well, so the version on AU now is a throwaway temporary module that we do not support at all. Re. exception message - cf. more general issue #53515.
Ok, thanks.
Verified.