question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find context resolver

See original GitHub issue

I’m seeing really strange issues when I try to implement a command Interface on my BaseCommand

It just started to happen since I added BaseCommand implements ISkinCommand<CommandSender, Player, OnlinePlayer> to my BaseCommand class.

This is the full class causing that error: https://github.com/SkinsRestorer/SkinsRestorerX/blob/c1840af58a68c199e53211390a25236f5aa2cee3/src/main/java/skinsrestorer/bukkit/commands/SkinCommand.java

This is where the error happens: https://github.com/SkinsRestorer/SkinsRestorerX/blob/c1840af58a68c199e53211390a25236f5aa2cee3/src/main/java/skinsrestorer/bukkit/SkinsRestorer.java#L169

What am I doing wrong?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
aikarcommented, Aug 23, 2019

@chickeneer that’s not right. .getclass() will return Parameter.class which is completely wrong. the BukkitRegisteredCommand is getting passed as a PARAMETER somewhere and that isn’t correct. I can’t see that in any of this?

gotta find where BRC is even getting injected as a parameter.

0reactions
relaviscommented, Dec 15, 2020

Hello,

I seem to be experiencing this same issue in my own plugin. Has a solution been found?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not Found: Can't resolve Context - Stack Overflow
Is there an installation I'm missing? ... The error message means that there is no file context.js with relative path ../context.js . Is...
Read more >
Resolvers - Apollo GraphQL Docs
Indicates that the value for the field could not be found. If your schema indicates that this resolver's field is nullable, then the...
Read more >
CannotPullContainer task errors - Amazon Elastic Container ...
To resolve this issue, verify the repository URI and the image name. Also make sure that you have set up the proper access...
Read more >
How to Resolve The Cannot Find Symbol Error in Java - Rollbar
The cannot find symbol error refers to a situation where the Java compiler is unable to find the symbol associated with a given...
Read more >
Extensibility - HK2 - Dependency Injection Kernel
Any number of other scope/context pairs can be added to the system. ... Injection Resolver is an hk2 service that is called whenever...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found