Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146266

[Mac] UIControlSamples throws ArrayIndexOutOfBoundsException on OS X 10.11


    • Subcomponent:
    • CPU:
    • OS:


      Testsuite name: FXSamples manual
      Test name(s): tests/docsamples/UIControlSamples.html
      Product(s) tested: JDK7u95b14 (64bit)
      OS/architecture: Mac10.11 x64

      Error log file (if present):

      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression:Yes
      (Test JDK7u85b15-64bit on Mac10.11-x64,the results:Pass)
      (Test JDK7u95b01-64bit on Mac10.11-x64,the results:Failed as JDK-8143907)
      (Test JDK7u95b09-64bit on Mac10.11-x64,the results:Failed as JDK-8143907)

      [If Regression] Regression introduced in release/build:(Test JDK7u95b14-64bit on Mac10.11-x64,the results:Failed as INTJDK-7622293)
      Test result on the last GAed release for this train:(Test JDK7u85b15-64bit on Mac10.11-x64,the results:Pass)
      [if Fail] Test result on FCS:

      Is it a platform specific issue:Yes
      (Test JDK7u95b14-64bit on Win7-x64,the results:Pass)
      (Test JDK7u95b14-64bit on Ubuntu-x64,the results:Pass)
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode:No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:No

      Steps to reproduce:
      1. Install Test build JDK7u95 (64bit) and set JAVA_HOME env
      2. use test bundle:fxsqe-for-promoted-build-2.2.79-latest.zip and extract to a folder <WS>.
      3. Install ANT (version:1.9.3) and set ANT_HOME env
      4. Change javafx.home path in build.properties file(under the folder <WS>.
      5 Enter the testsuite "SamplesTests" directory and run command: ant run-manual
      6. Run the case: tests/docsamples/UIControlSamples.html in the harness.

      1.download UIControlSamples.zip
      2.Unzip UIControlSamples.zip
      3.Open it in NetBeans 8.0.2 with JavaFX support
      4.In the UIControlSample project set paginationsample.PaginationSample as the application class.
      5.Clean and build the project.
      6.Run it.

      The expected result:
      The application presents a Pagination control that displays system fonts. The fonts are rendered 15 items per page. Navigate through the pages by using the Previous and Next buttons, ensure that no exceptions are thrown.
      The actual result:
      The application can not be worked as expected and throw exception as "java.lang.ArrayIndexOutOfBoundsException" in the netbean,please refer to exception.log.
      The application loaded as a small window refer to UIcontrol-1.png.We tried to extend it,it just shows as blank refer to UIcontrol-2.png.


        1. exception.log
          4 kB
        2. jfx2295.txt
          0.1 kB
        3. jfx900-t2k.txt
          3 kB
        4. UIcontrol-1.png
          63 kB
        5. UIcontrol-2.png
          174 kB



            • Assignee:
              scfitch Stephen Fitch
              michaelw Michael Wang (Inactive)
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created: