I just want to say a huge THANK YOU to this forum. The timeliness of this post could not have been better.
We are now operational! Y'all rock! Carl On 10/23/09 10:45 AM, "sebb" <[email protected]> wrote: > On 23/10/2009, Jason James <[email protected]> wrote: >> Hi Sebb (and anyone else reading this looking for help). >> >> After installing jre1.6 from Sun and pointing my java bin to >> /usr/local/jre1.6/bin/java that has fixed it >> >> java 1.4 completely failed to work. > > Note for the archives - this was not Sun Java 1.4 (which does work > with JMeter 2.3.4). > >> jre 1.6 completely fixed this problem. >> >> Many thanks for your help!! >> >> All the best, >> >> Jas >> >> 2009/10/23 sebb <[email protected]>: >>> On 23/10/2009, Jason James <[email protected]> wrote: >>>> Hi Seb >>>> >>>> Ok thanks, so this (the logs) tells us the nature of the errors, but >>>> ... whats the fix? I am not sure what I am supposed to do with you >>>> point this out.... >>> >>> In this case, use a different JVM, as the stack trace shows the >>> problem is very unlikely to be a JMeter problem. >>> >>>> >>>> Thanks, >>>> Jas >>>> >>>> >>>> >>>> 2009/10/23 sebb <[email protected]>: >>>>> On 23/10/2009, Jason James <[email protected]> wrote: >>>>>> Hi, >>>>>> >>>>>> Thanks for the quick reply ! >>>>>> >>>>>> Which JVM would you recommend? >>>>> >>>>> Whatever works for you. >>>>> >>>>> Although JMeter 2.3.4 will run with Java 1.4, it will generally run >>>>> better with Java 1.5 or later. >>>>> >>>>>> when you ask for stack trace do you mean the output of jmeter.log...? >>>>> >>>>> That's useful - but I actually meant (see below) ... >>>>> >>>>>> [r...@ws-dev-03 bin]# cat jmeter.log >>>>>> 2009/10/23 13:33:12 INFO - jmeter.util.JMeterUtils: Setting Locale to >>>>>> en_US >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Loading user properties >>>>>> from: /root/jason/jakarta-jmeter-2.3.4/bin/user.properties >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Loading system properties >>>>>> from: /root/jason/jakarta-jmeter-2.3.4/bin/system.properties >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Copyright (c) 1998-2009 The >>>>>> Apache Software Foundation >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Version 2.3.4 r785646 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: java.version=1.4.2 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: java.vm.name=GNU libgcj >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: os.name=Linux >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: os.arch=i386 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: >>>>>> os.version=2.6.18-128.1.10.el5 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: file.encoding=UTF-8 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Default Locale=en (US) >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: JMeter Locale=en (US) >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: >>>>>> JMeterHome=/root/jason/jakarta-jmeter-2.3.4 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: user.dir >>>>>> =/root/jason/jakarta-jmeter-2.3.4/bin >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: PWD >>>>>> =/root/jason/jakarta-jmeter-2.3.4/bin >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: IP: 127.0.0.1 Name: >>>>>> ws-dev-03.wildscreen.org.uk FullName: ws-dev-03.wildscreen.org.uk >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Set http[s].proxyHost: >>>>>> 10.1.3.207 Port: 80 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.services.FileServer: Default >>>>>> base=/root/jason/jakarta-jmeter-2.3.4/bin >>>>>> 2009/10/23 13:33:12 INFO - jmeter.services.FileServer: Set new >>>>>> base=/root/jason/jakarta-jmeter-2.3.4/bin/examples >>>>>> 2009/10/23 13:33:12 INFO - jmeter.JMeter: Loading file: >>>>>> examples/ThreadGroup-uwe7.jmx >>>>>> 2009/10/23 13:33:12 INFO - jmeter.save.SaveService: Testplan (JMX) >>>>>> version: 2.2. Testlog (JTL) version: 2.2 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.save.SaveService: Using SaveService >>>>>> properties file encoding UTF-8 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.save.SaveService: Using SaveService >>>>>> properties version 2.1 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.save.SaveService: Using SaveService >>>>>> properties file version 697317 >>>>>> 2009/10/23 13:33:12 INFO - jmeter.save.SaveService: All converter >>>>>> versions present and correct >>>>>> 2009/10/23 13:33:12 INFO - jmeter.samplers.SampleResult: Note: Sample >>>>>> TimeStamps are START times >>>>>> 2009/10/23 13:33:12 INFO - jmeter.samplers.SampleResult: >>>>>> sampleresult.default.encoding is set to ISO-8859-1 >>>>>> 2009/10/23 13:33:12 ERROR - >>>>>> jmeter.save.converters.TestElementConverter: TestElement not >>>>>> instantiable: class org.apache.jmeter.config.ConfigTestElement >>>>>> java.lang.IllegalArgumentException >>>>>> at java.nio.Buffer.limit(libgcj.so.7rh) >>>>>> at gnu.gcj.convert.BytesToCharsetAdaptor.read(libgcj.so.7rh) >>>>>> at java.io.InputStreamReader.refill(libgcj.so.7rh) >>>>>> at java.io.InputStreamReader.read(libgcj.so.7rh) >>>>>> at java.io.BufferedReader.read(libgcj.so.7rh) >>>>>> at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2992) >>>>>> at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) >>>>>> at org.xmlpull.mxp1.MXParser.parseAttribute(MXParser.java:2026) >>>>>> at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1799) >>>>>> at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1127) >>>>>> at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) >>>>>> at >>>>>> com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63>>>>>> ) >>>>>> at >>>>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(Abstract >>>>>> PullReader.java:137) >>>>>> at >>>>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPull >>>>>> Reader.java:124) >>>>>> at >>>>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(Abstra >>>>>> ctPullReader.java:78) >>>>>> at >>>>>> com.thoughtworks.xstream.io.ReaderWrapper.hasMoreChildren(ReaderWrapper.j >>>>>> ava:32) >>>>>> at >>>>>> org.apache.jmeter.save.converters.TestElementConverter.unmarshal(TestElem >>>>>> entConverter.java:107) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.j >>>>>> ava:82) >>>>>> at >>>>>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstr >>>>>> actReferenceUnmarshaller.java:63) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:76) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:60) >>>>>> at >>>>>> com.thoughtworks.xstream.converters.collections.AbstractCollectionConvert >>>>>> er.readItem(AbstractCollectionConverter.java:71) >>>>>> at >>>>>> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeCon >>>>>> verter.java:81) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.j >>>>>> ava:82) >>>>>> at >>>>>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstr >>>>>> actReferenceUnmarshaller.java:63) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:76) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:60) >>>>>> at >>>>>> com.thoughtworks.xstream.converters.collections.AbstractCollectionConvert >>>>>> er.readItem(AbstractCollectionConverter.java:71) >>>>>> at >>>>>> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeCon >>>>>> verter.java:81) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.j >>>>>> ava:82) >>>>>> at >>>>>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstr >>>>>> actReferenceUnmarshaller.java:63) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:76) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:60) >>>>>> at >>>>>> com.thoughtworks.xstream.converters.collections.AbstractCollectionConvert >>>>>> er.readItem(AbstractCollectionConverter.java:71) >>>>>> at >>>>>> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeCon >>>>>> verter.java:81) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.j >>>>>> ava:82) >>>>>> at >>>>>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstr >>>>>> actReferenceUnmarshaller.java:63) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:76) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:60) >>>>>> at >>>>>> org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConv >>>>>> erter.java:96) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.j >>>>>> ava:82) >>>>>> at >>>>>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Abstr >>>>>> actReferenceUnmarshaller.java:63) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:76) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarsh >>>>>> aller.java:60) >>>>>> at >>>>>> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.jav >>>>>> a:137) >>>>>> at >>>>>> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(A >>>>>> bstractTreeMarshallingStrategy.java:33) >>>>>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923) >>>>>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909) >>>>>> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853) >>>>>> at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:450) >>>>>> at org.apache.jmeter.JMeter.runNonGui(JMeter.java:720) >>>>>> at org.apache.jmeter.JMeter.startNonGui(JMeter.java:700) >>>>>> at org.apache.jmeter.JMeter.start(JMeter.java:353) >>>>>> at java.lang.reflect.Method.invoke(libgcj.so.7rh) >>>>>> at org.apache.jmeter.NewDriver.main(NewDriver.java:207) >>>>>> >>>>>> 2009/10/23 13:33:12 ERROR - jmeter.save.SaveService: Conversion error >>>>>> com.thoughtworks.xstream.converters.ConversionException: null : null >>>>>> ---- Debugging information ---- >>>>>> cause-exception : java.lang.IllegalArgumentException >>>>>> cause-message : null >>>>>> class : org.apache.jorphan.collections.ListedHashTree >>>>>> required-type : org.apache.jorphan.collections.ListedHashTree >>>>>> path : >>>>>> /jmeterTestPlan/hashTree/hashTree/hashTree/ConfigTestElement >>>>>> line number : 30 >>>>>> ------------------------------- : null : null >>>>>> ---- Debugging information ---- >>>>>> cause-exception : java.lang.IllegalArgumentException >>>>>> cause-message : null >>>>>> class : org.apache.jorphan.collections.ListedHashTree >>>>>> required-type : org.apache.jorphan.collections.ListedHashTree >>>>>> path : >>>>>> /jmeterTestPlan/hashTree/hashTree/hashTree/ConfigTestElement >>>>>> line number : 30 >>>>>> ------------------------------- >>>>>> message : null : null >>>>>> ---- Debugging information ---- >>>>>> cause-exception : java.lang.IllegalArgumentException >>>>>> cause-message : null >>>>>> class : org.apache.jorphan.collections.ListedHashTree >>>>>> required-type : org.apache.jorphan.collections.ListedHashTree >>>>>> path : >>>>>> /jmeterTestPlan/hashTree/hashTree/hashTree/ConfigTestElement >>>>>> line number : 30 >>>>>> ------------------------------- >>>>>> cause-exception : >>>>>> com.thoughtworks.xstream.converters.ConversionException >>>>>> cause-message : null : null >>>>>> first-jmeter-class : >>>>>> >>>>>> org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeCon >>>>>> verter.java:81) >>>>>> class : org.apache.jmeter.save.ScriptWrapper >>>>>> required-type : org.apache.jorphan.collections.ListedHashTree >>>>>> path : >>>>>> /jmeterTestPlan/hashTree/hashTree/hashTree/ConfigTestElement >>>>>> line number : 30 >>>>>> ------------------------------- >>>>>> 2009/10/23 13:33:12 ERROR - jmeter.JMeter: >>>>>> java.lang.NullPointerException >>>>>> at >>>>>> org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.jav >>>>>> a:91) >>>>>> at org.apache.jmeter.JMeter.runNonGui(JMeter.java:724) >>>>>> at org.apache.jmeter.JMeter.startNonGui(JMeter.java:700) >>>>>> at org.apache.jmeter.JMeter.start(JMeter.java:353) >>>>>> at java.lang.reflect.Method.invoke(libgcj.so.7rh) >>>>>> at org.apache.jmeter.NewDriver.main(NewDriver.java:207) >>>>> >>>>> ... the above, which is the stack trace for the NPE. >>>>> >>>>> In this case, however, the NPE is not the original cause of the >>>>> problem, it's only a symptom, so the full jmeter log is needed. This >>>>> shows that the original problem is the >>>>> >>>>> java.lang.IllegalArgumentException >>>>> >>>>> [which is followed by its own stack trace] >>>>> >>>>>> Thanks, >>>>>> Jas >>>>>> >>>>>> 2009/10/23 sebb <[email protected]>: >>>>>> >>>>>>> On 23/10/2009, Jason James <[email protected]> wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> [r...@mymachine3 bin]# java --version >>>>>>>> java version "1.4.2" >>>>>>>> gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46) >>>>>>>> >>>>>>>> Copyright (C) 2006 Free Software Foundation, Inc. >>>>>>>> This is free software; see the source for copying conditions. There >>>>>>>> is NO >>>>>>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >>>>>>>> PURPOSE. >>>>>>> >>>>>>> See the above disclaimer - that JVM has been known to have problems >>>>>>> running JMeter. >>>>>>> >>>>>>>> [r...@mymachine bin]# pwd >>>>>>>> /root/jason/jakarta-jmeter-2.3.4/bin >>>>>>>> [r...@mymachine bin]# ll jmeter >>>>>>>> -rwxr-xr-x 1 root root 4085 Jun 17 16:11 jmeter >>>>>>>> [r...@mymachine3 bin]# ./jmeter -n -t examples/ThreadGroup-uwe7.jmx -H >>>>>>>> 10.1.x.y -P 80 >>>>>>>> Error in NonGUIDriver java.lang.NullPointerException >>>>>>> >>>>>>> What is the rest of the stack trace? >>>>>>> >>>>>>>> >>>>>>>> [where x and y are real numbers] >>>>>>>> >>>>>>>> Anyone explain to me why I am being dumb? :) >>>>>>> >>>>>>> Probably just using the wrong JVM. >>>>>>> >>>>>>>> Thanks in advance, >>>>>>>> Jas >>>>>>>> >>>>>>>> --------------------------------------------------------------------- >>>>>>>> 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] >>>>>>> >>>>>>> >>>>>> >>>> >>>> --------------------------------------------------------------------- >>>> 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] >>> >>> >> >> --------------------------------------------------------------------- >> 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

