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

SourceForge.net <[email protected]> Tue, 18 Sep 2012 14:56:12 -0700
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3006631, was opened at 2010-05-24 14:15
Message generated for change (Settings changed) 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: Closed
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 13: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-27 19: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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/