IBM Support

PI20566: HANG WHEN SELECTING TEXT IN JAVA, XML AND CSS EDITORS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When selecting text in Java, XML and CSS editors, Rational
    Application Developer hangs for about
    30 seconds
    
    Steps to reproduce:
    
    - Open an XML, CSS or Java file
    - Go with the cursor at the end of the line
    - Press SHIFT and with the arrow navigate towards the beginning
    of the line to select (highlight) text
    
    Steps to diagnose:
    
    Collect UI Monitoring data.
    
    The stack trace of the hung thread is:
    
    java.io.WinNTFileSystem.list(Native Method)
    java.io.File.list(File.java:1059)
    java.io.File.listFiles(File.java:1185)
    com.ibm.support.feedback.crashreports.ui.internal.CrashReporterU
    til.getCrashFiles(CrashReporterUtil.java:89)
    com.ibm.support.feedback.crashreports.ui.internal.CrashPropertyT
    ester.test(CrashPropertyTester.java:52)
    org.eclipse.core.internal.expressions.Property.test(Property.jav
    a:58)
    org.eclipse.core.internal.expressions.TestExpression.evaluate(Te
    stExpression.java:99)
    org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer.isVis
    ible(ContributionsAnalyzer.java:248)
    org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRec
    ord.computeVisibility(ToolBarContributionRecord.java:124)
    org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRec
    ord.updateVisibility(ToolBarContributionRecord.java:68)
    org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer
    $6.changed(ToolBarManagerRenderer.java:352)
    org.eclipse.e4.core.internal.contexts.TrackableComputationExt.up
    date(TrackableComputationExt.java:110)
    org.eclipse.e4.core.internal.contexts.EclipseContext.processSche
    duled(EclipseContext.java:328)
    org.eclipse.e4.core.internal.contexts.EclipseContext.set(Eclipse
    Context.java:342)
    org.eclipse.e4.core.internal.contexts.EclipseContext$1.changed(E
    clipseContext.java:738)
    org.eclipse.e4.core.internal.contexts.TrackableComputationExt.up
    date(TrackableComputationExt.java:110)
    org.eclipse.e4.core.internal.contexts.EclipseContext.processSche
    duled(EclipseContext.java:328)
    org.eclipse.e4.core.internal.contexts.EclipseContext.set(Eclipse
    Context.java:342)
    org.eclipse.e4.ui.internal.workbench.SelectionAggregator$7.chang
    ed(SelectionAggregator.java:213)
    org.eclipse.e4.core.internal.contexts.TrackableComputationExt.up
    date(TrackableComputationExt.java:110)
    org.eclipse.e4.core.internal.contexts.EclipseContext.processSche
    duled(EclipseContext.java:328)
    org.eclipse.e4.core.internal.contexts.EclipseContext.set(Eclipse
    Context.java:342)
    org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setSel
    ection(SelectionServiceImpl.java:30)
    org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selec
    tionChanged(CompatibilityPart.java:433)
    org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSe
    lectionProvider.java:110)
    org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(M
    ultiPageSelectionProvider.java:108)
    org.eclipse.ui.part.MultiPageSelectionProvider.fireSelectionChan
    ged(MultiPageSelectionProvider.java:90)
    com.ibm.etools.webedit.editor.HTMLEditor$PageDesignerSelectionPr
    ovider.fireSelectionChanged(HTMLEditor.java:496)
    org.eclipse.ui.part.MultiPageEditorSite.handleSelectionChanged(M
    ultiPageEditorSite.java:501)
    com.ibm.etools.webedit.editor.HTMLEditor$PageDesignerMultiPageEd
    itorSite.handleSelectionChanged(HTMLEditor.java:1315)
    org.eclipse.ui.part.MultiPageEditorSite$5.selectionChanged(Multi
    PageEditorSite.java:412)
    org.eclipse.wst.sse.ui.StructuredTextEditor$4.run(StructuredText
    Editor.java:593)
    org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionP
    rovider.fireSelectionChanged(StructuredTextEditor.java:591)
    org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionP
    rovider.handleSelectionChanged(StructuredTextEditor.java:683)
    org.eclipse.wst.sse.ui.StructuredTextEditor$2.selectionChanged(S
    tructuredTextEditor.java:559)
    org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
    org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.jav
    a:162)
    org.eclipse.jface.text.TextViewer.fireSelectionChanged(TextViewe
    r.java:2738)
    org.eclipse.jface.text.TextViewer.selectionChanged(TextViewer.ja
    va:2717)
    org.eclipse.jface.text.TextViewer$4.widgetSelected(TextViewer.ja
    va:1836)
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.
    java:248)
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
    org.eclipse.swt.custom.StyledText.sendSelectionEvent(StyledText.
    java:8048)
    org.eclipse.swt.custom.StyledText.doSelection(StyledText.java:32
    19)
    org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:6
    939)
    org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5911
    )
    org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:
    5937)
    org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:
    5629)
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
    org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
    org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1823)
    org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4892)
    

Local fix

  • The Crash Reporter traverses all files in the product install
    path, the "user.dir" path, and the "user.home" path looking for
    "javacore*.txt" files.
    
    The absolute path can be found by running a Java application
    with code like the following:
    
    System.out.println("user.home path: " +
    System.getProperty("user.home"));
    System.out.println("user.dir path: " +
    System.getProperty("user.dir"));
    
    It is possible that you experience this performance issue due to
    slow
    I/O devices, or a lot of files in the product install location,
    or in
    the 'user.home' or 'user.dir' path.
    
    Reducing the number of unnecessary files in these locations
    might reduce the time spent in this process.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Application Developer                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A hang might occur when selecting text in a Java, XML, or    *
    * CSS editor.                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer v9.0.1.1 and v9.1.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI20566

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-23

  • Closed date

    2014-12-01

  • Last modified date

    2014-12-01

  • 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

  • R911 PSY

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

Document Information

Modified date:
01 December 2014