Comments (10)
@michael-bryson thanks for raising this thing,
I had a similar issue with junit reporting module, but did not managed to reproduce it locally,
will release a new version with the same fix, and hope this will get you going
will let you know when the new hpi
is deployed
from bootstraped-multi-test-results-report-plugin.
@michael-bryson
I've released 1.4.22 version of the plugin,
you could download it from here until jenkins spots a new version.
let me know if this fixes your problem.
from bootstraped-multi-test-results-report-plugin.
@BogdanLivadariu downloaded and installed 1.4.22 but still getting the same error I'm afraid
from bootstraped-multi-test-results-report-plugin.
@michael-bryson have you restarted jenkins after updating the plugin ?
if yes, can you uninstall the plugin , and reinstall it again ?
from bootstraped-multi-test-results-report-plugin.
@BogdanLivadariu Yes I restarted Jenkins after the install. I have tried an uninstall, reinstall and Jenkins restart again but same error is returned.
from bootstraped-multi-test-results-report-plugin.
@michael-bryson what version of jenkins to you use ?
from bootstraped-multi-test-results-report-plugin.
@BogdanLivadariu Jenkins 1.636
from bootstraped-multi-test-results-report-plugin.
did some investigations, seems like a while back another user reported same problem
seems like 1.636 has some problems around classloader for plugins, at that time I recommended to downgrade jenkins to 1.625 , but I', pretty sure the problem might been fixed in a newer version
here is what that user reported
Hi, I've recently installed latest version of plugin and it fails to publish cucumber report. I've Jenkins ver. 1.636 and distributed job. Master is installed on a Linux machine and Slave is a Mac machine. Error is next
ERROR: Step ‘Publish cucumber reports generated with handlebars’ aborted due to exception: java.lang.ClassCircularityError: org/antlr/v4/runtime/atn/PredictionContext at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:801) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.jenkinsci.bytecode.ClassWriter.loadClass(ClassWriter.java:97) at org.jenkinsci.bytecode.ClassWriter.getCommonSuperClass(ClassWriter.java:64) at org.kohsuke.asm5.ClassWriter.getMergedType(ClassWriter.java:1654) at org.kohsuke.asm5.Frame.merge(Frame.java:1426) at org.kohsuke.asm5.Frame.merge(Frame.java:1325) at org.kohsuke.asm5.MethodWriter.visitMaxs(MethodWriter.java:1475) at org.kohsuke.asm5.tree.MethodNode.accept(MethodNode.java:833) at org.kohsuke.asm5.commons.JSRInlinerAdapter.visitEnd(JSRInlinerAdapter.java:187) at org.jenkinsci.bytecode.Transformer$1$1.visitEnd(Transformer.java:107) at org.kohsuke.asm5.MethodVisitor.visitEnd(MethodVisitor.java:877) at org.kohsuke.asm5.ClassReader.readMethod(ClassReader.java:1021) at org.kohsuke.asm5.ClassReader.accept(ClassReader.java:693) at org.kohsuke.asm5.ClassReader.accept(ClassReader.java:506) at org.jenkinsci.bytecode.Transformer.transform(Transformer.java:113) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:800) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at com.github.jknack.handlebars.internal.HbsLexer.<clinit>(HbsLexer.java:17) at com.github.jknack.handlebars.internal.HbsParserFactory.newLexer(HbsParserFactory.java:141) at com.github.jknack.handlebars.internal.HbsParserFactory.access$200(HbsParserFactory.java:47) at com.github.jknack.handlebars.internal.HbsParserFactory$1.parse(HbsParserFactory.java:74) at com.github.jknack.handlebars.cache.NullTemplateCache.get(NullTemplateCache.java:49) at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:442) at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:385) at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:371) at com.github.bogdanlivadariu.reporting.cucumber.builder.CucumberReportBuilder.writeFeatureSummaryReports(CucumberReportBuilder.java:58) at com.github.bogdanlivadariu.reporting.cucumber.builder.CucumberReportBuilder.writeReportsOnDisk(CucumberReportBuilder.java:172) at com.github.bogdanlivadariu.jenkins.reporting.cucumber.CucumberTestReportPublisher.perform(CucumberTestReportPublisher.java:125) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) .....
The most strange thing is that when I debug plugin locally on slave machine plugin works fine. What can be the reason of such failure? Thank you!
here is what I've said:
Hi @ivan-fedorov try downgrading jenkins
Latest version seems to have problems with the classloade for plugins
Try a lts version
Bogdan Livadariu @BogdanLivadariu Nov 07 2015 00:04
1.625
Ivan Fedorov @ivan-fedorov Nov 09 2015 10:55
Hi @BogdanLivadariu You are completely right! It was a jenkins problem and downgrading solved it. Thank you very much!
from bootstraped-multi-test-results-report-plugin.
Hi, our Jenkins has been upgraded and I no longer get this error. However when I point to the testng-results.xml file and the build runs I do not get the nicely formatted reports, I only get the attached with a lot of errors in the console when using Chrome.
If I use IE I only get a simple table with no charts, is there something missing from my results file?
from bootstraped-multi-test-results-report-plugin.
@michael-bryson what is the version of jenkins ?
this error appears because of jenkins security policy
I have an opened issue for that, along with some workarounds : #12
from bootstraped-multi-test-results-report-plugin.
Related Issues (20)
- Plugin is vulnerable to CVE-2021-4428 (log4j / log4shell) HOT 5
- Please update to latest log4j version (2.17.1) and consider removing it completely
- Host plugin in jenkinsci organization? HOT 6
- Release plugin with Java 11 support HOT 5
- Report not showing Cucumber table information HOT 9
- maven artifacts are not usable HOT 2
- Pipeline integration HOT 5
- Generating a report out of an XML that has 0 test results throws a Null Pointer exception HOT 8
- In case you have 0 tests ran, provide a placeholder page
- add support to manage overview table data
- Cucumber duration isn't showing up HOT 2
- Columns do not align with results HOT 1
- add support for squish test results HOT 1
- Broken link at https://wiki.jenkins-ci.org/
- add support to refer on locally configured bootstrap HOT 1
- Variables are ignored when passed in the 'XML Reports Path' field HOT 7
- Skipped Tests Mark Build as Unstable HOT 1
- Option to keep test report using runtime order HOT 4
- Using the plugin multiple times for different steps in pipeline gives 403
- Please consider adding Java SE 11 support to avoid ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstraped-multi-test-results-report-plugin.