JDK-4810456 : JCK1.4a-runtime api/java_awt/interactive/TextAreaTests.html#TextAreaTests failed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86,itanium
  • Submitted: 2003-01-30
  • Updated: 2011-01-12
Related Reports
Relates :  
Description

Name: iaR10016			Date: 01/30/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.4.2-b14, JDK1.4.1
                 (not reproducible with JDK1.4.0)
JCK            : JCK1.4a-runtime
Platform[s]    : RedHat Linux 7.3 (GNOME)
                 (not reproducible on Windows, Solaris sparc, Solaris intel)
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test   : api/java_awt/interactive/TextAreaTests.html#TextAreaTests
                 [TextAreaTest0001, TextAreaTest0002, TextAreaTest0003]

Please, run api/java_awt/interactive/TextAreaTests.html#TextAreaTests test on RedHat Linux 7.3.
When scrollbar policy is set to "SCROLLBARS_BOTH" or "SCROLLBARS_HORIZONTAL_ONLY" and user click
"Set" button, tested TextArea correctly set it's row and collumn counts, but unexpected warning
appears in the standard output device:
...
Warning:
    Name: HorScrollBar
    Class: XmScrollBar
    The specified scrollbar value is greater than the maximum
    scrollbar value minus the scrollbar slider size.
...

I am not able to reproduce the failure on Windows, Solaris sparc and Solaris intel systems.

Test source location:
=====================
/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/TextAreaTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b14/jck14a/linux/redhat7.3_gnome_smp_plugin_ns4.76_linux-19/workDir/api-interactive/java_awt/interactive/TextAreaTests_TextAreaTests.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables) with
JDK1.4.2-b14 on RedHat Linux 7.3 and click "Set" button.

--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
JDK="/net/jdk/export/disk8/local.java/jdk1.4/linux-i386"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java javasoft.sqe.tests.api.java.awt.interactive.TextAreaTests
--- script end ---

Specific machine info:
======================
Hostname: linux-19
OS: RedHat Linux 7.3 (GNOME)

======================================================================

Comments
EVALUATION Name: rpR10076 Date: 02/03/2003 This warning is not related to Java, it happens in MOTIF code. MOTIF recalculates the coordinates of TextArea and scrollbars several times and during one of the recalculations they are in an inconsistent state, which causes warning. Eventually, everything works correctly, warning should be ignored. We have recently had a bug 4756448 Motif Scrollbar warning in Solaris Web Start wizards that exhibited the same warning. Right now it is closed, but just because we managed to recommend a workaround for the submitter so that his particular application stops showing the warning. During the investigation of 4756448, we figured out there are bugreports that mention the same warning and are not related to Java, they are 4039904, 4070903, 4375311, 4228146 and 4721140. So, this is not a Java bug. ======================================================================
17-09-2004