Jesse Glick created NETBEANS-2651:
-------------------------------------
Summary: NPE from ArtificialFeaturesProvider.addVersion
Key: NETBEANS-2651
URL: https://issues.apache.org/jira/browse/NETBEANS-2651
Project: NetBeans
Issue Type: Bug
Reporter: Jesse Glick
Not sure what triggered this; I had been working with some Maven projects,
running priming builds, that sort of thing. Nothing unusual. I think I have
seen it before. Dev
20190604-[7b3a7bf2caac|https://github.com/jglick/incubator-netbeans/commit/7b3a7bf2caac]
{code:none}
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules$2
java.lang.NullPointerException
at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.addVersion(ArtificialFeaturesProvider.java:206)
at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.createFeatureItem(ArtificialFeaturesProvider.java:171)
at
org.netbeans.modules.autoupdate.services.FeatureUpdateUnitImpl.initializeFeature(FeatureUpdateUnitImpl.java:157)
at
org.netbeans.modules.autoupdate.services.FeatureUpdateUnitImpl.getInstalled(FeatureUpdateUnitImpl.java:52)
at
org.netbeans.api.autoupdate.UpdateUnit.getInstalled(UpdateUnit.java:59)
at
org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.createMaps(UpdateManagerImpl.java:329)
at
org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.createMapToken2InstalledProviders(UpdateManagerImpl.java:294)
at
org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getInstalledProviders(UpdateManagerImpl.java:126)
at
org.netbeans.modules.autoupdate.services.DependencyAggregator.getRequested(DependencyAggregator.java:95)
at
org.netbeans.modules.autoupdate.services.Utilities.handleDependency(Utilities.java:936)
at
org.netbeans.modules.autoupdate.services.Utilities.processDependencies(Utilities.java:836)
at
org.netbeans.modules.autoupdate.services.Utilities.findRequiredUpdateElements(Utilities.java:623)
at
org.netbeans.modules.autoupdate.services.OperationValidator$InstallValidator.getRequiredElementsImpl(OperationValidator.java:190)
at
org.netbeans.modules.autoupdate.services.OperationValidator.getRequiredElements(OperationValidator.java:98)
at
org.netbeans.modules.autoupdate.services.OperationContainerImpl$OperationInfoImpl.getRequiredElements(OperationContainerImpl.java:441)
at
org.netbeans.api.autoupdate.OperationContainer$OperationInfo.getRequiredElements(OperationContainer.java:371)
at
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules.getAllForInstall(FindComponentModules.java:432)
at
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules.findComponentModules(FindComponentModules.java:283)
at
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules.access$000(FindComponentModules.java:59)
at
org.netbeans.modules.ide.ergonomics.fod.FindComponentModules$2.run(FindComponentModules.java:235)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists