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 am getting below exception.
getSystemPackage is returning null for my case because i dont have any value present for org.osgi.framework.system.packages
and i am getting null pointer pointer exception due to that , there should be null pointer check inside resolveState function, this check is maintained everywhere but it is missing in resolveState only
java.lang.NullPointerException
at java.base/java.util.Hashtable.put(Hashtable.java:476)
at org.eclipse.pde.internal.build.site.PDEState.resolveState(PDEState.java:444)
at org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:147)
at org.eclipse.pde.internal.build.builder.BuildDirector.computeElements(BuildDirector.java:140)
at org.eclipse.pde.internal.build.builder.BuildDirector.generateChildrenScripts(BuildDirector.java:295)
at org.eclipse.pde.internal.build.builder.BuildDirector.generate(BuildDirector.java:244)
at org.eclipse.pde.internal.build.builder.BuildDirector.generate(BuildDirector.java:237)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:265)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:147)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:310)
at org.eclipse.pde.internal.core.exports.FeatureBasedExportOperation.run(FeatureBasedExportOperation.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
my profileProps looks like this
profileProps = {org.osgi.framework.bootdelegation=sun.,com.sun., org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, org.eclipse.jdt.core.compiler.problem.assertIdentifier=ignore, org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.1, org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:Version="1.0", org.eclipse.jdt.core.compiler.source=1.3, org.osgi.framework.system.packages=, osgi.java.profile.name=OSGi/Minimum-1.0, org.eclipse.jdt.core.compiler.problem.enumIdentifier=ignore, org.eclipse.jdt.core.compiler.compliance=1.3}
The text was updated successfully, but these errors were encountered:
I am getting below exception.
getSystemPackage is returning null for my case because i dont have any value present for org.osgi.framework.system.packages
and i am getting null pointer pointer exception due to that , there should be null pointer check inside resolveState function, this check is maintained everywhere but it is missing in resolveState only
java.lang.NullPointerException
at java.base/java.util.Hashtable.put(Hashtable.java:476)
at org.eclipse.pde.internal.build.site.PDEState.resolveState(PDEState.java:444)
at org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:147)
at org.eclipse.pde.internal.build.builder.BuildDirector.computeElements(BuildDirector.java:140)
at org.eclipse.pde.internal.build.builder.BuildDirector.generateChildrenScripts(BuildDirector.java:295)
at org.eclipse.pde.internal.build.builder.BuildDirector.generate(BuildDirector.java:244)
at org.eclipse.pde.internal.build.builder.BuildDirector.generate(BuildDirector.java:237)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:265)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:147)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:310)
at org.eclipse.pde.internal.core.exports.FeatureBasedExportOperation.run(FeatureBasedExportOperation.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
my profileProps looks like this
profileProps = {org.osgi.framework.bootdelegation=sun.,com.sun., org.osgi.framework.executionenvironment=OSGi/Minimum-1.0, org.eclipse.jdt.core.compiler.problem.assertIdentifier=ignore, org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.1, org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:Version="1.0", org.eclipse.jdt.core.compiler.source=1.3, org.osgi.framework.system.packages=, osgi.java.profile.name=OSGi/Minimum-1.0, org.eclipse.jdt.core.compiler.problem.enumIdentifier=ignore, org.eclipse.jdt.core.compiler.compliance=1.3}
The text was updated successfully, but these errors were encountered: