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 227971 - NoClassDefFoundError: org/apache/commons/httpclient/Header: Jmeter to use Apache OSGi bundle
Summary: NoClassDefFoundError: org/apache/commons/httpclient/Header: Jmeter to use Apa...
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-26 21:21 UTC by javydreamercsw
Modified: 2015-02-04 03:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197814


Attachments
stacktrace (1.96 KB, text/plain)
2013-03-26 21:21 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2013-03-26 21:21:55 UTC
Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
javydreamercsw: Not sure what triggered this.




Stacktrace: 
java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Header
   at org.apache.commons.httpclient.HttpMethodBase.setRequestHeader(HttpMethodBase.java:463)
   at com.atlassian.connector.eclipse.internal.jira.core.service.web.JiraWebSession.login(JiraWebSession.java:261)
   at com.atlassian.connector.eclipse.internal.jira.core.service.web.JiraWebSession.doInSession(JiraWebSession.java:120)
   at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssClient.doInSession(JiraRssClient.java:45)
   at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssClient.findIssues(JiraRssClient.java:66)
   at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.findIssues(JiraClient.java:265)
Comment 1 javydreamercsw 2013-03-26 21:21:57 UTC
Created attachment 133103 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-06-04 06:59:36 UTC
A class between jmeter module (Tomáš H.) and JIRA (Tomáš S.):

WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.apache.commons.httpclient.HttpMethodBase arbitrarily from one of NetbinoxLoader delegating to org.apache.commons.httpclient_3.1.0 and ModuleCL@105aa49[org.apache.jmeter.module] starting from SystemClassLoader[486 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.jira.query.QueryController$QueryTask
java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Header


as JIRA is using separate OSGi bundle, it seems to me to do the right thing. Thus assigning to Tomáš Hůrka to change jmeter module to share the library as well.
Comment 3 Quality Engineering 2015-02-04 03:33:16 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.