java.lang.NullPointerException

Spring JIRA | U. Kkm | 8 years ago
  1. 0

    Following you can see my .springBeans file which leads to the NullpointerException. The context file etliApplicationContext.xml is the root context which imports the other three context files. I tried both ways (with and without checked import support) with the same result. While building the workspace the same NullpointerException is thrown many times. {code} <?xml version="1.0" encoding="UTF-8"?> <beansProjectDescription> <version>1</version> <pluginVersion><![CDATA[2.0.6.v200806241357]]></pluginVersion> <configSuffixes> <configSuffix><![CDATA[xml]]></configSuffix> </configSuffixes> <enableImports><![CDATA[false]]></enableImports> <configs> <config>resources/componentAspectsContext.xml</config> <config>resources/componentCommonContext.xml</config> <config>resources/componentProdContext.xml</config> <config>resources/etliApplicationContext.xml</config> </configs> <configSets> <configSet> <name><![CDATA[ETLI-Prod-Context]]></name> <allowBeanDefinitionOverriding>true</allowBeanDefinitionOverriding> <incomplete>false</incomplete> <configs> <config>resources/componentCommonContext.xml</config> <config>resources/componentProdContext.xml</config> <config>resources/componentAspectsContext.xml</config> <config>resources/etliApplicationContext.xml</config> </configs> </configSet> </configSets> </beansProjectDescription> {code} {code} !ENTRY org.eclipse.ui.navigator 4 2 2008-07-06 12:31:42.718 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator". !STACK 0 java.lang.NullPointerException at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source) at java.util.Collections$UnmodifiableSet.<init>(Unknown Source) at java.util.Collections.unmodifiableSet(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelPropertyTester.test(Unknown Source) at org.eclipse.core.internal.expressions.Property.test(Unknown Source) at org.eclipse.core.internal.expressions.TestExpression.evaluate(Unknown Source) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(Unknown Source) at org.eclipse.core.internal.expressions.AndExpression.evaluate(Unknown Source) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(Unknown Source) at org.eclipse.core.internal.expressions.OrExpression.evaluate(Unknown Source) at org.eclipse.ui.internal.navigator.CustomAndExpression.evaluate(Unknown Source) . . . {code}

    Spring JIRA | 8 years ago | U. Kkm
    java.lang.NullPointerException
  2. 0

    Following you can see my .springBeans file which leads to the NullpointerException. The context file etliApplicationContext.xml is the root context which imports the other three context files. I tried both ways (with and without checked import support) with the same result. While building the workspace the same NullpointerException is thrown many times. {code} <?xml version="1.0" encoding="UTF-8"?> <beansProjectDescription> <version>1</version> <pluginVersion><![CDATA[2.0.6.v200806241357]]></pluginVersion> <configSuffixes> <configSuffix><![CDATA[xml]]></configSuffix> </configSuffixes> <enableImports><![CDATA[false]]></enableImports> <configs> <config>resources/componentAspectsContext.xml</config> <config>resources/componentCommonContext.xml</config> <config>resources/componentProdContext.xml</config> <config>resources/etliApplicationContext.xml</config> </configs> <configSets> <configSet> <name><![CDATA[ETLI-Prod-Context]]></name> <allowBeanDefinitionOverriding>true</allowBeanDefinitionOverriding> <incomplete>false</incomplete> <configs> <config>resources/componentCommonContext.xml</config> <config>resources/componentProdContext.xml</config> <config>resources/componentAspectsContext.xml</config> <config>resources/etliApplicationContext.xml</config> </configs> </configSet> </configSets> </beansProjectDescription> {code} {code} !ENTRY org.eclipse.ui.navigator 4 2 2008-07-06 12:31:42.718 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator". !STACK 0 java.lang.NullPointerException at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source) at java.util.Collections$UnmodifiableSet.<init>(Unknown Source) at java.util.Collections.unmodifiableSet(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelPropertyTester.test(Unknown Source) at org.eclipse.core.internal.expressions.Property.test(Unknown Source) at org.eclipse.core.internal.expressions.TestExpression.evaluate(Unknown Source) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(Unknown Source) at org.eclipse.core.internal.expressions.AndExpression.evaluate(Unknown Source) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(Unknown Source) at org.eclipse.core.internal.expressions.OrExpression.evaluate(Unknown Source) at org.eclipse.ui.internal.navigator.CustomAndExpression.evaluate(Unknown Source) . . . {code}

    Spring JIRA | 8 years ago | U. Kkm
    java.lang.NullPointerException
  3. 0

    Spring Project Builder errors in eclipse and Spring Explorer does not reflect any beans. Eclipse stack trace is below: Message An error occurred while traversing resources. java.lang.NullPointerException at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source) at java.util.Collections$UnmodifiableSet.<init>(Unknown Source) at java.util.Collections.unmodifiableSet(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(Unknown Source) at org.springframework.ide.eclipse.aop.core.util.AopReferenceModelUtils.getAffectedFiles(Unknown Source) at org.springframework.ide.eclipse.aop.core.builder.AopReferenceModelProjectBuilder.getAffectedResources(Unknown Source) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$ResourceTreeVisitor.visit(Unknown Source) at org.eclipse.core.internal.resources.Resource$2.visit(Unknown Source) at org.eclipse.core.internal.resources.Resource$1.visitElement(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(Unknown Source) at org.eclipse.core.internal.resources.Resource.accept(Unknown Source) at org.eclipse.core.internal.resources.Resource.accept(Unknown Source) at org.eclipse.core.internal.resources.Resource.accept(Unknown Source) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.getAffectedResources(Unknown Source) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(Unknown Source) at org.eclipse.core.internal.events.BuildManager$2.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source) at org.eclipse.core.internal.events.BuildManager$1.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source) at org.eclipse.core.internal.events.BuildManager.build(Unknown Source) at org.eclipse.core.internal.resources.Project.build(Unknown Source) at org.springframework.ide.eclipse.core.SpringCoreUtils$1.runInWorkspace(Unknown Source) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

    Spring JIRA | 8 years ago | Brad L Vandermoon
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Project Builder errors in eclipse and Spring Explorer does not reflect any beans. Eclipse stack trace is below: Message An error occurred while traversing resources. java.lang.NullPointerException at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source) at java.util.Collections$UnmodifiableSet.<init>(Unknown Source) at java.util.Collections.unmodifiableSet(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(Unknown Source) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(Unknown Source) at org.springframework.ide.eclipse.aop.core.util.AopReferenceModelUtils.getAffectedFiles(Unknown Source) at org.springframework.ide.eclipse.aop.core.builder.AopReferenceModelProjectBuilder.getAffectedResources(Unknown Source) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$ResourceTreeVisitor.visit(Unknown Source) at org.eclipse.core.internal.resources.Resource$2.visit(Unknown Source) at org.eclipse.core.internal.resources.Resource$1.visitElement(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Unknown Source) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(Unknown Source) at org.eclipse.core.internal.resources.Resource.accept(Unknown Source) at org.eclipse.core.internal.resources.Resource.accept(Unknown Source) at org.eclipse.core.internal.resources.Resource.accept(Unknown Source) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.getAffectedResources(Unknown Source) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(Unknown Source) at org.eclipse.core.internal.events.BuildManager$2.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source) at org.eclipse.core.internal.events.BuildManager$1.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source) at org.eclipse.core.internal.events.BuildManager.build(Unknown Source) at org.eclipse.core.internal.resources.Project.build(Unknown Source) at org.springframework.ide.eclipse.core.SpringCoreUtils$1.runInWorkspace(Unknown Source) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

    Spring JIRA | 8 years ago | Brad L Vandermoon
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.util.Collections$UnmodifiableCollection.<init>()
    2. Java RT
      Collections.unmodifiableSet
      1. java.util.Collections$UnmodifiableCollection.<init>(Unknown Source)
      2. java.util.Collections$UnmodifiableSet.<init>(Unknown Source)
      3. java.util.Collections.unmodifiableSet(Unknown Source)
      3 frames
    3. org.springframework.ide
      BeansModelPropertyTester.test
      1. org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(Unknown Source)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(Unknown Source)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(Unknown Source)
      4. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(Unknown Source)
      5. org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(Unknown Source)
      6. org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(Unknown Source)
      7. org.springframework.ide.eclipse.beans.core.internal.model.BeansModelPropertyTester.test(Unknown Source)
      7 frames
    4. Expression Language
      OrExpression.evaluate
      1. org.eclipse.core.internal.expressions.Property.test(Unknown Source)
      2. org.eclipse.core.internal.expressions.TestExpression.evaluate(Unknown Source)
      3. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(Unknown Source)
      4. org.eclipse.core.internal.expressions.AndExpression.evaluate(Unknown Source)
      5. org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(Unknown Source)
      6. org.eclipse.core.internal.expressions.OrExpression.evaluate(Unknown Source)
      6 frames
    5. Common Navigator View
      CustomAndExpression.evaluate
      1. org.eclipse.ui.internal.navigator.CustomAndExpression.evaluate(Unknown Source)
      1 frame