Caused by: java.lang.NoSuchMethodException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory.<init>()
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 298
- Avg merge
- 21h 43m
- Merged PRs (30d)
- 9
Description
[2021-11-09 14:49:26,236] INFO Bootstrapping AmbryServer (com.github.ambry.server.AmbryMain)
[2021-11-09 14:49:26,238] ERROR Exception during bootstrap of AmbryServer (com.github.ambry.server.AmbryMain)
java.lang.InstantiationException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory
at java.lang.Class.newInstance(Class.java:427)
at com.github.ambry.utils.Utils.getObj(Utils.java:604)
at com.github.ambry.server.AmbryMain.main(AmbryMain.java:48)
Caused by: java.lang.NoSuchMethodException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory.()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 2 more
[2021-11-09 14:49:26,239] INFO Exiting AmbryMain (com.github.ambry.server.AmbryMain)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the bootstrap path in AmbryMain.java and Utils.java, then inspect HelixVcrClusterAgentsFactory, which the stack trace identifies as failing during instantiation. Reproduce the AmbryServer startup failure and determine the intended resolution for the missing no-argument constructor; done means bootstrap no longer raises this exception.
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
- 25/100