jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Jmeter version 2.03 not working on linux box
Date Mon, 30 May 2005 15:54:18 GMT
On 5/30/05, Gino Gargiulo <Gino.Gargiulo@alea.ca> wrote:
> Ok I modified my script, and yes it appears the same on my windows
> boxes, but now in the jmeter.log file I am getting the following error:
> 
> 
> 
> 2005/05/30 08:27:45 ERROR - jmeter.util.JsseSSLManager: Exception
> occurred java.lang.NullPointerException
>         at
> org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:145)
>         at
> org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:171
> )
>         at
> org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:99)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
> ccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
> tructorAccessorImpl.java:27)
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at
> org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:280)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP
> Sampler.java:145)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
> ava:462)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:590)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:578)
>         at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281)
>         at java.lang.Thread.run(Thread.java:534)
> 
> 2005/05/30 08:27:45 ERROR - jmeter.util.SSLManager:
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
> ccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
> tructorAccessorImpl.java:27)
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at
> org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:280)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP
> Sampler.java:145)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
> ava:462)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:590)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:578)
>         at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.IllegalStateException: SSLContextImpl is not
> initialized
>         at
> com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Dasho
> A6275)
>         at javax.net.ssl.SSLContext.getSocketFactory(DashoA6275)
>         at
> com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(DashoA6275)
>         at com.sun.net.ssl.SSLContext.getSocketFactory(DashoA6275)
>         at
> org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:206
> )
>         at
> org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:99)
>         ... 11 more
> 
> 2005/05/30 08:27:45 WARN  - jmeter.protocol.http.sampler.HTTPSampler:

Note:

> You may have forgotten to set the ssl.provide
> r property in jmeter.properties java.lang.NullPointerException

Looks like this is the problem, or related to it.
Have you set up SSL identically on both systems?

>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP
> Sampler.java:145)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
> ava:462)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:590)
>         at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:578)
>         at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281)
>         at java.lang.Thread.run(Thread.java:534)
> 
> regards
> Gino
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: May 27, 2005 3:47 PM
> To: JMeter Users List
> Subject: Fwd: Jmeter version 2.03 not working on linux box
> 
> ---------- Forwarded message ----------
> From: sebb <sebbaz@gmail.com>
> Date: May 27, 2005 11:46 PM
> Subject: Re: Jmeter version 2.03 not working on linux box
> To: Gino Gargiulo <Gino.Gargiulo@alea.ca>
> 
> 
> On 5/27/05, Gino Gargiulo <Gino.Gargiulo@alea.ca> wrote:
> > Here is my jmeter log file after the run
> >
> > 2005/05/27 15:32:57 INFO  - jmeter.JMeter: Version 2.0.3
> > 2005/05/27 15:32:57 INFO  - jmeter.JMeter: java.version=1.4.2_04
> > 2005/05/27 15:32:57 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The
> > Apache Software Foundation
> > 2005/05/27 15:32:57 INFO  - jmeter.JMeter: Loading file:
> > StraightBet_MONEY_06_RND_5.jmx
> > 2005/05/27 15:32:58 ERROR - jmeter.save.SaveService: Problem loading
> > part of file java.lang.ClassNotFoundException:
> > org.apache.jmeter.protocol.http.sampler.httPSampler
> 
> This is not a valid class name - it should be
> 
> org.apache.jmeter.protocol.http.sampler.HTTPSampler
> 
> Looks like your jmx file is corrupt - or perhaps the
> upgrade.properties file is corrupt.
> 
> Try comparing them with the ones on Windows.
> 
> S.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message