[ grinder-Bugs-3006631 ] Null pointer exeception when posting multipart form data
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3006631, was opened at 2010-05-24 13:15
Message generated for change (Tracker Item Submitted) made by egclubb
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3006631&group_id=18598
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HTTP Plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Edwin Clubb (egclubb)
Assigned to: Nobody/Anonymous (nobody)
Summary: Null pointer exeception when posting multipart form data
Initial Comment:
The script was recorded by tcpproxy (3.4), and encounters a null pointer exception at net.grinder.plugin.http.HTTPRequest.mergeArrays(HTTPRequest.java:185).
I've attached the error.log. Here's the page which caused the error:
def page12(self):
"""POST 1001104 (request 1201)."""
result = request1201.POST('/bac/1001104' +
'?edit=' +
self.token_edit,
( NVPair('costctr', self.token_costctr),
NVPair('request', self.token_request),
NVPair('repStat', 'F'),
NVPair('specimens_specimen_2', ''),
NVPair('specimens_collmeth_2', ''),
NVPair('specimens_comment_2', ''),
NVPair('specimens_organisms_2', ''),
NVPair('specimens_orgsabbrev_2', ''),
NVPair('specimens_orgsexpanded_2', ''), ),
( NVPair('Content-Type', 'multipart/form-data; boundary=---------------------------18588642224946'), ),
True)
So far, every multipart post causes the same error.
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3006631&group_id=18598
------------------------------------------------------------------------------