Skip to content

Enchant Manager Problem

Featured Replies

Hello sorry for many ask help, but last time i ask help.

I have problem whit enchant manager, when i try ++ items drop this errror.

 

java.lang.NullPointerException
    at com.l2jfrozen.gameserver.network.serverpackets.StatusUpdate.addAttribute(StatusUpdate.java:106)
    at com.l2jfrozen.gameserver.model.actor.instance.L2EnchantNpcInstance.doEnchnat(L2EnchantNpcInstance.java:279)
    at com.l2jfrozen.gameserver.model.actor.instance.L2EnchantNpcInstance.onBypassFeedback(L2EnchantNpcInstance.java:122)
    at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:257)
    at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:77)
    at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1213)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
 

There custom enchant manager error, i use frozen pack, other thinks i not change.

http://pastebin.com/EKWiKPTL

Solved by An4rchy

  • Author

    at com.l2jfrozen.

its writed in error l2j frozen

Edited by Mellion

L2EnchantNpcInstance.doEnchnat(L2EnchantNpcInstance.java:279)

Misses a null check.

 

Edit : and if your lines refer to

            StatusUpdate su = new StatusUpdate(player);
            su.addAttribute(StatusUpdate.CUR_LOAD, player.getCurrentLoad());
            player.sendPacket(su);

You're pretty much doomed, because there's no special solution nor reason it bugs here.

Edited by Tryskell

So i can't fixs that?

 

What's StatusUpdate.addAttribute(StatusUpdate.java:106) ? Not really normal it ends with a null here.

  • Solution

Try to remove the su = null; line and check again.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.