IBM Support

PM32069: Saving nested project's webfiles from Page Designer results in org.eclipse.core.runtime.AssertionFailedException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Saving a file that is in a nested project using the Page
    Designer results in an
    org.eclipse.core.runtime.AssertionFailedException error.
    
    Step to reproduce:
    
    1. Create a General Project.
    
    2. Now create a Dynamic Web project inside the general project.
    
    (To create one project within other, uncheck 'Use default
    location' check box in new project creation wizard and give the
    desired path)
    
    3. Create an HTML page inside the child project and open the
    page in Page Designer.
    
    4. Edit the page and then try to save it.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Saving a file that is in a Dynamic Web project and is a
    child project of a parent project using the Page Designer
    results in the save failing and the following error found in
    the .log file:
    
    !ENTRY org.eclipse.ui 2 0 2010-10-26 21:50:50.980
    !MESSAGE Save Failed
    !STACK 0
    org.eclipse.core.runtime.AssertionFailedException: assertion
    failed:
     at org.eclipse.core.runtime.Assert.isTrue(Unknown Source)
     at org.eclipse.core.runtime.Assert.isTrue(Unknown Source)
     at
    org.eclipse.jface.text.source.AnnotationModel.connect(Unknow
    n Source)
     at
    com.ibm.etools.webedit.editor.internal.page.PageDesignerMode
    lDumper.saveModel (Unknown Source)
     at
    com.ibm.etools.webedit.editor.internal.page.PageDesignerMode
    lDumper.internalDoSave (Unknown Source)
     at
    com.ibm.etools.webedit.editor.internal.page.PageDesignerMode
    lDumper.access $3(Unknown Source)
     at
    com.ibm.etools.webedit.editor.internal.page.PageDesignerMode
    lDumper $1.execute(Unknown Source)
     at
    org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknow
    n Source)
     at
    org.eclipse.core.internal.resources.Workspace.run(Unknown
    Source)
     at
    org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown
    Source)
    ...
    
    This error is happening because the location of the child
    Dynamic Web project cannot be determined.
    

Problem conclusion

  • A fix was introduced to ensure the correct path is found
    when the Dynamic Web project is a child project of a parent
    project to prevent this problem from happening.
    
    The fix for this problem is included in Rational Application
    Developer v8.0.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM32069

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    754

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-07

  • Closed date

    2011-03-11

  • Last modified date

    2011-03-11

  • 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

  • R754 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.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 March 2011