Summary: | JMSSampler : NullPointerException is thrown when JNDI underlying implementation of JMS provider does not comply with Context.getEnvironment contract | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Jayesh Guru <jayeshguru81> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.6 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Jayesh Guru
2014-02-27 22:55:58 UTC
Getting NullPointerException while trying to run JMS Point to Point for my application. I have put all MQ jars in lib directory and also required Discovery Jars for application. Date: Fri Feb 28 22:53:29 2014 New Revision: 1573105 URL: http://svn.apache.org/r1573105 Log: Bug 56198 - JMSSampler : NullPointerException is thrown when log level is DEBUG and JNDI underlying implementation of JMS provider does not comply with Context.getEnvironment contract Bugzilla Id: 56198 Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java jmeter/trunk/xdocs/changes.xml Date: Fri Feb 28 23:06:52 2014 New Revision: 1573108 URL: http://svn.apache.org/r1573108 Log: Bug 56198 - JMSSampler : NullPointerException is thrown when JNDI underlying implementation of JMS provider does not comply with Context.getEnvironment contract Apply check on every call of Context.getEnvironment Bugzilla Id: 56198 Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/Utils.java jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java jmeter/trunk/xdocs/changes.xml See this also: http://stackoverflow.com/questions/20924428/why-initialcontext-throws-out-naming-exception-when-call-getenvironment This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3331 |