Need to fix misleading Texture exception message when the require size exceeds the maximum size limit

XMLWordPrintable

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

      The following exception message is misleading to user (require dimension (0x0)):

      java.lang.RuntimeException: Requested texture dimensions (10004x10967) require dimensions (0x0) that exceed maximum texture size (8192)
      at com.sun.prism.es2.ES2Texture.create(ES2Texture.java:141)
      at com.sun.prism.es2.ES2ResourceFactory.createTexture(ES2ResourceFactory.java:60)
      at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:126)

      Why can "0x0" be an issue? This is puzzling to end user. We need to report the actual require size; not reset the height and width to zero and report those values.

            Assignee:
            Chien Yang (Inactive)
            Reporter:
            Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: