1. Open attached ER model
2. Zoom the model to max
3. Generate the HTML report
4. You get below exceptions:
java.lang.NegativeArraySizeException
at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
at java.awt.image.Raster.createPackedRaster(Raster.java:458)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
at sun.awt.Win32GraphicsConfig.createCompatibleImage(Win32GraphicsConfig.java:126)
at java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:155)
at org.jgraph.JGraph.getImage(JGraph.java:2992)
at \\...\\ .\\हिñçêČάй語简�?한\\.wꋫꊣꆦꆯ extends.a(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.H⠥ꎭꀡꍛ try short.JS(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.wꋶꐂ⣡ꐸ.d(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.wꋶꐂ⣡ꐸ.bF(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.wꋶꐂ⣡ꐸ.IE(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.u᜵ꂙꉁꑰ interface 9.generate(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.tꅂꃞꂳꌯ try while.bo(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.zꐺꁟꎴᡮ double abstract.save(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Jꆁ⢼̙́ return 8.be(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Jꆁ⢼̙́ return 8.ajM(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.Jꆁ⢼̙́ return 8.ajL(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.tꅂꃞꂳꌯ try while.atH(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.dꎮ͂ꆰꍦ.action(Unknown Source)
at \\...\\ .\\हिñçêČάй語简�?한\\.uᚵꆹꍃꋗ interface implements.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
![]() |
120 KB
Notes: this is not HTML report-specific, saving a large PNG image will produce same error.
This exception occurs when the size of the image > Integer.MAX_VALUE. Java's graphics engine could not allocate an image of that size. The fix is to check the boundary first and produce a user message.
Can you fix the Unexpected error exception for zoom image and then Tools -> Save All As Images ? for the same er model that I have attached ?
\...\\ .\\हिñçêČάй語简�?한\\.Eᝃꄗꊿ⠔ this: The image you are trying to save is too big. Please scale it down and try again.
Can you fix the Unexpected error exception for zoom image and then Tools -> Save All As Images ? for the same er model that I have attached ?
\...\\ .\\हिñçêČάй語简�?한\\.Eᝃꄗꊿ⠔ this: The image you are trying to save is too big. Please scale it down and try again.
Issue #10667 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 14.0.0-14 |
No time estimate |
1 issue link |
relates to #10637
Issue #10637Unexpected Error in Saving HTML report - improve error message |
Notes: this is not HTML report-specific, saving a large PNG image will produce same error.
This exception occurs when the size of the image > Integer.MAX_VALUE. Java's graphics engine could not allocate an image of that size. The fix is to check the boundary first and produce a user message.