java.lang.NullPointerException

SpringSource Issue Tracker | Kris De Volder (c) | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    This happened after I renamed the 'list' action in a Grails 2.0.M2 app with generated controllers for a simple gTunes app. java.lang.NullPointerException at com.springsource.sts.grails.refactoring.rename.ParticipantChangeManager.getCUChange(ParticipantChangeManager.java:192) at com.springsource.sts.grails.refactoring.rename.action.GrailsActionOrViewRenameParticipant.rewriteControllers(GrailsActionOrViewRenameParticipant.java:102) at com.springsource.sts.grails.refactoring.rename.action.ControllerActionRenameParticipant.checkConditions(ControllerActionRenameParticipant.java:61) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257) at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:80) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4861) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    SpringSource Issue Tracker | 6 years ago | Kris De Volder (c)
    java.lang.NullPointerException
  2. 0

    This happened after I renamed the 'list' action in a Grails 2.0.M2 app with generated controllers for a simple gTunes app. java.lang.NullPointerException at com.springsource.sts.grails.refactoring.rename.ParticipantChangeManager.getCUChange(ParticipantChangeManager.java:192) at com.springsource.sts.grails.refactoring.rename.action.GrailsActionOrViewRenameParticipant.rewriteControllers(GrailsActionOrViewRenameParticipant.java:102) at com.springsource.sts.grails.refactoring.rename.action.ControllerActionRenameParticipant.checkConditions(ControllerActionRenameParticipant.java:61) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257) at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:80) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4861) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    SpringSource Issue Tracker | 6 years ago | Kris De Volder (c)
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.springsource.sts.grails.refactoring.rename.ParticipantChangeManager.getCUChange()
    2. com.springsource.sts
      ControllerActionRenameParticipant.checkConditions
      1. com.springsource.sts.grails.refactoring.rename.ParticipantChangeManager.getCUChange(ParticipantChangeManager.java:192)
      2. com.springsource.sts.grails.refactoring.rename.action.GrailsActionOrViewRenameParticipant.rewriteControllers(GrailsActionOrViewRenameParticipant.java:102)
      3. com.springsource.sts.grails.refactoring.rename.action.ControllerActionRenameParticipant.checkConditions(ControllerActionRenameParticipant.java:61)
      3 frames
    3. Refactoring Core
      Refactoring.checkAllConditions
      1. org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257)
      2. org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160)
      2 frames
    4. Java Development Tools UI
      RefactoringExecutionHelper$Operation.run
      1. org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:80)
      1 frame
    5. JDT Core
      JavaModelOperation.run
      1. org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
      2. org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
      2 frames
    6. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      1 frame
    7. JDT Core
      JavaCore.run
      1. org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4861)
      1 frame
    8. Java Development Tools UI
      WorkbenchRunnableAdapter.run
      1. org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
      1 frame
    9. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      1 frame