[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6699) NPE while renaming a file with no extension

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Fri Jul 23 04:35:33 EDT 2010


NPE while renaming a file with no extension
-------------------------------------------

                 Key: JBIDE-6699
                 URL: https://jira.jboss.org/browse/JBIDE-6699
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: drools
    Affects Versions: 3.2.0.M2
            Reporter: Lukas Jungmann
            Assignee: Kris Verlaenen


-create some empty file with no extension, ie 'file'
-invoke Refactoring -> Rename... action on it and rename 'file' to ie 'file.wsdl'

=>
java.lang.NullPointerException
at org.drools.eclipse.refactoring.RuleIFileRenameParticipant.initialize(Unknown Source)
at org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant.initialize(RefactoringParticipant.java:105)
at org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint.getParticipants(ParticipantExtensionPoint.java:100)
at org.eclipse.ltk.core.refactoring.participants.ParticipantManager.loadRenameParticipants(ParticipantManager.java:74)
at org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor.loadParticipants(RenameResourceProcessor.java:238)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:233)
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:1975)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list