gosh_profile errors on startup of substrate
- Dominant language
- Java
- Stars
- 44
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
If I try to configure a custom gosh_profile and motd with the created substrate I get the following error:
```
/gosh_profile: ERROR: java.lang.IllegalArgumentException: Cannot coerce resolve(Token) to any of []
```
With the Atomos substrate examples the error looks a bit different, but almost the same:
```
gosh_profile: ERROR: java.lang.IllegalArgumentException: Cannot coerce addcommand(Token, BundleContextImpl) to any of []
```
Somehow the `gosh_profile` execution does not work correctly.
I tried several things to make it work, but I don't get the point what is missing in the reflection configuration. Even using the java_agent and inspecting the resulting configs did not uncover anything related to this specific thing. Any ideas what could be missing?
Contributor guide
Research direction
Reproduce the startup failure with a custom gosh_profile and motd on the created substrate, then compare it with the Atomos substrate examples. Start by investigating the reflection configuration using the java_agent and the reported resolve(Token) and addcommand(Token, BundleContextImpl) coercion errors. Done means gosh_profile executes successfully without these startup errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100