First time here? Check out the FAQ!
x

How do I start latest version (1.4) of JPerfmeter?

0 votes
asked by about JPerfmeter
edited by

When I try to start JPerfmeter 1.4 on Ubuntu LTS 12.04 I get the following error:

$ java -cp jperfmeter.jar:oncrpc.jar com.infineco.Perfmeter -jar jperfmeter.jar 
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:571)
    at java.util.ArrayList.get(ArrayList.java:349)
    at com.infineco.perfmeter.rstat.RstatPlugin.getModel(Unknown Source)
    at com.infineco.perfmeter.rstat.PerfmeterConfig.getModel(Unknown Source)
    at com.infineco.perfmeter.MainFrame.draw(Unknown Source)
    at com.infineco.perfmeter.MainFrame.initialize(Unknown Source)
    at com.infineco.perfmeter.MainFrame.<init>(Unknown Source)
    at com.infineco.Perfmeter.main(Unknown Source)

When I try to start JPerfmeter 1.4 via Java Webstart on Windows 7 with JRE v7 I get the following error(s):

**Application Error
Unable to launch the application.
Name: JPerfmeter
Publisher: infineconsulting
Location: http://www.infineconsulting.com**

Details

Error: Unable to load resource: http://www.infineconsulting.com/lib/jperfmeter.jar

Launch File

<jnlp codebase="http://www.infineconsulting.com">
  <information>
    <vendor>infineconsulting</vendor>
    <title>JPerfmeter</title>
    <icon href="/images/favico.png"/>
    <icon kind="splash" href="jperfmeter.png"/>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.4+"/>
    <jar href="lib/jperfmeter.jar"/>
    <jar href="lib/oncrpc.jar"/>
  </resources>
  <application-desc main-class="com.infineco.Perfmeter"/>
</jnlp>

Exception

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.infineconsulting.com/lib/jperfmeter.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Wrapped Exception

java.io.FileNotFoundException: http://www.infineconsulting.com/lib/jperfmeter.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

1 Answer

0 votes
answered by (309k points)
edited by

I encountered the same error when starting the application from command prompt or Java WebStart. According to the errors presented above, it seems the application is not properly coded because it's missing important resources. For the WebStart version, the Java application can't find the JAR file although it's defined in the JNLP launcher file. I recommend on getting in touch with the developer to ask for information related to this problem. As you can see, it's not a specific error which means that there is something wrong with the way the program was coded.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...