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

             Bug #: 51869
           Summary: NullPointer Exception when using Include Controller
           Product: JMeter
           Version: 2.5
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 27565
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27565
Contains a zip file of the two test plans files.

I'm getting the following exception when including a Test Fragment via an
include controller:

2011/09/22 11:21:46 ERROR - jmeter.gui.action.ActionRouter: 
java.lang.NullPointerException
    at
org.apache.jmeter.control.IncludeController.clone(IncludeController.java:81)
    at org.apache.jmeter.gui.action.CheckDirty.addNode(CheckDirty.java:133)
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:986)
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:987)
    at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:969)
    at org.apache.jmeter.gui.action.CheckDirty.doAction(CheckDirty.java:88)
    at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:82)
    at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Sour

I'm attaching a zip file with the following:

[-]The test plan using the include controller (Use.Include.jmx)
[-]The test fragment (Test.Fragment.jmx)

I've debugged the problem and the fix is pretty simple. Is there any way I can
submit the patch?

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to