java.lang.NullPointerException

Spring JIRA | Kay Huber | 9 years ago
  1. 0

    I checked out a number of subversion projects, automatic building started, an error was reported ("'Building workspace' has encountered a problem. Errors during build.) and the following stack trace was found in eclipse' .log The details of the error message included: Errors during build. Errors running builder 'Spring Project Builder' on project 'local_partnerinterface'. An error occurred while traversing resources. java.lang.NullPointerException Stacktrace: !ENTRY org.eclipse.core.resources 4 2 2008-06-03 22:00:06.572 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.NullPointerException at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:416) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:404) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:386) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:216) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:31) at org.springframework.ide.eclipse.beans.core.internal.model.resources.BeansResourceChangeListener$BeansResourceVisitor.resourceRemoved(BeansResourceChangeListener.java:107) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener$SpringResourceVisitor.visit(SpringResourceChangeListener.java:144) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener.resourceChanged(SpringResourceChangeListener.java:104) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148) at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297) at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:519) at org.eclipse.core.internal.resources.Project.build(Project.java:94) at org.springframework.ide.eclipse.core.SpringCoreUtils$1.runInWorkspace(SpringCoreUtils.java:419) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Spring JIRA | 9 years ago | Kay Huber
    java.lang.NullPointerException
  2. 0

    I checked out a number of subversion projects, automatic building started, an error was reported ("'Building workspace' has encountered a problem. Errors during build.) and the following stack trace was found in eclipse' .log The details of the error message included: Errors during build. Errors running builder 'Spring Project Builder' on project 'local_partnerinterface'. An error occurred while traversing resources. java.lang.NullPointerException Stacktrace: !ENTRY org.eclipse.core.resources 4 2 2008-06-03 22:00:06.572 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.NullPointerException at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:416) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:404) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:386) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:216) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:31) at org.springframework.ide.eclipse.beans.core.internal.model.resources.BeansResourceChangeListener$BeansResourceVisitor.resourceRemoved(BeansResourceChangeListener.java:107) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener$SpringResourceVisitor.visit(SpringResourceChangeListener.java:144) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener.resourceChanged(SpringResourceChangeListener.java:104) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148) at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297) at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:519) at org.eclipse.core.internal.resources.Project.build(Project.java:94) at org.springframework.ide.eclipse.core.SpringCoreUtils$1.runInWorkspace(SpringCoreUtils.java:419) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Spring JIRA | 9 years ago | Kay Huber
    java.lang.NullPointerException
  3. 0

    Often happening NPE seems to crash the whole eclipse; at least this is the last error log event after "The workspace exited with unsaved changes in the previous session...". Full stacktrace of the npe: {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel$ResourceChangeEventHandler.configRemoved(BeansModel.java:573) at org.springframework.ide.eclipse.beans.core.internal.model.resources.BeansResourceChangeListener$BeansResourceVisitor.resourceRemoved(BeansResourceChangeListener.java:144) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener$SpringResourceVisitor.visit(SpringResourceChangeListener.java:146) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener.resourceChanged(SpringResourceChangeListener.java:75) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". I'm not sure, but I think I was viewing a java file with possibly open spring xml files. There's two projects open in the workplace (maven parent project and one module). I'm not seeing any jvm crash reports. After the restart there are four extra error messages: * Category com.springsource.sts not found for view com.springsource.sts.roo.ui.rooShellView. This view added to 'Other' category. * Category com.springsource.sts not found for view com.springsource.sts.ide.metadata.ui.RequestMappingView. This view added to 'Other' category. * Category com.springsource.sts not found for view com.springsource.sts.roo.ui.rooShellView. This view added to 'Other' category. * Category com.springsource.sts not found for view com.springsource.sts.ide.metadata.ui.RequestMappingView. This view added to 'Other' category. Common session information: {code} eclipse.buildId= java.version=1.6.0_18 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product {code} Installed STS addons: * batch * mylyn * webflow * osgi * integration * autowire * security * aop All installed according to the hard-to-find text file and eclipse update sites as linked in the same hard-to-find text file.

    Spring JIRA | 7 years ago | Joonas Koivunen
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Often happening NPE seems to crash the whole eclipse; at least this is the last error log event after "The workspace exited with unsaved changes in the previous session...". Full stacktrace of the npe: {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel$ResourceChangeEventHandler.configRemoved(BeansModel.java:573) at org.springframework.ide.eclipse.beans.core.internal.model.resources.BeansResourceChangeListener$BeansResourceVisitor.resourceRemoved(BeansResourceChangeListener.java:144) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener$SpringResourceVisitor.visit(SpringResourceChangeListener.java:146) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79) at org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener.resourceChanged(SpringResourceChangeListener.java:75) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". I'm not sure, but I think I was viewing a java file with possibly open spring xml files. There's two projects open in the workplace (maven parent project and one module). I'm not seeing any jvm crash reports. After the restart there are four extra error messages: * Category com.springsource.sts not found for view com.springsource.sts.roo.ui.rooShellView. This view added to 'Other' category. * Category com.springsource.sts not found for view com.springsource.sts.ide.metadata.ui.RequestMappingView. This view added to 'Other' category. * Category com.springsource.sts not found for view com.springsource.sts.roo.ui.rooShellView. This view added to 'Other' category. * Category com.springsource.sts not found for view com.springsource.sts.ide.metadata.ui.RequestMappingView. This view added to 'Other' category. Common session information: {code} eclipse.buildId= java.version=1.6.0_18 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product {code} Installed STS addons: * batch * mylyn * webflow * osgi * integration * autowire * security * aop All installed according to the hard-to-find text file and eclipse update sites as linked in the same hard-to-find text file.

    Spring JIRA | 7 years ago | Joonas Koivunen
    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 org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig()
    2. org.springframework.ide
      SpringResourceChangeListener$SpringResourceVisitor.visit
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:416)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:404)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:386)
      4. org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:216)
      5. org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43)
      6. org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:31)
      7. org.springframework.ide.eclipse.beans.core.internal.model.resources.BeansResourceChangeListener$BeansResourceVisitor.resourceRemoved(BeansResourceChangeListener.java:107)
      8. org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener$SpringResourceVisitor.visit(SpringResourceChangeListener.java:144)
      8 frames
    3. Core Resource Management
      ResourceDelta.accept
      1. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
      2. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      3. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      4. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      5. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      6. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      7. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      8. org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      8 frames
    4. org.springframework.ide
      SpringResourceChangeListener.resourceChanged
      1. org.springframework.ide.eclipse.core.internal.model.resources.SpringResourceChangeListener.resourceChanged(SpringResourceChangeListener.java:104)
      1 frame
    5. Core Resource Management
      NotificationManager$2.run
      1. org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288)
      1 frame
    6. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      1 frame
    7. Core Resource Management
      Project.build
      1. org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282)
      2. org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
      3. org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297)
      4. org.eclipse.core.internal.resources.Project.internalBuild(Project.java:519)
      5. org.eclipse.core.internal.resources.Project.build(Project.java:94)
      5 frames
    8. org.springframework.ide
      SpringCoreUtils$1.runInWorkspace
      1. org.springframework.ide.eclipse.core.SpringCoreUtils$1.runInWorkspace(SpringCoreUtils.java:419)
      1 frame
    9. Core Resource Management
      InternalWorkspaceJob.run
      1. org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      1 frame
    10. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame