JDK-8197488 : [testbug] IllegalStateException logged while running unit tests TreeTableViewTest and TableViewTest
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 10,openjfx11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-02-09
  • Updated: 2018-06-13
  • Resolved: 2018-03-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx11Fixed
Related Reports
Relates :  
Description
These test log exception on stdout/stderr -

test.javafx.scene.control.TreeTableViewTest > test_rt_39822
test.javafx.scene.control.TreeTableViewTest > test_rt35039
test.javafx.scene.control.TreeTableViewTest > test_rt35213
test.javafx.scene.control.TreeTableViewTest > test_rt30400

test.javafx.scene.control.TableViewTest > test_rt_39822
test.javafx.scene.control.TableViewTest > test_rt_40319_toRight_toBottom_useMouse
test.javafx.scene.control.TableViewTest > test_rt_40319_toRight_toTop_useMouse
test.javafx.scene.control.TableViewTest > test_rt_40319_toLeft_toBottom_useMouse
test.javafx.scene.control.TableViewTest > test_rt_40319_toLeft_toTop_useMouse
Comments
Changeset: 7b81aa65d75a Author: rkamath Date: 2018-03-09 15:01 +0530 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/7b81aa65d75a
09-03-2018

+1
09-03-2018

lgtm +1
08-03-2018

1] test.javafx.scene.control.TreeTableViewTest > test_rt_39822 StackTrace printed for success case as well. Moved it to get printed only in failure case. The failure log will now have obtained exception name too even without passing --info option. 2] test.javafx.scene.control.TreeTableViewTest > test_rt35039 : Exception in thread "Test worker" java.lang.IllegalStateException: Not a permutation change Product Bug Filed. (JDK-8199324) 3] test.javafx.scene.control.TreeTableViewTest > test_rt35213 : java.lang.IllegalStateException: Cannot get property name Test is trying to populate column data by passing invalid property name. Fixed by adding a getproperty lambda for TreeItem. 4] test.javafx.scene.control.TreeTableViewTest > test_rt30400 : java.lang.IllegalStateException: Cannot get property firstName Same as [3] 5] test.javafx.scene.control.TableViewTest > test_rt_39822 Same as [1] 6] test.javafx.scene.control.TableViewTest > test_rt_40319_toRight_toBottom_useMouse test.javafx.scene.control.TableViewTest > test_rt_40319_toRight_toTop_useMouse test.javafx.scene.control.TableViewTest > test_rt_40319_toLeft_toBottom_useMouse test.javafx.scene.control.TableViewTest > test_rt_40319_toLeft_toTop_useMouse : java.lang.IllegalStateException: Cannot read from unreadable property firstname java.lang.IllegalStateException: Cannot read from unreadable property lastname The property name specified was incorrect in case(firstname => firstName). Additionally fixed TableViewTest.test_rt_40546 as well because of the above reason. Patch for review: http://cr.openjdk.java.net/~rkamath/8197488/webrev.00/ Tested on Win, Linux, Mac
08-03-2018