Skip to content

[Bug] [COMMON] LogUtils rollViewLogLines will be IndexOutOfBoundsException #17139

@deng-jeffer

Description

@deng-jeffer

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

logview error log
Image

api server error log
Image

worker server error log
Image

What you expected to happen

Return to normal log

How to reproduce

When line.getBytes(StandardCharsets.UTF_8).length is greater than MaxResponseLogSize, and line.length() is less than MaxResponseLogSize
Image

Image

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

UIui and front end relatedbugSomething isn't workingpriority:low

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions