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 140663 - can not create new project in nb 6.1
Summary: can not create new project in nb 6.1
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Other All
: P1 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-18 03:18 UTC by quangnt
Modified: 2011-10-19 12:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (46.61 KB, text/plain)
2008-07-18 10:24 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description quangnt 2008-07-18 03:18:58 UTC
java.lang.NullPointerException
	at org.netbeans.modules.javafx.platform.platformdefinition.DefaultPlatformImpl.create(DefaultPlatformImpl.java:98)
	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.modules.java.platform.DefaultJavaPlatformProvider.getDefaultPlatform(DefaultJavaPlatformProvider.java:119)
	at org.netbeans.api.java.platform.JavaPlatformManager.getDefaultPlatform(JavaPlatformManager.java:102)
	at org.netbeans.modules.derby.JDKDerbyHelper.forDefaultPlatform(JDKDerbyHelper.java:66)
	at org.netbeans.modules.derby.Installer$RegisterJDKDerby.<init>(Installer.java:70)
	at org.netbeans.modules.derby.Installer$RegisterJDKDerby.<init>(Installer.java:68)
	at org.netbeans.modules.derby.Installer.restored(Installer.java:65)
	at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:936)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:174)
	at org.netbeans.core.startup.Main.start(Main.java:325)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Alexandr Scherbatiy 2008-07-18 10:23:40 UTC
Steps to reproduce:

- Download the JavaFX Script plugin from the public site
  http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily
- Install the plugin
  Try to create the project

  The NullPointerException pops up.
  
Comment 2 Alexandr Scherbatiy 2008-07-18 10:24:31 UTC
Created attachment 64940 [details]
IDE log file
Comment 3 Alexandr Scherbatiy 2008-07-18 10:27:01 UTC
The reason can be that the plugin uses javafx-sdk1.0pre1 path
to an JavaFX SDK now but the public plugin still contains
sdk with the old javafx-sdk1.0 path.
Comment 4 Lark Fitzgerald 2008-07-21 15:48:55 UTC
upgrading. This must be resolved prior to release.
Comment 5 Lark Fitzgerald 2008-07-21 20:31:09 UTC
I installed build #108 (Jul 21, 2008 2:44:33 PM) and was able to create a project with no issues.
Comment 6 Lark Fitzgerald 2008-08-14 22:06:47 UTC
Verified using trunk daily build 171 on:
Product Version: NetBeans IDE Dev (Build 200805270004)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Note: Users are commonly seeing this error if they are using Java5 which is not supported.
Comment 7 David Strupl 2011-10-19 12:03:55 UTC
Cleaning bugzilla categories ....