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

premium command #31

Closed
KikyoC opened this issue Nov 13, 2022 · 6 comments
Closed

premium command #31

KikyoC opened this issue Nov 13, 2022 · 6 comments

Comments

@KikyoC
Copy link

KikyoC commented Nov 13, 2022

Hii, when I do /premium (pass) i got this error:

[10:21:39 ERROR]: java.lang.NullPointerException: Cannot invoke "xyz.kyngs.librepremium.api.crypto.HashedPassword.algo()" because "password" is null
[10:21:39 ERROR]:       at xyz.kyngs.librepremium.common.command.Command.getCrypto(Command.java:48)
[10:21:39 ERROR]:       at xyz.kyngs.librepremium.common.command.commands.premium.PremiumEnableCommand.onPremium(PremiumEnableCommand.java:25)
[10:21:39 ERROR]:       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:21:39 ERROR]:       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[10:21:39 ERROR]:       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[10:21:39 ERROR]:       at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[10:21:39 ERROR]:       at xyz.librepremium.lib.acf.commands.RegisteredCommand.invoke(RegisteredCommand.java:152)
[10:21:39 ERROR]:       at xyz.librepremium.lib.acf.commands.BaseCommand.executeCommand(BaseCommand.java:577)
[10:21:39 ERROR]:       at xyz.librepremium.lib.acf.commands.BaseCommand.execute(BaseCommand.java:513)
[10:21:39 ERROR]:       at xyz.librepremium.lib.acf.commands.RootCommand.execute(RootCommand.java:99)
[10:21:39 ERROR]:       at xyz.librepremium.lib.acf.commands.BungeeRootCommand.execute(BungeeRootCommand.java:83)
[10:21:39 ERROR]:       at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:212)
[10:21:39 ERROR]:       at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:163)
[10:21:39 ERROR]:       at net.md_5.bungee.connection.UpstreamBridge.handleChat(UpstreamBridge.java:194)
[10:21:39 ERROR]:       at net.md_5.bungee.connection.UpstreamBridge.handle(UpstreamBridge.java:152)
[10:21:39 ERROR]:       at net.md_5.bungee.protocol.packet.Chat.handle(Chat.java:71)
[10:21:39 ERROR]:       at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:114)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]:       at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]:       at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]:       at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]:       at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336)
[10:21:39 ERROR]:       at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
[10:21:39 ERROR]:       at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
[10:21:39 ERROR]:       at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
[10:21:39 ERROR]:       at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
[10:21:39 ERROR]:       at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
[10:21:39 ERROR]:       at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499)
[10:21:39 ERROR]:       at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397)
[10:21:39 ERROR]:       at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
[10:21:39 ERROR]:       at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[10:21:39 ERROR]:       at java.base/java.lang.Thread.run(Thread.java:833)```
@kyngs
Copy link
Owner

kyngs commented Nov 13, 2022

Perhaps you had autologin on by default, turned it off and then back on again?

@KikyoC
Copy link
Author

KikyoC commented Nov 14, 2022

Thank you very much

@KikyoC KikyoC closed this as completed Nov 14, 2022
@KikyoC
Copy link
Author

KikyoC commented Nov 14, 2022

Hii again, I got this when I do /2fa

java.lang.NoSuchMethodError: 'dev.simplix.protocolize.data.packets.SetSlot dev.simplix.protocolize.data.packets.SetSlot.itemStack(dev.simplix.protocolize.api.item.ItemStack)'
        at xyz.kyngs.librepremium.common.image.protocolize.ProtocolizeImageProjector.project(ProtocolizeImageProjector.java:58) ~[?:?]
        at xyz.kyngs.librepremium.common.command.commands.tfa.TwoFactorAuthCommand.lambda$onTwoFactorAuth$0(TwoFactorAuthCommand.java:40) ~[?:?]
        at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:66) ~[Bungee.jar:git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:c7caa4b:506]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]```

@KikyoC KikyoC reopened this Nov 14, 2022
@kyngs
Copy link
Owner

kyngs commented Nov 14, 2022

I hate protocolize... Please send the protocolize version installed, so I can blacklist it.

@KikyoC
Copy link
Author

KikyoC commented Nov 14, 2022

The version is: 2.2.2:473

@kyngs
Copy link
Owner

kyngs commented Nov 14, 2022

The version is: 2.2.2:473

Unfortunately, you cannot use protocolize 2.2.2, please downgrade to 2.2.1 or disable 2FA and wait before they release a fix (highly unlikely to happen soon)

@kyngs kyngs closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2022
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