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

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Wed May 13 06:11:47 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov resolved JBIDE-4277.
------------------------------------

    Resolution: Done
      Assignee: Alexey Kazakov  (was: Dmitry Geraskov)


> 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: Alexey Kazakov
>            Priority: Critical
>             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