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.
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.
- relates to
-
JDK-8123212 Fatal RuntimeException in renderer when running any program on Linux
-
- Closed
-