[BUG] Width (400) and height (0) cannot be <= 0
See original GitHub issueInstalled and opened blob with Ghidra. The file is raw XML file. The graphview is visible but error message still pops up each time I run the script.
Uncaught Exception!
IllegalArgumentException - Width (400) and height (0) cannot be <= 0
java.lang.IllegalArgumentException: Width (400) and height (0) cannot be <= 0
at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:324)
at BitMapSliderUI.makeBitmap(BitMapSliderUI.java:106)
at BitMapSliderUI.lambda$new$0(BitMapSliderUI.java:41)
at java.base/java.lang.Thread.run(Thread.java:834)
---------------------------------------------------
Build Date: 2020-Feb-12 1149 EST
Ghidra Version: 9.1.2
Java Home: C:\Program Files\Amazon Corretto\jdk11.0.7_10
JVM Version: Amazon.com Inc. 11.0.7
OS: Windows 10 10.0 amd64
Workstation: hostname
See image below:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Width (0) and height (0) cannot be <= 0 : IDEA-129609
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0. Relates to 4 Duplicates 1. Relates to 4 issues (0 unresolved).
Read more >IllegalArgumentException - Width (0) and height (0) cannot be ...
I personally have this error on an Ubuntu 22.04 machine when any java application is visible on the screen and I disconnect and...
Read more >RuntimeException : Width (0) and height (0) cannot be <= 0
I have got this type of error, How may I resolve this issue. java.lang.RuntimeException: java.lang.RuntimeException: Error while processing D:\ ...
Read more >The live view is not visible due t… | Apple Developer Forums
After starting the code Playground displays an error "The live view is not visible due to having zero width and zero height". There...
Read more >Exception width and height can not be <0 - java - Daniweb
2) I may have a counting error, trying to print some page not there. I tried throwing in pdf with successively larger page...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@duraki I apologize for the delay as I’ve been quite preoccupied with school. I think I fixed your issue though as I was able to recreate it in a Windows VM and isolated the issue to a couple lines within BitMapSliderUI.java. It simply had to do with the file being so small that some math was done incorrectly. It should work once my pull request goes through!
Awesome! Thanks a lot for PR.