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 227374 - NullPointerException: The brandingSource parameter cannot be null
Summary: NullPointerException: The brandingSource parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
: 226119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-12 17:48 UTC by javydreamercsw
Modified: 2013-03-22 01:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184548


Attachments
stacktrace (3.53 KB, text/plain)
2013-03-12 17:48 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2013-03-12 17:48:53 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
javydreamercsw: Closing the branding window after changing splash.

GUEST: Following tutorial to make a maven based NB application.

http://platform.netbeans.org/tutorials/nbm-maven-quickstart.html




Stacktrace: 
java.lang.NullPointerException: The brandingSource parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.apisupport.project.spi.BrandingSupport$BrandedFile.setBrandingSource(BrandingSupport.java:585)
   at org.netbeans.modules.apisupport.project.spi.BrandingModel.setIconSource(BrandingModel.java:239)
   at org.netbeans.modules.apisupport.project.ui.branding.BasicBrandingPanel.store(BasicBrandingPanel.java:135)
   at org.netbeans.modules.apisupport.project.ui.branding.BrandingEditorPanel.doSave(BrandingEditorPanel.java:156)
   at org.netbeans.modules.apisupport.project.ui.branding.BrandingEditorPanel.access$100(BrandingEditorPanel.java:60)
Comment 1 javydreamercsw 2013-03-12 17:48:55 UTC
Created attachment 132529 [details]
stacktrace
Comment 2 Martin Kozeny 2013-03-19 08:08:00 UTC
*** Bug 226119 has been marked as a duplicate of this bug. ***
Comment 3 Martin Kozeny 2013-03-20 13:11:43 UTC
According to your stacktrace it looks like you rather change some of the icon than change splash screen am I right?
Comment 4 javydreamercsw 2013-03-20 14:55:31 UTC
I might have done both. Don't remember now.
Comment 5 Martin Kozeny 2013-03-20 15:39:38 UTC
Ok thanks and did you click on some Close button or on the cross sign at the top of the window?
Comment 6 Martin Kozeny 2013-03-20 16:13:10 UTC
Could you please provide more detailed description how you induced this error. I am still unable to reproduce this bug. Thanks.(In reply to comment #5)
> Ok thanks and did you click on some Close button or on the cross sign at the
> top of the window?

It's OK, now I am able to reproduce the bug.
Comment 7 Martin Kozeny 2013-03-21 08:01:24 UTC
https://hg.netbeans.org/core-main/rev/72bbaaf88a4a
Comment 8 Quality Engineering 2013-03-22 01:54:29 UTC
Integrated into 'main-golden', will be available in build *201303212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/72bbaaf88a4a
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #227374: NPE is now not appearing when submitting Branding window after clicking 'Cancel' in select icon dialog.