Skip to content
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

Errors when execute "launch.sh -all" in rcrs-adf-sample. #24

Open
June8144 opened this issue Mar 5, 2024 · 1 comment
Open

Errors when execute "launch.sh -all" in rcrs-adf-sample. #24

June8144 opened this issue Mar 5, 2024 · 1 comment

Comments

@June8144
Copy link

June8144 commented Mar 5, 2024

It points out that

[ RCRS ADF Version 2.3.0 (build 20200403013538) ]

[adf.sample.SampleLoader, -t, -1,-1,-1,-1,-1,-1]
Exception in thread "main" java.lang.NumberFormatException: For input string: "adf.sample.SampleLoader"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:668)
at java.base/java.lang.Integer.parseInt(Integer.java:786)
at adf.Main.main(Main.java:25)

So, do you know how to solve it?
图片

@June8144 June8144 changed the title Eorrors when execute "launch.sh -all" in rcrs-adf-sample. Errors when execute "launch.sh -all" in rcrs-adf-sample. Mar 5, 2024
@gnardin
Copy link
Member

gnardin commented Mar 5, 2024

Dear @June8144

I could not reproduce your issue. I cloned the repository, built the project and executed the launch.sh successfully. Please try the following sequence to see if you still find the problem:

git clone https://github.com/roborescue/adf-sample-agent-java.git
cd adf-sample-agent-java
./gradlew clean
./gradlew build
./launch.sh -all

NOTE: Before running the ./launch.sh command, you should have the RCRS Server running.

In the screenshot, the message reads adf.sample.SampleLoader, but the default Loader in the launch.sh is adf.impl.DefaultLoader. Have you changed anything in the launch.sh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants