You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ravi kumar <an...@yahoo.co.in> on 2005/10/20 09:20:48 UTC

Accesslog sampler null pointer exception

Hi all
 
         I have made some changes to the jmeter as per my requirments.They are working fine.But if i select "AccesslogSampler" from popupmenu I'm getting following exception in the log file.Please help me in solving this issue.
 
waiting for response
 
Ravi
 
 
 
2005/10/20 12:38:09 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log sampler bean info 
2005/10/20 12:38:09 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: [org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2005/10/20 12:38:09 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access log samper bean info init 
2005/10/20 12:38:09 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are END times 
2005/10/20 12:38:09 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
2005/10/20 12:38:15 ERROR - jmeter.gui.action.AddToTree:  java.lang.NullPointerException
 at org.apache.jmeter.testbeans.gui.TestBeanGUI.modifyTestElement(TestBeanGUI.java:223)
 at org.apache.jmeter.testbeans.gui.TestBeanGUI.createTestElement(TestBeanGUI.java:194)
 at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:303)
 at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:63)
 at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
 at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
 at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

		
---------------------------------
 Yahoo! India Matrimony: Find your partner now.

Re: Accesslog sampler null pointer exception

Posted by ravi kumar <an...@yahoo.co.in>.
Hey
 
    Ignore the previous message.I got the solution.
 
 
thanks
 
Ravi

ravi kumar <an...@yahoo.co.in> wrote:
Hi all

I have made some changes to the jmeter as per my requirments.They are working fine.But if i select "AccesslogSampler" from popupmenu I'm getting following exception in the log file.Please help me in solving this issue.

waiting for response

Ravi



2005/10/20 12:38:09 INFO - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log sampler bean info 
2005/10/20 12:38:09 INFO - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: [org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2005/10/20 12:38:09 INFO - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access log samper bean info init 
2005/10/20 12:38:09 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are END times 
2005/10/20 12:38:09 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
2005/10/20 12:38:15 ERROR - jmeter.gui.action.AddToTree: java.lang.NullPointerException
at org.apache.jmeter.testbeans.gui.TestBeanGUI.modifyTestElement(TestBeanGUI.java:223)
at org.apache.jmeter.testbeans.gui.TestBeanGUI.createTestElement(TestBeanGUI.java:194)
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:303)
at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:63)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


---------------------------------
Yahoo! India Matrimony: Find your partner now.
		
---------------------------------
 Yahoo! India Matrimony: Find your partner online.