Thank you Mike!
I downloaded Oct 7th nightly src & built with Ant on windows. And My windows
system is
having JDK1.3 installed on it. I was able to run my testplan from windows
without any
error.
D:\jakarta-tomcat-4.0.3\common\lib>java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
I copied the same jmeter build from windows to linux system. When I run the
testplan from command prompt
on linux box, it is giving that error I mentioned. Yes, X windows is not
installed on the box, but why does JMeter
need X-windows when it is running in non-gui mode?. Linux box also have JDK
1.3 installed on it.
--thanx
Venkat
----- Original Message -----
From: "Mike Stover" <[EMAIL PROTECTED]>
To: "Venkat Dosapati" <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 8:33 PM
Subject: Re: InvocationException && ConcurrentModificationException
> I would guess you don't have X windows installed or running? Also, that
> concurrentModified exception looks like an old problem. Please verify
that you
> have the Oct 7th build and that it built, compiled, and installed
correctly. And lastly,
> I think the latest JMeter code requires JDK 1.4.x
>
> -Mike
>
> On 8 Oct 2002 at 12:53, Venkat Dosapati wrote:
>
> > Hello Guys:
> >
> > I'm getting this error when I run JMeter in non-GUI mode:
> >
> >
> > ## Begin Debug Info##
> >
> > [root@mymachine bin]# java -jar ApacheJMeter.jar -n -t mytestplan.jmx -l
> > results.jtl
> > Created the tree successfully
> > Starting the test
> > Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method
getUserTextFont and args { : java.lang.reflect.InvocationTargetException
> > java.lang.Exception: Stack trace
> > at java.lang.Thread.dumpStack(Thread.java:993)
> > at
javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)
> > at javax.swing.UIDefaults.get(UIDefaults.java:145)
> > at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)
> > at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
> > at javax.swing.UIManager.getFont(UIManager.java:456)
> > at
javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:207)
> > at
javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:561)
> > at
javax.swing.plaf.metal.MetalTextFieldUI.installUI(MetalTextFieldUI.java:41)
> > at javax.swing.JComponent.setUI(JComponent.java:322)
> > at
javax.swing.text.JTextComponent.setUI(JTextComponent.java:249)
> > at
javax.swing.text.JTextComponent.updateUI(JTextComponent.java:259)
> > at
javax.swing.text.JTextComponent.<init>(JTextComponent.java:233)
> > at javax.swing.JTextField.<init>(JTextField.java:203)
> > at javax.swing.JTextField.<init>(JTextField.java:171)
> > at org.apache.jmeter.gui.NamePanel.<init>(NamePanel.java:76)
> > at
org.apache.jmeter.gui.AbstractJMeterGuiComponent.<init>(AbstractJMeterGuiCom
ponent.java:22)
> > at
org.apache.jmeter.assertions.gui.AbstractAssertionGui.<init>(AbstractAsserti
onGui.java:21)
> > at
org.apache.jmeter.assertions.gui.AssertionGui.<init>(AssertionGui.java:115)
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Class.java:237)
> > at
org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:454)
> > at
org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:154)
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Class.java:195)
> > at
org.apache.jmeter.util.ClassFinder.findAllSubclassesOneClass(ClassFinder.jav
a:585)
> > at
org.apache.jmeter.util.ClassFinder.findAllSubclasses(ClassFinder.java:509)
> > at
org.apache.jmeter.util.ClassFinder.findClassesThatExtend(ClassFinder.java:19
4)
> > at
org.apache.jmeter.functions.CompoundFunction.<clinit>(CompoundFunction.java:
49)
> > at
org.apache.jmeter.functions.ValueReplacer.<init>(ValueReplacer.java:28)
> > at
org.apache.jmeter.engine.PreCompiler.<init>(PreCompiler.java:28)
> > at
org.apache.jmeter.engine.StandardJMeterEngine.compileTree(StandardJMeterEngi
ne.java:132)
> > at
org.apache.jmeter.engine.StandardJMeterEngine.runTest(StandardJMeterEngine.j
ava:145)
> > at org.apache.jmeter.JMeter.run(JMeter.java:350)
> > at org.apache.jmeter.JMeter.startNonGui(JMeter.java:321)
> > at org.apache.jmeter.JMeter.start(JMeter.java:241)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at org.apache.jmeter.NewDriver.main(NewDriver.java:181)
> > java.util.ConcurrentModificationException
> > at java.util.HashMap$HashIterator.next(HashMap.java:736)
> > at
org.apache.jmeter.threads.TestCompiler.hasFunctions(TestCompiler.java:491)
> > at
org.apache.jmeter.threads.TestCompiler.saveSamplerConfigs(TestCompiler.java:
189)
> > at
org.apache.jmeter.threads.TestCompiler.subtractNode(TestCompiler.java:154)
> > at
org.apache.jmeter.util.ListedHashTree.traverseInto(ListedHashTree.java:170)
> > at
org.apache.jmeter.util.ListedHashTree.traverseInto(ListedHashTree.java:164)
> > at
org.apache.jmeter.util.ListedHashTree.traverseInto(ListedHashTree.java:164)
> > at
org.apache.jmeter.util.ListedHashTree.traverseInto(ListedHashTree.java:164)
> > at
org.apache.jmeter.util.ListedHashTree.traverse(ListedHashTree.java:153)
> > at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:126)
> > at java.lang.Thread.run(Thread.java:484)
> >
> > ## End of Debug Info ##
> >
> >
> > My Environment:
> > OS:
> > Red Hat Linux release 7.1 (Seawolf)
> > Kernel 2.4.2-2 on an i686
> > JDK:
> > java version "1.3.1_01"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
> > Java HotSpot(TM) Server VM (build 1.3.1_01, mixed mode)
> > JMeter built from 07-October-2002 CVS repository
> >
> >
> >
> > ----tnx
> > Venkat
> >
> >
>
>
>
> --
> Michael Stover
> [EMAIL PROTECTED]
> Yahoo IM: mstover_ya
> ICQ: 152975688
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>