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.
- Start IDE with new userdir with ergonomics enabled. - Install BlueJ plugin - Create BlueJ project -> 'Convert to Java SE project' popup menu progress will go to 10% and that's all. Product Version: NetBeans IDE Dev (Build 200904240201) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\tester\.netbeans\dev
I guess something is not enabled properly
The following runtime lookup fails, as J2SEProject module is not enabled: Class j2seclazz = loader.loadClass("org.netbeans.modules.java.j2seproject.J2SEProjectGenerator"); // NOI18N Method createMethod = j2seclazz.getMethod("createProject", new Class[] { // NOI18N File.class, String.class, String.class, String.class, String.class }); createMethod.invoke(null, new Object[] { file, info.getName(), null, null, null }); handle.progress(5); Simple fix is to add runtime dependency on that project like in following patch. However I rather leave the final fix on the maintainer of the code: diff -r a057deef0e8b o.n.bluej/manifest.mf --- a/o.n.bluej/manifest.mf Tue Jun 23 09:32:51 2009 +0200 +++ b/o.n.bluej/manifest.mf Fri Jun 26 17:48:23 2009 +0200 @@ -3,5 +3,5 @@ OpenIDE-Module-Layer: org/netbeans/bluej/layer.xml OpenIDE-Module-Localizing-Bundle: org/netbeans/bluej/Bundle.properties OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help -OpenIDE-Module-Specification-Version: 1.4 +OpenIDE-Module-Specification-Version: 1.5 diff -r a057deef0e8b o.n.bluej/nbproject/project.xml --- a/o.n.bluej/nbproject/project.xml Tue Jun 23 09:32:51 2009 +0200 +++ b/o.n.bluej/nbproject/project.xml Fri Jun 26 17:48:23 2009 +0200 @@ -74,6 +74,13 @@ <run-dependency> <release-version>1</release-version> <specification-version>1.8.1</specification-version> + </run-dependency> + </dependency> + <dependency> + <code-name-base>org.netbeans.modules.java.j2seproject</code-name-base> + <run-dependency> + <release-version>1</release-version> + <specification-version>1.27</specification-version> </run-dependency> </dependency> <dependency>
Reassigning to default owner.