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 234298 - IAE: org.netbeans.modules.cordova/1.21 org.netbeans.modules.options.java/1.7 must be same for operation ENABLE
Summary: IAE: org.netbeans.modules.cordova/1.21 org.netbeans.modules.options.java/1.7 ...
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
: 234315 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-13 07:42 UTC by Vladimir Riha
Modified: 2013-08-15 06:38 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203001


Attachments
stacktrace (1.73 KB, text/plain)
2013-08-13 07:42 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-08-13 07:42:56 UTC
This bug was originally marked as duplicate of bug 170209, 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 201308122300)
VM: Java HotSpot(TM) Client VM, 24.0-b52, Java(TM) SE Runtime Environment, 1.7.0_40-ea-b33
OS: Linux

User Comments:
vriha: trying to create a new HTML5 sample project Responsive Rabbits




Stacktrace: 
java.lang.NullPointerException: No iterator for MultiFileObject@1335489[Templates/Project/Samples/HTML5/ResponsiveRabbits]
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:294)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.presentModulesForEnable(DescriptionStep.java:192)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.presentModulesForActivation(DescriptionStep.java:172)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$200(DescriptionStep.java:91)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$PresentModules.run(DescriptionStep.java:166)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Comment 1 Vladimir Riha 2013-08-13 07:42:57 UTC
Created attachment 138623 [details]
stacktrace
Comment 2 Vladimir Riha 2013-08-13 07:46:06 UTC
I cannot create/activate any project type, I tried almost all categories and this NPE keep popping out. Please evaluate
Comment 3 Jaroslav Tulach 2013-08-13 08:15:01 UTC
Probably some bug in a way FoD talks to AutoUpdate API:

java.lang.IllegalArgumentException: PhoneGap Support[org.netbeans.modules.cordova/1.21] and Java Options[org.netbeans.modules.options.java/1.7] must be same for operation ENABLE
org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:135)
org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:292)
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules.getAllForEnable(FindComponentModules.java:259)
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules.findComponentModules(FindComponentModules.java:192)
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules.access$000(FindComponentModules.java:70)
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules$1.run(FindComponentModules.java:178)
Comment 4 Jiri Rechtacek 2013-08-13 11:29:09 UTC
*** Bug 234315 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Rechtacek 2013-08-13 14:57:33 UTC
http://hg.netbeans.org/core-main/rev/896e4e8c3db5
Comment 6 Quality Engineering 2013-08-14 14:41:32 UTC
Integrated into 'main-silver', will be available in build *201308141142* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/896e4e8c3db5
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #234298 - IAE: org.netbeans.modules.cordova/1.21 org.netbeans.modules.options.java/1.7 must be same for operation ENABLE
Comment 7 Vladimir Riha 2013-08-15 06:38:29 UTC
Seems OK now, thank you

Product Version: NetBeans IDE Dev (Build 201308150051)
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)