This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89361 - Starting of JMeter script from the IDE fails with exception
Summary: Starting of JMeter script from the IDE fails with exception
Status: RESOLVED DUPLICATE of bug 89642
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 09:43 UTC by Jiri Sedlacek
Modified: 2008-12-22 20:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.ExceptionInInitializerError (3.58 KB, text/plain)
2006-11-15 09:43 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2006-11-15 09:43:05 UTC
Starting of JMeter script using Run File action fails with 
java.lang.ExceptionInInitializerError (see attachment). This happens when no 
proxy is set in the OS or directly in NetBeans proxy settings.

Currently the only workaround if no proxy is set is to use External Edit action 
and run the script from JMeter.
Comment 1 Jiri Sedlacek 2006-11-15 09:43:43 UTC
Created attachment 36060 [details]
java.lang.ExceptionInInitializerError
Comment 2 Tomas Hurka 2006-11-15 17:14:24 UTC
The problem is that the IDE sets http.proxyHost and http.proxyPort to empty string "" . I believe this is 
incorrect. In case no proxy is set, System.clearProperty(String key) should be used to clear http.proxyHost 
and http.proxyPort. This needs to be changed in (at least) org.netbeans.core.IDESettings.java and 
org.netbeans.modules.autoupdate.Autoupdater.java
Comment 3 Jiri Rechtacek 2006-11-21 18:05:40 UTC
Tomas, reporter, try to check tomorrow build. I guess that fix the issue 89642
should fix this problem as well. If you can approve it then please mark as a
duplicate. Thanks
Comment 4 Tomas Hurka 2006-11-21 19:50:00 UTC
Jirko thanks. It looks like dup of issue #89642.
Comment 5 Tomas Hurka 2006-11-22 10:04:09 UTC
It is duplicate. 

*** This issue has been marked as a duplicate of 89642 ***