Skip to content

getting an error java.lang.IllegalArgumentException: line is not a valid line offset for pointer. #120

@manku211

Description

@manku211

INFO Sensor RustSensor [communityrust]

11:44:14.895 ERROR Unable to parse file: src/service/crons/process_historical_event/client.rs

11:44:14.897 ERROR Parse error at line 554 column 25:

544: // transfer reward

545: let reward_fut = client.transfer_rewards(process_reward_rx);

546: let (_res1, _res2) = tokio::join!(process_event_fut, reward_fut);

547: if let Err(err) = super::state::del("quest", ".", redis_pool.clone()).await {

548: tracing::error!("fail to remove quest from queue due to {err}");

549: }

550: }

551:

552: tracing::info!("process event sleep for 15 sec");

553: tokio::time::sleep(std::time::Duration::from_secs(15)).await;

554: if !continue_processing {

                         ^

555: break 'outer;

556: }

557: }

558: }

559: }

560:

561: #[cfg(test)]

562: mod test {

563: use super::*;

564: use crate::config::configuration::build_setting;

11:44:20.149 INFO Sensor RustSensor [communityrust] (done) | time=8452ms

11:44:20.150 INFO Sensor Import of Clippy issues [communityrust]

11:44:20.153 INFO Importing /opt/atlassian/pipelines/agent/build/clippy-report.json

11:44:20.265 INFO [stdout] /opt/atlassian/pipelines/agent/build/src/lib.rs

11:44:20.296 ERROR Error during SonarScanner Engine execution

java.lang.IllegalArgumentException: 12 is not a valid line offset for pointer. File src/lib.rs has 11 character(s) at line 6

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions