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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.24-22-generic, i386 User Comments: jutter: attempting to build a maven project Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javafx.platform.platformdefinition.JavaFXPlatformImpl.loadProfileProperties(JavaFXPlatformImpl.java:356) at org.netbeans.modules.javafx.platform.platformdefinition.DefaultPlatformImpl.create(DefaultPlatformImpl.java:101) at org.netbeans.modules.javafx.platform.platformdefinition.PlatformConvertor.createPlatform(PlatformConvertor.java:223) at org.netbeans.modules.javafx.platform.platformdefinition.PlatformConvertor.instanceCreate(PlatformConvertor.java:213) at org.netbeans.modules.java.platform.DefaultJavaPlatformProvider.getInstalledPlatforms(DefaultJavaPlatformProvider.java:89) at org.netbeans.api.java.platform.JavaPlatformManager.getInstalledPlatforms(JavaPlatformManager.java:118)
Created attachment 74656 [details] stacktrace
Reassigning to javafx for evaluation.
JavaFX is unsupported on Linux and whole set of JavaFX modules are disabled. There is module dependency on JavaFX SDK provider and this dependency could not be satisfied. How did you manage to enable the modules? I am keeping this bug open as the NPE is not very nice and we can handle even this corner case.
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=145224
*** Issue 155301 has been marked as a duplicate of this issue. ***
Workaround: install the JavaFX SDK nbm in the first place.
as far as i think, the only problem is that the other packages are (/were) allowed to install without the SDK itself installed. of course it will fail with NPE (or CNF). in my case - i installed the javafx debug thingy.
Please, could someone add a reproducible case without hacking the JavaFX modules? Is there a bug in module system dependencies checking?
*** Issue 156050 has been marked as a duplicate of this issue. ***
NPE fixed in trunk
I see the NPE NewJavaFXProjectWizardIterator.createRuntimeProfiles when trying to install JavaFX nbms on Linux without JavaFX SDK and JavaFX Kit modules. java.lang.NullPointerException at org.netbeans.modules.javafx.project.ui.wizards.NewJavaFXProjectWizardIterator.createRuntimeProfiles(NewJavaFXProjectWizardIterator.java:230) at org.netbeans.modules.javafx.project.ui.wizards.NewJavaFXProjectWizardIterator.instantiate(NewJavaFXProjectWizardIterator.java:169) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1016) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:165) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1475) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1432) at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:120) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1999) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Steps to reproduce: - Install the nbms without JavaFX SDK and JavaFX Kit modules - Create a JavaFX Script project The NPE pops up: org.netbeans.modules.javafx.platform.platformdefinition.JavaFXPlatformImpl.loadProfileProperties
I am still wondering HOW you could install the nbms without JavaFX SDK and JavaFX Kit modules? There is a dependency on the SDK provider module, so nothing should start.
> I am still wondering HOW you could install the nbms without JavaFX SDK and JavaFX Kit modules? > There is a dependency on the SDK provider module, so nothing should start. But it works. Just uncheck the JavaFX Kit module and it is possible to install others modules without it.
OK, I've fixed the module dependencies to do not allow to start JavaFX Plugin without SDK module.
verified in NB JavaFX Plugin SDK 1.1 Promoted Build b03