Hi:
When I use cxf webservice at following situation, there always a null
pointer exception occurs
1)MTOM enabled, and multi attachments sent.
2)The first attachment is big enough (etc 2M). and the second attachments is
very small (etc: several bytes);
3)the MTOM attachment is mapped to a byte[] attribute (not DataHandler).
At such a situation, the server side of cxf can only find the first
attachments, And the second attachment cannot be found , so a NullPointer
exception occurs
Stack:
Java.lang.NullPointerException
At
org.apache.cxf.attachment.LazyDataSource.getContentType(LazyDataSource.java:
61)
Is it a bug?