I experienced a similar error. I think its related to bug 23487. It looks like the 
code applied to fix it wasn't applied to the ClientJmeterEngine and thus only effects 
remote testing. I added the following code

 sampleListeners = new ConvertListeners();
        
 //TODO this is a temporary fix - see bug 23487 
  try {
         getTestTree().traverse(sampleListeners);
      }
      catch(IndexOutOfBoundsException e)
      {
        log.warn("Error replacing sample listeners",e);
      }



-----Original Message-----
From: Casadonte, Joe [mailto:[EMAIL PROTECTED]
Sent: 31 August 2004 14:43
To: 'JMeter Users List'
Subject: java.lang.NullPointerException at
org.apache.jmeter.engine.ConvertListeners.addNode


Using JMeter 2.0.1 with 2 remote servers all running jrockit 1.4.2 under
Linux (RH AS2.1, I think).

I am seeing a ton of these errors on startup:

java.lang.NullPointerException
        at
org.apache.jmeter.engine.ConvertListeners.addNode(Ljava.lang.Object;Lorg.apa
che.jorphan.collections.HashTree;)V(ConvertListeners.java:54)
        at
org.apache.jorphan.collections.HashTree.traverseInto(Lorg.apache.jorphan.col
lections.HashTreeTraverser;)V(HashTree.java:1011)
        at
org.apache.jorphan.collections.HashTree.traverse(Lorg.apache.jorphan.collect
ions.HashTreeTraverser;)V(HashTree.java:990)
        at
org.apache.jmeter.engine.ClientJMeterEngine.run()V(ClientJMeterEngine.java:1
15)
        at java.lang.Thread.run()V(Unknown Source)
        at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown
Source)


When I had seen and reported them previously (1.8 or 1.9), the one remote
server that it occurred on would fail to start, but the rest of the test
would run.  Now, the whole test hangs (which I guess is preferable).  I will
get these errors on one server, then the other, then back again, seemingly
at random.  And then it will work.  All this without either changing the
test plan, or restarting the remote servers (i.e. it's intermittent and
random).  If I use a less powerful controller, though, it all works fine,
first time.  Any ideas?

Thanks!

-- 
Regards,


joe
Joe Casadonte
[EMAIL PROTECTED]

1016 West Ninth Avenue
King of Prussia, PA  19406
610-491-3315

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to