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 176902 - NullPointerException: ergonomics.newproject.DescriptionStep.waitForDelegateWizard
Summary: NullPointerException: ergonomics.newproject.DescriptionStep.waitForDelegateWi...
Status: VERIFIED DUPLICATE of bug 176484
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-16 06:55 UTC by Andrei Chistiakov
Modified: 2009-11-27 02:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160435


Attachments
stacktrace (2.86 KB, text/plain)
2009-11-16 06:55 UTC, Andrei Chistiakov
Details
stacktrace (4.58 KB, text/plain)
2009-11-16 07:46 UTC, Alexandr Scherbatiy
Details
stacktrace (2.86 KB, text/plain)
2009-11-16 07:52 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2009-11-16 06:55:24 UTC
Build: NetBeans IDE Dev (Build 200911160201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments:
ca-nb: - installed full NB distro
- created new Java FX Application -> Java FX plugin was activated
- tried to create Display Shelf sample (Samples|Java FX|Display Shelf)



Stacktrace: 
java.lang.NullPointerException: Send us the messages.log please!
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:258)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$000(DescriptionStep.java:84)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$2.run(DescriptionStep.java:179)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
Comment 1 Andrei Chistiakov 2009-11-16 06:55:28 UTC
Created attachment 91091 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2009-11-16 07:46:57 UTC
Created attachment 91098 [details]
stacktrace
Comment 3 Alexandr Scherbatiy 2009-11-16 07:52:58 UTC
Created attachment 91100 [details]
stacktrace
Comment 4 Adam Sotona 2009-11-16 08:14:42 UTC
I have no idea how can I fix it on JavaFX side. This must be some bug in Ergonomics configuration during the build.
Comment 5 Petr Nejedly 2009-11-18 00:35:21 UTC
There must be something wrong in the way the production bits are built.
During the build, the samples fileystem gets correctly populated (as evident by the build log) and FoD picks up its contents to generate its stubs (this is why full build contains the javafx sample projects). But throughout the 10hour course of building the production bits, javafx gets rebuilt many (>20!) times, but the samples filesystem is not filled anymore (I have no idea why). This has two consequences:
1. Java+JavaFX build doesn't expose the samples (issue 176484)
2. FoD build fails on an explicit NPE (this issue), as:
  *) User selects a sample
  *) FoD enables the JavaFX cluster
  *) FoD waits for JavaFX cluster to cover its stubs with real files
  *) FoD panicks after a while, as the real files are not there.
Comment 6 Jaroslav Tulach 2009-11-18 02:07:46 UTC
If the real layer files are missing in the JARs, then this is more a bug in the way the bits are built than in FoD. FoD seems to have full right to panic in this case.
Comment 7 Michal Zlamal 2009-11-18 03:05:59 UTC
The question is are layer files missing in zips?
Where do they can be found?
Comment 8 Michal Zlamal 2009-11-20 06:07:47 UTC
see #176484 for comments
Comment 9 Jaroslav Tulach 2009-11-20 06:59:00 UTC
There is no reason for assigning the bug to me or FoD. As discussed in bug 176484, the javafx layers are broken. As soon as you fix them, this issue will be fixed too.
Comment 10 Petr Suchomel 2009-11-20 10:58:22 UTC
Seems per #176484 this will be fixed - we need to try new production build, right?
Comment 11 Adam Sotona 2009-11-23 03:25:19 UTC
From the discussion and other mails I understand that the problem was in installers.

*** This bug has been marked as a duplicate of bug 176484 ***
Comment 12 Alexandr Scherbatiy 2009-11-27 02:20:41 UTC
verified in IDE 6.8 RC1 (Build 200911252200)