[JIRA] [xunit-plugin] (JENKINS-31509) xUnit plugin 1.98: java.lang.ClassNotFoundException: org.jenkinsci.remoting.RoleSensitive

30 views
Skip to first unread message

ppolinsky@gmail.com (JIRA)

unread,
Nov 11, 2015, 5:26:02 PM11/11/15
to jenkinsc...@googlegroups.com
Peter Polinsky created an issue
 
Jenkins / Bug JENKINS-31509
xUnit plugin 1.98: java.lang.ClassNotFoundException: org.jenkinsci.remoting.RoleSensitive
Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: xunit-plugin
Created: 11/Nov/15 10:25 PM
Priority: Minor Minor
Reporter: Peter Polinsky

After upgrading to xUnit plugin v1.98, getting the following error:

[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
java.lang.NoClassDefFoundError: org/jenkinsci/remoting/RoleSensitive
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2545)
	at java.lang.Class.getDeclaredConstructors(Class.java:1903)
	at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
	at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
	at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:661)
	at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:871)
	at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798)
	at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:286)
	at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:218)
	at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:994)
	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1027)
	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:990)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1040)
	at org.jenkinsci.plugins.xunit.XUnitProcessor.getXUnitTransformerObject(XUnitProcessor.java:265)
	at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:135)
	at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:81)
	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:112)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
	at hudson.model.Run.execute(Run.java:1784)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)
Caused by: java.lang.ClassNotFoundException: org.jenkinsci.remoting.RoleSensitive
	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	... 27 more

This wasn't happening with xUnit v1.93.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

megaspaz2k7@gmail.com (JIRA)

unread,
Nov 12, 2015, 10:14:01 PM11/12/15
to jenkinsc...@googlegroups.com
Vincent Jong commented on Bug JENKINS-31509
 
Re: xUnit plugin 1.98: java.lang.ClassNotFoundException: org.jenkinsci.remoting.RoleSensitive

We're on Jenkins ver. 1.585. The version of Junit plugin is 1.0.0 if that's necessary.

peter.brown@btinternet.com (JIRA)

unread,
Nov 26, 2015, 8:33:01 AM11/26/15
to jenkinsc...@googlegroups.com

i see the same error being thrown, when trying to parse gTest results (v1.6)
when running v1.97 of XUnit. this used to work in earlier versions.

[xUnit] [INFO] - Processing GoogleTest-1.6


ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
java.lang.NoClassDefFoundError: org/jenkinsci/remoting/RoleSensitive

....

here is some example gTest output that reproduces the failure:

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="1" failures="0" disabled="0" errors="0" time="27.85" name="AllTests">
<testsuite name="sso-Win7x64-1/myHandlerTests" tests="1" failures="0" disabled="0" errors="0" time="290.552">
<testcase name="myHandlerTest/0" value_param="24-byte object <F0-B3 E4-3F 01-00 00-00 01-00 00-00 00-00 00-00 50-06 EA-01 00-00 00-00>" status="run" time="27.85" classname="sso-Win7x64-1/myHandlerTests" />
</testsuite>
</testsuites>

nfalco79@hotmail.com (JIRA)

unread,
May 5, 2018, 12:10:01 PM5/5/18
to jenkinsc...@googlegroups.com
Nikolas Falco assigned an issue to Nikolas Falco
 
Change By: Nikolas Falco
Assignee: Gregory Boissinot Nikolas Falco
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

nfalco79@hotmail.com (JIRA)

unread,
May 5, 2018, 12:11:04 PM5/5/18
to jenkinsc...@googlegroups.com
Nikolas Falco closed an issue as Cannot Reproduce
 

Please reopen if happens again with most recent versions

Change By: Nikolas Falco
Status: Open Closed
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages