Comments (5)
I've encountered the same problem. Are there any updates?
from allure-maven.
I think the problem is here
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
at java.lang.String.checkBoundsBeginEnd (String.java:4601)
at java.lang.String.substring (String.java:2704)
at org.apache.commons.lang.SystemUtils.getJavaVersionAsFloat (SystemUtils.java:1133)
allure-maven dependnecy uses maven-reporting-impl:jar:3.0.0 where commons-lang:commons-lang:jar:2.4 is used instead of commons-lang3. so excluding of commons-lang doesn't help.
I see that version is upgraded in commit but this upgrade isn't included in the last version 2.12.0
7e0474e
from allure-maven.
I've got the same problem. Any solution so far?
from allure-maven.
@jandroalvarez I've changed java version from 17 to 17.0.10, because method org.apache.commons.lang.SystemUtils.getJavaVersionAsFloat produces StringIndexOutOfBoundsException, if gets java version not like a float number
from allure-maven.
Thank you for the answer @enepliue1 !
AFAIK java.version is a read-only property of the JVM.
How did you set the long version number to run the Maven plugin?
from allure-maven.
Related Issues (20)
- mvn allure:report allure:serve does not preserve report directory HOT 3
- Proxy exceptions are ignored HOT 1
- Could not generate the report: HTTP 403 HOT 1
- trendline
- Release 2.11.0 not on Maven Central HOT 3
- Support links to previous build in trends
- Would be nice to have command line used by AllureCommandline.execute() being output into debug log when -X is passed to Maven on command line
- Reports works in Intellij and not in eclipse HOT 3
- Process and server are not killed on exit mvn allure:serve
- Intermittent report generation error HOT 1
- Space in report path on report goal
- Hi , I have a doubt due to which i am stuck long time on my project . I have upgraded my project to jdk17 and after that allure has stopped working HOT 1
- Downloading Allure Command Line failed if no external repositories allowed HOT 1
- Report is not created when trying to work directly with json files
- When running the same test in different suites, the test does not merge in report HOT 2
- Missing API test execution data
- Add a mvn command to generate single file report
- Plugin is not processing standard maven options for disabling SSL-Certificate validations - download of allure binaries is not possible
- Is it possible to merge multiple allure results into one report
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 allure-maven.