You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this when trying to run plugin unit tests on a custom product with 2024-12 as active target platform:
java.lang.NullPointerException: Cannot invoke "org.osgi.resource.Capability.getResource()" because "currentCandidate" is null
at org.apache.felix.resolver.ProblemReduction.removeUsesViolations(ProblemReduction.java:54)
at org.apache.felix.resolver.Candidates.permutate(Candidates.java:1159)
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1580)
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1566)
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1566)
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1566)
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1566)
at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1566)
at org.apache.felix.resolver.ResolverImpl.checkConsistency(ResolverImpl.java:662)
at org.apache.felix.resolver.ResolverImpl.findValidCandidates(ResolverImpl.java:615)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:478)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:461)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:415)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveRevisions(ModuleResolver.java:1185)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveRevisionsInBatch(ModuleResolver.java:1136)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:1052)
at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:187)
at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:743)
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:688)
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:675)
at org.eclipse.osgi.container.Module.start(Module.java:476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:2102)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:143)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2093)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2033)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1996)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1912)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)
I get this when trying to run plugin unit tests on a custom product with 2024-12 as active target platform:
related to b1adfa2
The result of calling
candidates.getFirstCandidate(requirement)
is null-checked at other callers, so this really seems to be missing here.The text was updated successfully, but these errors were encountered: