There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Our plugin has maven dependency on github-branch-source plugin. {code:xml} <dependency> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>github-branch-source</artifactId> <version>1.6</version> </dependency> {code} Project dependency tree shows github-branch-source plugin has dependency on github plugin, that fails to load during InjectedTest run. {code} [INFO] +- org.jenkins-ci.plugins:github-branch-source:jar:1.6:compile [INFO] | +- org.jenkins-ci.plugins:github-api:jar:1.75:compile [INFO] | | +- org.kohsuke:github-api:jar:1.72:compile [INFO] | | \- com.squareup.okhttp:okhttp-urlconnection:jar:2.5.0:compile [INFO] | | \- com.squareup.okhttp:okhttp:jar:2.5.0:compile [INFO] | | \- com.squareup.okio:okio:jar:1.6.0:compile [INFO] | \- com.coravy.hudson.plugins.github:github:jar:1.14.0:compile [INFO] | +- org.apache.commons:commons-lang3:jar:3.4:compile [INFO] | \- org.jenkins-ci.plugins:plain-credentials:jar:1.1:compile {code} InjectedTest are run during test run and it fails with the following error. Failure is random so not easy to reproduce. {code:java} Running InjectedTest Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.611 sec <<< FAILURE! - in InjectedTest testPluginActive(org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests) Time elapsed: 0.086 sec <<< ERROR! java.lang.Error: Plugin github failed to start at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive( Caused by: java.lang.NullPointerException Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.824 sec - in io.jenkins.blueocean.service.embedded.PipelineApiTest Results : Tests in error: PluginAutomaticTestBuilder$OtherTests.testPluginActive:92 Plugin github faile... {code}
    via by Vivek Pandey,
    • java.lang.Error: Plugin the.jpl failed to start at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(
    No Bugmate found.