Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion RestAssuredResponseImpl: getting body as String results in NPE

Received: by 10.58.145.227 with SMTP id sx3mr1512703veb.31.1349344057020;
        Thu, 04 Oct 2012 02:47:37 -0700 (PDT)
X-BeenThere: rest-assured@googlegroups.com
Received: by 10.52.21.40 with SMTP id s8ls1993669vde.8.gmail; Thu, 04 Oct 2012
 02:47:36 -0700 (PDT)
Received: by 10.52.65.33 with SMTP id u1mr790033vds.18.1349344056720;
        Thu, 04 Oct 2012 02:47:36 -0700 (PDT)
Date: Thu, 4 Oct 2012 02:47:36 -0700 (PDT)
From: bjello <devnull2...@gmx.de>
To: rest-assured@googlegroups.com
Message-Id: <1e94c54d-5f63-4437-b76c-b6b0897dc6cd@googlegroups.com>
In-Reply-To: <61fefea2-c4ea-4028-8741-8e7d9391d573@googlegroups.com>
References: <f55e69ea-8ba9-439f-a39d-60937f9a641f@t4g2000vba.googlegroups.com>
 <CAK3tnc+1pAbJ9AFChQ1s_tNxU7Wgih+GD6aChtJo9vfzM7c6mA@mail.gmail.com>
 <20120930224039.16670@gmx.net>
 <CAK3tnc+nh9EuRTkU67mNrHbRjO6K0n0NtmJupJLtB1v4fDUeDQ@mail.gmail.com>
 <9d3adef5-b458-40c5-9b3c-5927ebe3ad03@googlegroups.com>
 <CAK3tncKc17MmzD51nQ1K0zh_8cQc03D8=_6JCDdvjMJ6QmZRKQ@mail.gmail.com>
 <85bfa449-d575-45fd-ab4d-925b01ad0b3b@googlegroups.com>
 <CAK3tncJq_Lqb_Cvs_wcFZbEWZOjj0YOmxijKLYkjwZthgRL9-Q@mail.gmail.com>
 <CAK3tncL8YNikXOdOfC1FNUB==7xMNk8mgUSmcFGSm96WamXwXw@mail.gmail.com>
 <e5ff72e7-3f6e-4476-a226-3a7ead45445b@googlegroups.com>
 <CAK3tnc+qeJWNuw4mSaZbyE0OLVs0i9ckwYCraYhvaQ7NDu1x1g@mail.gmail.com>
 <61fefea2-c4ea-4028-8741-8e7d9391d573@googlegroups.com>
Subject: Re: [rest-assured] RestAssuredResponseImpl: getting body as String
 results in NPE
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_172_13520534.1349344056408"

------=_Part_172_13520534.1349344056408
Content-Type: multipart/alternative; 
	boundary="----=_Part_173_9010731.1349344056408"

------=_Part_173_9010731.1349344056408
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Just for the record: I tried it with tomcat instead of jetty and the 
response's content type was text/plain;charset=UTF-8 or 
application/json;charset=UTF-8, there weren't any quotes. So RestEasy isn't 
doing anything wrong either, it looks like it's actually Jetty.

Regards,
Bjello



------=_Part_173_9010731.1349344056408
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

Just for the record: I tried it with tomcat instead of jetty and the response's content type was text/plain;charset=UTF-8 or application/json;charset=UTF-8, there weren't any quotes. So RestEasy isn't doing anything wrong either, it looks like it's actually Jetty.<br><br>Regards,<br>Bjello<br><br><br>
------=_Part_173_9010731.1349344056408--

------=_Part_172_13520534.1349344056408--