Error in Dynamic BLOB image [message #1803024] |
Thu, 21 February 2019 07:49 |
Vijayalakshmi laxman Messages: 21 Registered: June 2014 |
Junior Member |
|
|
Hi All,
There is a table in database which stores the image in BLOB datatype. I have used the below line in Fetch to retrieve the data for each record and it works without any issue using "Dynamic image" binding in layout. However in case the record is not having any image in the database then it results in below error.
row["image"] = maximoDataSet.getBlob("image");
ERROR getBlob(image) failed.
java.lang.NullPointerException
at com.ibm.tivoli.maximo.report.script.MXReportDataSetImpl.getBlob(MXReportDataSetImpl.java:1780)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
|
|
|
Powered by
FUDForum. Page generated in 0.03469 seconds