重命名文件时Eclipse中的错误

时间:2016-09-15 14:35:40

标签: eclipse

当我尝试在Eclipse Version: Luna Service Release 2 (4.4.2)中重命名GSP文件时,我无法重命名它并发生此错误,我尝试重启Eclipse但发现同样的问题

java.lang.NullPointerException at rg.grails.ide.eclipse.refactoring.rename.action.GrailsActionOrViewRenameParticipant.getActions(GrailsActionOrViewRenameParticipant.java:175)
at org.grails.ide.eclipse.refactoring.rename.action.GSPRenameParticipant.renameAction(GSPRenameParticipant.java:109)
at org.grails.ide.eclipse.refactoring.rename.action.GSPRenameParticipant.checkConditions(GSPRenameParticipant.java:103)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257)
at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

解决此问题的任何解决方案?

0 个答案:

没有答案