You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file path is org.zkoss.image.AImage.
In our test case, pass inputStream=null into the function whose api is AImage. In this api, a null pointer is introduced when the function init() is called for initialization, and a null pointer exception will be generated.
source code:
java.lang.NullPointerException:Cannot invoke "java.io.InputStream.close()"because "is"is nullat org.zkoss.image.Almage.<init>(Almage.java:86)
at org.zkoss.image.Almage_Test.test_isContentDisposition_4_64(Almage_Test.java:898)
at java.base/jdk.internal.reflect.NativeMethodAccessorlmpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorlmpl.invoke0(NativeMethodAccessorlmpl.java:77)
at java.base/jdk.internal.reflect.DeleqatingMethodAccessorlmplinvoke(DeleqatingMethodAccessorlmpl.java:43)
The text was updated successfully, but these errors were encountered:
The file path is org.zkoss.image.AImage.
In our test case, pass inputStream=null into the function whose api is AImage. In this api, a null pointer is introduced when the function init() is called for initialization, and a null pointer exception will be generated.
source code:
test code:
test result
The text was updated successfully, but these errors were encountered: