[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4277) NPE is thrown when user tries to rename a project with hibernate launch configuration.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed May 6 10:26:46 EDT 2009


NPE is thrown when user tries to rename a project with hibernate launch configuration.
--------------------------------------------------------------------------------------

                 Key: JBIDE-4277
                 URL: https://jira.jboss.org/jira/browse/JBIDE-4277
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Hibernate
    Affects Versions: 3.1.0.M1
            Reporter: Alexey Kazakov
            Assignee: Dmitry Geraskov
            Priority: Blocker
             Fix For: 3.1.0.M1


1. Create Seam EAR Project.
2. EJB project -> Refactoring -> Rename...
3. Enter new name. Press "finish".
4. Exception is thrown:
java.lang.NullPointerException
at org.hibernate.eclipse.launch.core.refactoring.LaunchConfigurationResourceNameChange.perform(LaunchConfigurationResourceNameChange.java:85)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:260)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:308)
at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:225)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

So It's impossible to rename a project with Hibernate launch configuretion inside.

BTW we have to check 3.0.1 too.

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

        



More information about the jbosstools-issues mailing list