IBM Support

PM39812: Deleting a physically nested project causes an error stating the resource does not exist

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When deleting projects from the workspace and deleting the files
    on the disk if the parent is deleted before the nested projects
    then the following exception is thrown:
    
    org.eclipse.core.runtime.CoreException: Can not delete resource.
    Resource does not exist.
    at
    org.eclipse.ltk.core.refactoring.resource.DeleteResourceChange.p
    erform(DeleteResourceChange.java:108)
    at
    org.eclipse.ltk.core.refactoring.CompositeChange.perform(Composi
    teChange.java:278)
    at
    org.eclipse.ltk.core.refactoring.CompositeChange.perform(Composi
    teChange.java:278)
    at
    org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(Pe
    rformChangeOperation.java:258)
    at
    org.eclipse.core.internal.resources.Workspace.run(Workspace.java
    :2310)
    at
    org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeC
    hange(PerformChangeOperation.java:306)
    at
    org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation
    .executeChange(UIPerformChangeOperation.java:92)
    at
    org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(Perf
    ormChangeOperation.java:218)
    at
    org.eclipse.core.internal.resources.Workspace.run(Workspace.java
    :2310)
    at
    org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter
    .run(WorkbenchRunnableAdapter.java:87)
    at
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(
    ModalContext.java:121)
    
    For more technical information see the following Eclipse bug:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=343584
    
    Steps to reproduce:
    
    1- when having a testProject has an internal project called
    TestProject2
    2- Import TestProject2 as existing project 'folder' and deselect
    the copy to workspace button
    3- import TestProject same way
    4- try to delete both projects you will get an error saying:
    
    An exception has been caught while processing the refactoring
    'Delete Resource'
    
    Reason:
    
    Can not delete resource. Resource does not exist
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Deleting a nested project may cause a CoreException stating
    that the resource does not exist.
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer v7.5.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM39812

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-23

  • Closed date

    2011-11-03

  • Last modified date

    2011-11-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R755 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2011