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

SourceForge.net <[email protected]> Wed, 09 May 2012 09:17:52 -0700
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3525156, was opened at 2012-05-09 09:17
Message generated for change (Tracker Item Submitted) made by oviney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3525156&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: Ouray Viney (oviney)
Assigned to: Nobody/Anonymous (nobody)
Summary: Null pointer exeception when posting multipart form data

Initial Comment:
Upgraded my Grinder 3.4 to 3.8 and got the following exception:


2012-05-09 11:22:56,663 ERROR lingrndctl-0 thread-15 [ run-0 ]: Aborted run: Java exception calling TestRunner
net.grinder.scriptengine.jython.JythonScriptExecutionException: Java exception calling TestRunner
        result = getCommRateRequest.POST(self.URI, self.getCommRateXMLPayload,
        File "/opt/home/testusr1/est/bdt1.1/bin/./lingrndctl-file-store/current/ca/innovapost/test/scenarios/tpoGetCommRate.py", line 108, in getCommRate
        getCommRateResponse = self.getCommRate()
        File "/opt/home/testusr1/est/bdt1.1/bin/./lingrndctl-file-store/current/ca/innovapost/test/scenarios/tpoGetCommRate.py", line 124, in __call__
        self.testRunner()
        File "/opt/home/testusr1/est/bdt1.1/bin/./lingrndctl-file-store/current/ca/innovapost/test/resources/../scenarios/tpoPerformanceScenario1x.py", line 111, in __call__
java.lang.NullPointerException: null
        at net.grinder.plugin.http.HTTPRequest.mergeArrays(HTTPRequest.java:184) ~[grinder-http-3.8.jar:na]
        at net.grinder.plugin.http.HTTPRequest.mergeHeaders(HTTPRequest.java:197) ~[grinder-http-3.8.jar:na]
        at net.grinder.plugin.http.HTTPRequest.access$000(HTTPRequest.java:99) ~[grinder-http-3.8.jar:na]
        at net.grinder.plugin.http.HTTPRequest$AbstractRequest.<init>(HTTPRequest.java:1181) ~[grinder-http-3.8.jar:na]
        at net.grinder.plugin.http.HTTPRequest$8.<init>(HTTPRequest.java:902) ~[grinder-http-3.8.jar:na]
        at net.grinder.plugin.http.HTTPRequest.POST(HTTPRequest.java:902) ~[grinder-http-3.8.jar:na]
        at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_13]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_13]
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186) ~[jython.jar:na]
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204) ~[jython.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:441) ~[jython.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:447) ~[jython.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:154) ~[jython.jar:na]

This problem was fixed in the past - here is the original post http://permalink.gmane.org/gmane.comp.java.grinder.user/8086

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3525156&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/