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

SwingJavaFXChart throws NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows7 x64
      JavaFX2.0 beta b37
      java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

      Description

      When SwingJavaFXChart is launched as stand alone NPE thrown over and over. Again the same NPE when adjusting data values.

      java.lang.NullPointerException
              at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unknown Source)
              at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Source)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
              at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
              at com.sun.prism.render.RenderJob.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)

      Steps:
      Launch SwingJavaFXChart.jar from the command line with "java -jar SwingJavaFXChart.jar"
      The exception will be seen.
      Double click any cell in the data table and change the value and more NPE thrown

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              tbeckham Tony Beckham (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: