java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Contributions to 'org.springframework.ide.eclipse.beans.core.namespaces' extension point are incorrectly processed resulting in NPE. Specifically, instead of loading the class (org.springframework.beans.factory.xml.NamespaceHandler implementation) identified by namespaceHandler attribute it queries the extenspoint contribution for a non-existent 'class' attribute. 1. Exception Stack Trace: java.lang.NullPointerException at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:336) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.loadHandler(NamespaceUtils.java:236) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:94) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:268) at org.springframework.ide.eclipse.beans.ui.navigator.BeansNavigatorContentProvider$ModelJob.run(BeansNavigatorContentProvider.java:269) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    via by Mohammed Siraj Ahmed,
  • Contributions to 'org.springframework.ide.eclipse.beans.core.namespaces' extension point are incorrectly processed resulting in NPE. Specifically, instead of loading the class (org.springframework.beans.factory.xml.NamespaceHandler implementation) identified by namespaceHandler attribute it queries the extenspoint contribution for a non-existent 'class' attribute. 1. Exception Stack Trace: java.lang.NullPointerException at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:336) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.loadHandler(NamespaceUtils.java:236) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:94) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:268) at org.springframework.ide.eclipse.beans.ui.navigator.BeansNavigatorContentProvider$ModelJob.run(BeansNavigatorContentProvider.java:269) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    via by Mohammed Siraj Ahmed,
  • - Create a Java project. - Add and then remove the "Cloud Foundry Standalone Application" facet. - In both cases, facet is added and removed correctly, but NPE is thrown, as shown below. - Does not affect ability to drop and deploy the Standalone app, thus marked as minor bug. Failed to load class "null" from plugin "org.cloudfoundry.ide.eclipse.server.branding". java.lang.NullPointerException at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212) at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.loadClass(PluginUtil.java:197) at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.instantiate(PluginUtil.java:250) at org.eclipse.wst.common.project.facet.core.internal.ActionDefinition.getDelegate(ActionDefinition.java:164) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:433) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109) at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020) at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage$4.run(FacetsPropertyPage.java:232) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage$5.run(FacetsPropertyPage.java:246) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    via by Nieraj Singh (c),
  • - Create a Java project. - Add and then remove the "Cloud Foundry Standalone Application" facet. - In both cases, facet is added and removed correctly, but NPE is thrown, as shown below. - Does not affect ability to drop and deploy the Standalone app, thus marked as minor bug. Failed to load class "null" from plugin "org.cloudfoundry.ide.eclipse.server.branding". java.lang.NullPointerException at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212) at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.loadClass(PluginUtil.java:197) at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.instantiate(PluginUtil.java:250) at org.eclipse.wst.common.project.facet.core.internal.ActionDefinition.getDelegate(ActionDefinition.java:164) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:433) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109) at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020) at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage$4.run(FacetsPropertyPage.java:232) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage$5.run(FacetsPropertyPage.java:246) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    via by Nieraj Singh (c),
    • java.lang.NullPointerException at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:336) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.loadHandler(NamespaceUtils.java:236) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:94) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:268) at org.springframework.ide.eclipse.beans.ui.navigator.BeansNavigatorContentProvider$ModelJob.run(BeansNavigatorContentProvider.java:269) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    No Bugmate found.