[ grinder-Bugs-3006631 ] Null pointer exeception when posting multipart form data

SourceForge.net <[email protected]> Tue, 25 Oct 2011 21:54:45 +0100
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3006631, was opened at 2010-05-24 22:15
Message generated for change (Comment added) made by philipa
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: Pending
>Resolution: Fixed
Priority: 6
Private: No
Submitted By: Edwin Clubb (egclubb)
Assigned to: Philip Aston (philipa)
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)

----------------------------------------------------------------------

>Comment By: Philip Aston (philipa)
Date: 2011-10-25 21:54

Message:
Fixed for next release:
http://grinder.git.sourceforge.net/git/gitweb.cgi?p=grinder/grinder;a=commit;h=f207a2b65107be55fcb713b8239ca5b7062a6fe8

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2010-06-28 03:28

Message:
Even I'm facing the same error in when I tested my application using the
same envrionment - Grinder 3. in Java Version 1.6.0_20. Any fixes so far?
Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3006631&group_id=18598

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev