Sergey Beryozkin wrote
> On 11/12/14 20:58, criedluv wrote:
>>
>>
>>
>>
>> * ERROR 2014-12-11 13:45:58,317
>> (pache.cxf.jaxrs.client.JAXRSClientFactoryBean) [main][]:
>> java.lang.ArrayIndexOutOfBoundsException : 3*
>>
>
> What is the stack trace ? Can you provide a test case to investigate ?
> Sergey
>
>>
>> this comes from the .createFromModel call:
>>
>> List providers = new ArrayList();
>> providers.add(provider);
>> providers.add(new ResponseExceptionMapper
> <IllegalValueException>
> () {
>>
>> @Override
>> public IllegalValueException fromResponse(Response r) {
>> return new IllegalValueException();
>> }
>>
>> });
>> providers.add(new ResponseExceptionMapper
> <ThreatSourceException>
> () {
>>
>> @Override
>> public ThreatSourceException fromResponse(Response r) {
>> return new ThreatSourceException();
>> }
>>
>> });
>>
>> IndicationWarning iwService = JAXRSClientFactory
>> .createFromModel("http://localhost:" + port +
>> "/iw/IndicationWarningService/rest", IndicationWarning.class,
>>
>> "classpath:/springContext/IndicationWarningService-jaxrs.xml", providers,
>> null);
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://cxf.547215.n5.nabble.com/CXF-JAXRS-JAXWS-War-throws-javax-ws-rs-WebApplicationException-tp5752176p5752259.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
I got past the exception by moving the cxf-rt-frontend-jaxrs, version 2.7.0
to of 2.7.12. This is consistent with the version for all other CXF jars.
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-JAXRS-JAXWS-War-throws-javax-ws-rs-WebApplicationException-tp5752176p5752305.html
Sent from the cxf-user mailing list archive at Nabble.com.