Skip to content

Keyword 'Log Source' could not be run on failure 'HandlerExecutionFailed: Could not initialize class StringEscapeUtils' #1732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
php-coder opened this issue Jan 19, 2025 · 0 comments

Comments

@php-coder
Copy link
Owner

When integration tests fail there is a warning that Log Source has failed also:

Image
[INFO] --- robotframework-maven-plugin:1.7.2:run (default) @ mystamps ---
Running suite 'Robotframework' with 1 test.
==============================================================================
2025-01-19 15:46:23.568 [user:  ] DEBUG 35327 --- [tp1164699452-24] r.m.w.s.s.s.CustomUserDetailsService     : Find user by login 'admin'
2025-01-19 15:46:23.577 [user:  ] DEBUG 35327 --- [tp1164699452-24] r.m.w.s.s.s.CustomUserDetailsService     : User 'admin' found
Warning: the fonts "Times" and "Lucida Bright" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
2025-01-19 15:46:24.943 [user:1 ]  INFO 35327 --- [tp1164699452-24] r.m.w.feature.series.SeriesServiceImpl   : Series #4: michel price set to 10
2025-01-19 15:46:25.439 [user:1 ]  INFO 35327 --- [tp1164699452-21] r.m.w.feature.series.SeriesServiceImpl   : Series #4: scott price set to 20
[ WARN ] Keyword 'Log Source' could not be run on failure 'robot.errors.HandlerExecutionFailed: org.apache.commons.lang3.Range.of(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lorg/apache/commons/lang3/Range;'
2025-01-19 15:46:25.925 [user:1 ]  INFO 35327 --- [tp1164699452-23] r.m.w.feature.series.SeriesServiceImpl   : Series #4: yvert price set to 30
2025-01-19 15:46:26.260 [user:1 ]  INFO 35327 --- [tp1164699452-24] r.m.w.feature.series.SeriesServiceImpl   : Series #4: gibbons price set to 40
[ WARN ] Keyword 'Log Source' could not be run on failure 'robot.errors.HandlerExecutionFailed: Could not initialize class org.apache.commons.text.StringEscapeUtils'
2025-01-19 15:46:26.662 [user:1 ]  INFO 35327 --- [tp1164699452-24] r.m.w.feature.series.SeriesServiceImpl   : Series #4: solovyov price set to 50
[ WARN ] Keyword 'Log Source' could not be run on failure 'robot.errors.HandlerExecutionFailed: Could not initialize class org.apache.commons.text.StringEscapeUtils'
2025-01-19 15:46:27.074 [user:1 ]  INFO 35327 --- [tp1164699452-21] r.m.w.feature.series.SeriesServiceImpl   : Series #4: zagorski price set to 60
[ WARN ] Keyword 'Log Source' could not be run on failure 'robot.errors.HandlerExecutionFailed: Could not initialize class org.apache.commons.text.StringEscapeUtils'
f
==============================================================================
Run suite 'Robotframework' with 1 test in 8 seconds 345 milliseconds.

PASSED
0 critical tests, 0 passed, 0 failed
1 test total, 0 passed, 1 failed

At the same time, it somehow related to series/info page as the error won't appear on a main page.

@php-coder php-coder added this to the 0.4.8 milestone Jan 19, 2025
@php-coder php-coder self-assigned this Jan 19, 2025
@php-coder php-coder changed the title Keyword 'Log Source' could not be run on failure 'robot.errors.HandlerExecutionFailed: Could not initialize class org.apache.commons.text.StringEscapeUtils' Keyword 'Log Source' could not be run on failure 'HandlerExecutionFailed: Could not initialize class StringEscapeUtils' Jan 19, 2025
@php-coder php-coder modified the milestones: 0.4.8, 0.4.9 Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant