as I have lost my pack (L2J archid) forum account (I still wait for ya Sethek :P), I post here, as it can help more people, and it's not a relative question to L2Jarchid, but java in general.
NPE... For NullPointerException. I got a lot of those errors, for many different things.
- my voicedcommandhandlers bug cause of that ;
- sieges doors make this error, but work ;
-throne siege is buggy too, when i try to sit on it i got an NPE.
So I would like to ask : what are those errors, and how I can fix it. I ask for theory, and perhaps if u got an existing exemple to show (from any pack, I don't care) it would be cute.
I got a really lil idea about it ; I think it's an exception which come when something is null. But got no idea if I have to set a variable for that, etc.
Those errors seem to occur when I double click, or more accuratly, when I already made that action one time.
For example, castle doors ; one click on any door and i can still move. If I click on one door, and click one time on another door, no error too. But if I double click on any gate, I got NPE error, and my character is "stuck" until I click on me.
About my voicecommand, it's more drama as it bugs the entire command : when you type .stats you got stats (shared on this forum :P), it's bug differently according if i'm an admin or no. I didn't understand how, but it happens and block the command (only show one NPE error w/o show something anymore) until a client restart...
I "coded" this voicecommandhandler 3 times, 3 differents ways (using or no the npchtmlmessage, and reading sources from L2j interlude, l2jfree interlude, and l2jumbrella gracia 1.5). I don't understand, cause my voicecommander is P.E.R.F.E.C.T and it makes me cry to see I spend so much time on a stupid NPE error lol.
Well, any point of view can help... If you need screenshots of errors, just tell me.
Exception in thread Normal packet Pool xx
java.lang.NullPointerException
at ihateNPE.gamerserver.network.clientpackets.L2GameClientPacket.run
(xx = number of the error, it goes ++ each time...)
And no I didn't mod L2gameclientpacket... And ofc, it's not ihateNPE :p.
ADENA
500 K = 40e
1kk = 70e
3kk = 190e
ITEMS
staff of life = 150e
karmian set = 90e
elven jewls top D = 30e
Orcish Poleaxe+1 best C pole = 680e
any D grade armor on demand
discord
wiz0642_81242
❖Items that are sent by physical delivery are sent using someone else's data. That is, if you are not able to accept the parcel, we will not be able to return it. Please keep this in mind.
READY IN STOCK
PAYMENT SYSTEMS
4x4 io, Weststein, Paysafecard, Paysend, Genome, Conotoxia, Mybrocard, Payz Silver, Pockit UK, NagaPay, Volet com, SpectroCoin, SwissMoney, Yuh, Lydia / Sumeria, Ka.App, Wittix, Western Union, MyGuava, Xapo Bank, Bunq on emulator (DE, NL, FR, ES, IE ibans), Revolut on emulator (UK/EU), ICard, BlackCatCard, Vivid DE, Bankera, Bitsa, Wise EU/UK, N26 DE/ES on emulator, Skrill, Neteller, Trasta, Wirex, Lama, Paysera, Moneyjar
CRYPTOEXCHANGE
BINGX com, Bybit LVL 2, KuCoin, Binance LVL 2, Mexc, Latoken, Poloniex, Bitmart, Kraken, WhiteBit, Quppy, Nexo, Gate, OKX, Paybis, Paxful, Huobi (HTX), xcoins com, Bit2Me
BUSINESS ACCOUNTS
Stripe, Payoneer EU, Wise Business UK/EU, Revolut Business EU/UK, N26 Business DE, Wallester Business EU, Kraken Business Pro, Monzo Business, Vivid Business, Zen Business EU, Millennium Business PL, AirWallex EU/UK, Finom business, PayPal business, Payset business
NATIONAL BANKS / BANKS
BBVA, CommerzBank, ING, Santander, Kaspi Bank, Sberbank, AlfaBank, Tbank, Raiffeisen, mBank, Paribas, Bereke Bank, Kapital Bank
Question
Tryskell
Hi all,
as I have lost my pack (L2J archid) forum account (I still wait for ya Sethek :P), I post here, as it can help more people, and it's not a relative question to L2Jarchid, but java in general.
NPE... For NullPointerException. I got a lot of those errors, for many different things.
- my voicedcommandhandlers bug cause of that ;
- sieges doors make this error, but work ;
-throne siege is buggy too, when i try to sit on it i got an NPE.
So I would like to ask : what are those errors, and how I can fix it. I ask for theory, and perhaps if u got an existing exemple to show (from any pack, I don't care) it would be cute.
I got a really lil idea about it ; I think it's an exception which come when something is null. But got no idea if I have to set a variable for that, etc.
Those errors seem to occur when I double click, or more accuratly, when I already made that action one time.
For example, castle doors ; one click on any door and i can still move. If I click on one door, and click one time on another door, no error too. But if I double click on any gate, I got NPE error, and my character is "stuck" until I click on me.
About my voicecommand, it's more drama as it bugs the entire command : when you type .stats you got stats (shared on this forum :P), it's bug differently according if i'm an admin or no. I didn't understand how, but it happens and block the command (only show one NPE error w/o show something anymore) until a client restart...
I "coded" this voicecommandhandler 3 times, 3 differents ways (using or no the npchtmlmessage, and reading sources from L2j interlude, l2jfree interlude, and l2jumbrella gracia 1.5). I don't understand, cause my voicecommander is P.E.R.F.E.C.T and it makes me cry to see I spend so much time on a stupid NPE error lol.
Well, any point of view can help... If you need screenshots of errors, just tell me.
(xx = number of the error, it goes ++ each time...)
And no I didn't mod L2gameclientpacket... And ofc, it's not ihateNPE :p.
10 answers to this question
Recommended Posts