incubator-wink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serafin Sedano <serafin.sed...@abiquo.com>
Subject Re: HTTP ERROR 500
Date Thu, 22 Sep 2011 14:15:44 GMT
It looks like you are either omitting the "Accept: " header or the Service
API has defined an empty @Consumes.

Since it is a 500 I bet the service is wrong.

Please add the actual request you are performing.

Kind regards.

SerafĂ­n.

2011/9/22 Miguel Tinte <miguel.tinte@gmail.com>

>
> Hi,
>> I am using Wink to access via REST service to a SCA component deployed in
>> http://localhost:8080/component. When I load my REST request by adding
>> "/hello" to the previous URL it returns:
>>
>>     INTERNAL_SERVER_ERROR
>>
>> Caused by:
>>
>> java.lang.NullPointerException
>> 	at org.apache.wink.common.internal.http.Accept.valueOf(Accept.java:139)
>>
>> Any idea?
>>
>> Thanks in advance
>>
>
>

Mime
View raw message