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 242246 - Cannot design window layout in maven-based module: NullPointerException at org.netbeans.modules.apisupport.project.ui.wizard.winsys.LayoutLaunchingPanel.readFromDataModel
Summary: Cannot design window layout in maven-based module: NullPointerException at or...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 11:58 UTC by markiewb
Modified: 2014-04-24 02:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189554


Attachments
stacktrace (6.51 KB, text/plain)
2014-02-23 11:59 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2014-02-23 11:58:59 UTC
Build: NetBeans IDE Dev (Build 201402170649)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b127
OS: Windows 7

User Comments:
GUEST: i was just starting the 3rd step of the "create windows layout" wizard

markiewb: * Create a new maven module
* File->New File->Window Layout
* Try to complete the wizard -> Exception

FYI: It works in an ant-based module




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.apisupport.project.ui.wizard.winsys.LayoutLaunchingPanel.readFromDataModel(LayoutLaunchingPanel.java:149)
   at org.netbeans.modules.apisupport.project.ui.wizard.common.BasicWizardIterator$PrivateWizardPanel.readSettings(BasicWizardIterator.java:456)
   at org.netbeans.modules.apisupport.project.ui.wizard.common.BasicWizardIterator$PrivateWizardPanel.readSettings(BasicWizardIterator.java:415)
   at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:867)
   at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:822)
   at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:754)
Comment 1 markiewb 2014-02-23 11:59:01 UTC
Created attachment 145511 [details]
stacktrace
Comment 2 Martin Kozeny 2014-04-22 11:52:22 UTC
It is failing, b/c for maven project this wizard works only, when module is a part of NBM application and that's why this wizard cannot be ommited from all maven NB modules.
Comment 3 Martin Kozeny 2014-04-22 11:52:41 UTC
https://hg.netbeans.org/core-main/rev/eb710d78b155
Comment 4 Quality Engineering 2014-04-24 02:10:38 UTC
Integrated into 'main-silver', will be available in build *201404240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/eb710d78b155
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #242246: Cannot design window layout in maven-based module: NullPointerException at org.netbeans.modules.apisupport.project.ui.wizard.winsys.LayoutLaunchingPanel.readFromDataModel.