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

Vault economy error #1331

Closed
Rsl1122 opened this issue Feb 13, 2020 · 1 comment
Closed

Vault economy error #1331

Rsl1122 opened this issue Feb 13, 2020 · 1 comment

Comments

@Rsl1122
Copy link
Collaborator

@Rsl1122 Rsl1122 commented Feb 13, 2020

Describe the issue

Reported on Discord

Exceptions & Other Logs

[19:09:49 WARN]: [Plan] Encountered IllegalArgumentException with Economy (Vault) Extension (failed safely) when updating value for 'SuperMarty2005', the method was disabled temporarily (won't be called until next Plan reload), stack trace to follow (please report this):
[19:09:49 WARN]: [Plan] Error was caught by com.djrapitops.plan.extension.ExtensionServiceImplementation
java.lang.IllegalArgumentException: class com.djrapitops.extension.VaultExtension method balance could not be called: null
        at com.djrapitops.plan.extension.implementation.providers.MethodWrapper.callMethod(MethodWrapper.java:85) ~[?:?]
        at com.djrapitops.plan.extension.implementation.providers.MethodWrapper.callMethod(MethodWrapper.java:50) ~[?:?]
        at com.djrapitops.plan.extension.implementation.providers.gathering.DoubleAndPercentageProviderValueGatherer.lambda$null$0(DoubleAndPercentageProviderValueGatherer.java:70) ~[?:?]
        at com.djrapitops.plan.extension.implementation.providers.gathering.DoubleAndPercentageProviderValueGatherer.getMethodResult(DoubleAndPercentageProviderValueGatherer.java:122) ~[?:?]
        at com.djrapitops.plan.extension.implementation.providers.gathering.DoubleAndPercentageProviderValueGatherer.gatherDoubleDataOfProvider(DoubleAndPercentageProviderValueGatherer.java:105) ~[?:?]
        at com.djrapitops.plan.extension.implementation.providers.gathering.DoubleAndPercentageProviderValueGatherer.gatherDoubleDataOfPlayer(DoubleAndPercentageProviderValueGatherer.java:75) ~[?:?]
        at com.djrapitops.plan.extension.implementation.providers.gathering.ProviderValueGatherer.updateValues(ProviderValueGatherer.java:133) ~[?:?]
        at com.djrapitops.plan.extension.ExtensionServiceImplementation.updatePlayerValues(ExtensionServiceImplementation.java:157) ~[?:?]
        at com.djrapitops.plan.extension.ExtensionServiceImplementation.updatePlayerValues(ExtensionServiceImplementation.java:146) ~[?:?]
        at com.djrapitops.plan.gathering.listeners.bukkit.PlayerOnlineListener.lambda$beforePlayerQuit$5(PlayerOnlineListener.java:200) ~[?:?]
        at com.djrapitops.plan.processing.Processing.lambda$submitNonCritical$1(Processing.java:78) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_242]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
        at com.djrapitops.plan.extension.implementation.providers.MethodWrapper.callMethod(MethodWrapper.java:73) ~[?:?]
        ... 14 more
Caused by: java.lang.RuntimeException: Economy username cannot be null
        at com.earth2me.essentials.api.Economy.getUserByName(Economy.java:66) ~[?:?]
        at com.earth2me.essentials.api.Economy.getMoneyExact(Economy.java:110) ~[?:?]
        at com.earth2me.essentials.api.Economy.getMoney(Economy.java:99) ~[?:?]
        at net.milkbowl.vault.economy.plugins.Economy_Essentials.getBalance(Economy_Essentials.java:79) ~[?:?]
        at net.milkbowl.vault.economy.AbstractEconomy.getBalance(AbstractEconomy.java:20) ~[?:?]
        at com.djrapitops.extension.VaultExtension.balance(VaultExtension.java:57) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
        at com.djrapitops.plan.extension.implementation.providers.MethodWrapper.callMethod(MethodWrapper.java:73) ~[?:?]
        ... 14 more
>
@lukeeexd

This comment has been minimized.

Copy link

@lukeeexd lukeeexd commented Feb 13, 2020

@Rsl1122 Rsl1122 closed this in d3fd60a Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.