Frequent canvas updates lead to NullPointerExceptions

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None
    • Environment:

      java.runtime.version=1.7.0_06-ea-b17
      javafx.runtime.version=2.2.0-beta-b16
      nvidia gtx460
      win7

      If I run an animation which updates a canvas each pulse via setting pixels from a buffer using a PixelWriter. After a few seconds I start to get exceptions and the animation pauses for a while before continuing. Exceptions relate to texture drawing and caching.

      I only get exceptions when java is launched with the -server flag, but not with a -client flag. This leads me to believe that this issue is related to garbage collection in some way.

      A sample test application to demonstrate the issue is attached.
      On my machine (when launched with a java -server flag), the app runs fine for six seconds, then starts printing exceptions.
      Sample exceptions generated by the app are attached.

            Assignee:
            Chien Yang (Inactive)
            Reporter:
            John Smith (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: