You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/01/03 21:52:02 UTC

[Bug 58795] New: NPE may occur in GuiPackage#getTestElementCheckSum with some 3rd party plugins

https://bz.apache.org/bugzilla/show_bug.cgi?id=58795

            Bug ID: 58795
           Summary: NPE may occur in GuiPackage#getTestElementCheckSum
                    with some 3rd party plugins
           Product: JMeter
           Version: 2.13
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com

Seen at:

-
http://stackoverflow.com/questions/34574084/class-name-in-junit-request-sampler-disappearing-in-jmeter-2-13

The user is using a 3rd party plugin in developer snapshot but this NPE could
be avoided and more information given to users.


Following stacktrace:
2016/01/03 23:57:51 ERROR - jmeter.gui.GuiPackage: Problem retrieving gui
java.lang.NullPointerException
    at
org.apache.jmeter.gui.GuiPackage.getTestElementCheckSum(GuiPackage.java:853)
    at org.apache.jmeter.gui.GuiPackage.updateCurrentNode(GuiPackage.java:435)
    at org.apache.jmeter.gui.GuiPackage.getCurrentGui(GuiPackage.java:272)
    at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:45)
    at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
    at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58795] NPE may occur in GuiPackage#getTestElementCheckSum with some 3rd party plugins

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sun Jan  3 20:54:29 2016
New Revision: 1722754

URL: http://svn.apache.org/viewvc?rev=1722754&view=rev
Log:
Bug 58795 - NPE may occur in GuiPackage#getTestElementCheckSum with some 3rd
party plugins
Fix NPE
Avoid computing checksum when undoHistory is disabled
Bugzilla Id: 58795

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.