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 235422 - NullPointerException at org.netbeans.modules.cordova.project.CordovaCustomizerPanel.actionPerformed
Summary: NullPointerException at org.netbeans.modules.cordova.project.CordovaCustomize...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-02 15:19 UTC by Kenneth Ganfield
Modified: 2013-09-06 08:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203522


Attachments
stacktrace (4.15 KB, text/plain)
2013-09-02 15:19 UTC, Kenneth Ganfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2013-09-02 15:19:47 UTC
This bug was originally marked as duplicate of bug 234992, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201309020001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b16
OS: Mac OS X

User Comments:
kganfield: changing version of cordova app in Cordova category or project properties window




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cordova.project.CordovaCustomizerPanel.actionPerformed(CordovaCustomizerPanel.java:342)
   at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.storePerformed(CustomizerDialog.java:357)
   at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.access$400(CustomizerDialog.java:253)
   at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2$1$1.run(CustomizerDialog.java:316)
   at org.openide.filesystems.FileUtil$2.run(FileUtil.java:435)
   at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
Comment 1 Kenneth Ganfield 2013-09-02 15:19:49 UTC
Created attachment 139587 [details]
stacktrace
Comment 2 Jan Becicka 2013-09-02 15:24:48 UTC
your project seems to be broken after assertion error.
Comment 3 Kenneth Ganfield 2013-09-02 15:29:09 UTC
This error occurred on a different project.
The project was an html5 with existing resources project.
The project was originally the helloworld project created by cordova on the command line and then opened in the IDE using the New HTML5 Project with existing resources wizard.
Comment 4 Jan Becicka 2013-09-02 15:31:00 UTC
OK. Will try. Thanks
Comment 5 Jan Becicka 2013-09-03 08:48:43 UTC
Fixed. Happens when modifying properties of cordova project imported from existing sources.

Maybe we should consider integration into release branch.

changeset   : 263035:599b8720999d
author      : Jan Becicka <jbecicka@netbeans.org>
date        : Tue Sep 03 10:30:12 CEST 2013
summary     : Issue #235422 - NullPointerException at org.netbeans.modules.cordova.project.CordovaCustomizerPanel.actionPerformed
Comment 6 Vladimir Riha 2013-09-03 08:57:22 UTC
Agree, marking as P1 per HR process instructions. I'll test it once it gets into daily trunk.
Comment 7 Quality Engineering 2013-09-04 01:43:57 UTC
Integrated into 'main-silver', will be available in build *201309040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/599b8720999d
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #235422 - NullPointerException at org.netbeans.modules.cordova.project.CordovaCustomizerPanel.actionPerformed
Comment 8 Vladimir Riha 2013-09-04 07:21:09 UTC
Verified in trunk, please continue with integration to release74 as described in [1]. Thank you


[1] http://wiki.netbeans.org/NetBeans_74_HighResistance



Product Version: NetBeans IDE Dev (Build 201309040001)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 9 Marek Fukala 2013-09-05 12:07:03 UTC
The change looks ok to me.
Comment 10 Jan Becicka 2013-09-06 08:19:54 UTC
Looks like branching was done after this fix was integrated. So the fix should be in release74. This is not HR_FIX.