Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Novice
Description
I was trying to consume a web service deployed with cxf and I was getting this exception at the web server:
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.cxf.transport.http.AbstractHTTPDestination.setHeaders(AbstractHTTPDestination.java:136)
Because I had no clue what this was about, I downloaded the sources and finally I realized that I was sending a BASIC auth header while I wans't sending the user nor the password.
It would be really helpful if you give more feedback in your exceptions.
Thanks.