You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2007/08/08 21:11:06 UTC

DO NOT REPLY [Bug 43063] New: - Exception in thread "main" while attempting to start jmeter.bat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063

           Summary: Exception in thread "main" while attempting to start
                    jmeter.bat
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: asfbugzilla.db@wfredk.com


C:\Programs\Java\JAKART~1.3RC\bin > jmeter
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jorphan/ut
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:181)

Wed 08/08/2007 13:38:37.20 Microsoft Windows XP [Version 5.1.2600]

This error occurred when I first installed JMeter (jakarta-jmeter-2.3RC3).  I
poked and prodded, did some reinstallation, tried different things, and suddenly
it worked, without my being able to explain why.  It worked for a couple of
days.  I made the mistake of hitting the "close" button on the DOS box JMeter
was running in, which also took down the GUI window I had test results displayed
in.  When I tried to run JMeter again, the error (above) had returned.  I've
reinstalled Java (JDK and JRE), and JMeter, and this problem won't go away.

The error message is **TOTALLY** meaningless:  What is failing?  Why?  I've got
more than 30 years of programming experience, and this stack dump leaves me
completely baffled!

Summary of what I've done:

brand new development system, Sony Vaio VGN-BX660P 1GB RAM Intel Core2 1.82GHz
installed WAMP 1.7.2
...
installed jdk-6u2-windows-i586-p.exe JDK 6 Update 2: jdk1.6.0_02, jre1.6.0_02
JAVA_HOME=C:\Programs\Java\jre1.6.0_02 (manually set: not done by any
installation programs; no spaces in path)

I tried to figure out what was meant in the "2.3 Installation" section of
http://jakarta.apache.org/jmeter/usermanual/get-started.html where it says
"simply unzip the zip/tar file into the directory where you want JMeter to be
installed" and first unzipped the archive into a temporary directory, then
copied the contents of the bin, etc. directories to the corresponding JRE ones
(since that's where I'd set JAVA_HOME to be).

Once I figured out where jmeter.bat was, I opened a DOS box in that directory
and tried running "jmeter" - which returned the error output illustrated at the
top of this bug report.  As indicated above, I tried hacking at the problem,
reinstalling stuff, rebooting, reinstalling more - and suddenly it started
working, for reasons unknown.

When the bug returned, I tried reinstalling Java, discovered there were at least
two copies on the machine, and deinstalled both Java and JMeter.  In doing the
reinstall, I put Java back in the same place I'd had it before, and unpacked
JMeter into a separate directory, so its files are no longer mixed in with the
JRE ones.  I'm still getting the same error, and cannot proceed with *ANY* testing.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43063] - Exception in thread "main" while attempting to start jmeter.bat

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43063] - Exception in thread "main" while attempting to start jmeter.bat

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From sebb@apache.org  2007-08-10 22:43 -------
I closed this bug because JMeter works happily on other systems with the same 
software: it is therefore not a JMeter bug.

As to how to solve your particular problem, all I can suggest is trying 
different versions of Java, and reinstalling JMeter under C:\ or D:\ (etc).

Also check the differences between systems that work and ones that don't, 
particularly environment variables.

You may also need to remove and re-install Java, especially if you have added 
JMeter to its directory structure.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43063] - Exception in thread "main" while attempting to start jmeter.bat

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063


asfbugzilla.db@wfredk.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |critical
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From asfbugzilla.db@wfredk.com  2007-08-10 14:46 -------
Please see the discussion in the JMeter Users mailing list for the thread
entitled "JMeter startup failure on new XP machine, problem went away and came
back" - I have been experimenting with a *lot* of configurations and factors,
and have been unable to get JMeter restarted on this particular machine.  I've
also done extensive research on the Web looking for solutions, but have been
unable to come up with anything useful.

Is this perhaps a compatibility between this JMeter version and JRE 1.6.0_02 on
a Sony Vaio running XP SP2 build 2600?  (JMeter seems to work correctly on other
machines here, and it *did* work for a while on this machine - which leaves me
quite baffled about why it doesn't work _now_!)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43063] - Exception in thread "main" while attempting to start jmeter.bat

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063





------- Additional Comments From asfbugzilla.db@wfredk.com  2007-08-08 12:15 -------
C:\Programs\Java\JAKART~1.3RC\bin > jmeter
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jorphan/ut
il/JMeterException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:181)

Wed 08/08/2007 15:12:38.48 Microsoft Windows XP [Version 5.1.2600]

I had thought that setting the DOS window width to more than 80 characters would
cause the first line to not wrap.  Instead, winDoze just discarded the text that
was supposed to be beyond the 80th column.  This supplemental text shows the
rest of the first error line.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 43063] - Exception in thread "main" while attempting to start jmeter.bat

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43063





------- Additional Comments From asfbugzilla.db@wfredk.com  2007-08-10 14:48 -------
What other tests should I be running?  Where else should I look for suggestions
about how to resolve this issue?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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