Return-Path: X-Original-To: apmail-incubator-wink-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-wink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E68CB7C3E for ; Thu, 22 Sep 2011 14:09:55 +0000 (UTC) Received: (qmail 26269 invoked by uid 500); 22 Sep 2011 14:09:55 -0000 Delivered-To: apmail-incubator-wink-user-archive@incubator.apache.org Received: (qmail 25640 invoked by uid 500); 22 Sep 2011 14:09:54 -0000 Mailing-List: contact wink-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: wink-user@incubator.apache.org Delivered-To: mailing list wink-user@incubator.apache.org Received: (qmail 25574 invoked by uid 99); 22 Sep 2011 14:09:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2011 14:09:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of miguel.tinte@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2011 14:09:46 +0000 Received: by vws16 with SMTP id 16so4744032vws.0 for ; Thu, 22 Sep 2011 07:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=83Hg4w06bXYHuP5M8uwT3OL2IzBVTO9/AegXAbTqCUU=; b=X2UtOTL15Zk22TSkBjJ3rPHS7c4XW+PNLjLQWYS/yKwq2qfRP0Kf44EhluW9hcPnDc HCZ5TOFZB5GvVs4J7AshvhWrgUhcxGpBdl/JJpRjIVu8CZbTomg75jRpJIzoytjNbJmV dlNYFEyDinyTTvn65ONxL8pf3RU4k6ZxTS0+M= MIME-Version: 1.0 Received: by 10.52.174.169 with SMTP id bt9mr1955086vdc.129.1316700566084; Thu, 22 Sep 2011 07:09:26 -0700 (PDT) Received: by 10.220.179.204 with HTTP; Thu, 22 Sep 2011 07:09:26 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Sep 2011 16:09:26 +0200 Message-ID: Subject: Re: HTTP ERROR 500 From: Miguel Tinte To: wink-user@incubator.apache.org Content-Type: multipart/alternative; boundary=bcaec51b1f67845d6804ad883d06 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51b1f67845d6804ad883d06 Content-Type: text/plain; charset=ISO-8859-1 > 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 > --bcaec51b1f67845d6804ad883d06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
I am = using Wink to access via REST service to a SCA component deployed in http://localhost:80= 80/component. When I load my REST request by adding "/hello" = to the previous URL it returns:
    INTERNAL_SERVER_ERROR

Caused by:

java.lang.NullP=
ointerException
	at org.apache.wink.common.internal.http.Accept.valueOf(Accept.java:139)
Any idea?

Thanks in advance

--bcaec51b1f67845d6804ad883d06--