This was in version 1.8. Downloaded and unzipped. Modified jmeter.bat to match my environment as follows set PATH=C:/devtools/jdk1.4/jre/bin set JAVA_HOME=C:/devtools/jdk1.4/ if not "%OS%"=="Windows_NT" goto win9xStart :winNTStart @setlocal etc, etc, When I run jmeter.bat I get the following stack trace: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:30) at sun.reflect.InflatableMethodAccessorImpl.invoke (InflatableMethodAccessorImpl.java:48) at java.lang.reflect.Method.invoke(Method.java:306) at org.apache.jmeter.NewDriver.main(NewDriver.java:165) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.jmeter.gui.action.ActionRouter.populateCommandMap (ActionRouter.java:185) at org.apache.jmeter.gui.action.ActionRouter.getInstance (ActionRouter.java:220) at org.apache.jmeter.JMeter.startGui(JMeter.java:185) at org.apache.jmeter.JMeter.start(JMeter.java:237) ... 5 more Caused by: java.lang.NullPointerException at org.apache.jmeter.gui.action.Help.<clinit>(Help.java:51) ... 11 more
jmeter.log contained the following. Looks like something is grabbing the current path and pointing the slash the wrong way? 10/23/2002 3:09:42 PM ERROR - jmeter.gui: Couldn't load file://C:\devtools\jMeter\jakarta- jmeter/docs/usermanual/component_reference.html java.net.UnknownHostException: C at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:140) at java.net.Socket.connect(Socket.java:391) at java.net.Socket.connect(Socket.java:349) at sun.net.NetworkClient.doConnect(NetworkClient.java:142) at sun.net.NetworkClient.openServer(NetworkClient.java:121) at sun.net.ftp.FtpClient.openServer(FtpClient.java:390) at sun.net.ftp.FtpClient.<init>(FtpClient.java:657) at sun.net.www.protocol.ftp.FtpURLConnection.connect (FtpURLConnection.java:178) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream (FtpURLConnection.java:260) at javax.swing.JEditorPane.getStream(JEditorPane.java:702) at javax.swing.JEditorPane.setPage(JEditorPane.java:394) at javax.swing.JEditorPane.setPage(JEditorPane.java:773) at org.apache.jmeter.gui.action.Help.<clinit>(Help.java:49) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.jmeter.gui.action.ActionRouter.populateCommandMap (ActionRouter.java:193) at org.apache.jmeter.gui.action.ActionRouter.getInstance (ActionRouter.java:231) at org.apache.jmeter.JMeter.startGui(JMeter.java:197) at org.apache.jmeter.JMeter.start(JMeter.java:250) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:30) at sun.reflect.InflatableMethodAccessorImpl.invoke (InflatableMethodAccessorImpl.java:48) at java.lang.reflect.Method.invoke(Method.java:306) at org.apache.jmeter.NewDriver.main(NewDriver.java:173)
*** Bug 13995 has been marked as a duplicate of this bug. ***
I think this is fixible if url is file:///C:\devtools\jMeter\etc Note the 3 slashes.
I experienced this same bug on Windows NT with SDK 1.4.0. I thought I tracked the problem down to the Help class: private static String helpPage = "file://" + JMeterUtils.getJMeterHome() + "/docs/usermanual/component_reference.html"; I wasn't clear as to why the file:// was added to form: file://C:\devtools\jMeter\jakarta- I intended to hard code this html file path so I decided to first recompile jmeter and had some trouble. We resolved the issue encountered by using ant with the same build.xml instead of the "build.bat install" system. Following that, the JMeter 1.8 GUI loaded up properly for the first time.
I've changed the file:// to file:/// (which IS the correct form). Whether this actually fixes the bug or not, I can't really tell. I'm setting this as FIXED for the time being, but should be tested (by someone running on Windows) before closing the bug.
Bulk-editing to close all bugs reported fixed by 1.8.1.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/959