Skip to content

Instantly share code, notes, and snippets.

@martinda
Created February 3, 2016 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinda/e09a688178457ef91137 to your computer and use it in GitHub Desktop.
Save martinda/e09a688178457ef91137 to your computer and use it in GitHub Desktop.
NoSuchField FIREFOX_2 running Jenkins unit test with JenkinsRule
java.lang.NoSuchFieldError: FIREFOX_2
at org.jvnet.hudson.test.JenkinsRule$WebClient.<init>(JenkinsRule.java:1842)
at org.jvnet.hudson.test.JenkinsRule.createWebClient(JenkinsRule.java:1829)
at org.jvnet.hudson.test.JenkinsRule.configRoundtrip(JenkinsRule.java:1017)
at org.jenkinsci.plugins.workflow.steps.StepConfigTester.configRoundTrip(StepConfigTester.java:65)
at jenkins.plugins.http_request.HttpRequestStepRoundTripTest.configRoundTrip(HttpRequestStepRoundTripTest.java:98)
at jenkins.plugins.http_request.HttpRequestStepRoundTripTest.basicAuthentication(HttpRequestStepRoundTripTest.java:65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment