You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/05/07 18:42:40 UTC

DO NOT REPLY [Bug 47165] New: Using the same module name in command line mode causes NPE

https://issues.apache.org/bugzilla/show_bug.cgi?id=47165

           Summary: Using the same module name in command line mode causes
                    NPE
           Product: JMeter
           Version: 2.3.2
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: shettyd@gmail.com


Created an attachment (id=23625)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23625)
Sample script to simulate the problem

If the test includes Module Controllers having the same name and the Test is
run on the command line , the test fails with a 
  [jmeter] Uncaught Exception java.lang.NullPointerException. See log file for
details.

The Log 
2009/05/07 09:31:48 ERROR - jmeter.engine.StandardJMeterEngine: Uncaught
exception:  java.lang.NullPointerException
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:976)
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:976)
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:976)
    at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:959)
    at
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:337)
    at java.lang.Thread.run(Thread.java:595)

Note this doesn't happen when running in GUI mode. This does not happen if the
Module Controller is named differently.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 47165] Using the same module name in command line mode causes NPE

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47165


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Sebb <se...@apache.org>  2009-05-07 16:54:43 PST ---
Thanks for the report.

As far as I can tell, I have fixed it in the following change:

URL: http://svn.apache.org/viewvc?rev=772819&view=rev
Log:
Bug 47165 - Using the same module name in command line mode causes NPE

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org