Jump to content

Question

Posted

hey everyone!

 

i'm so confused and lookin for help. i've some errors when using clan warehouse and freight service on my server. i'm working on l2jfrozen server files and i even compiled the latest and clean version to be sure the error is not caused because of my interference.

 

well, when i put my bodyarmor (for example) into clan warehouse as a admin or normal character, i'm getting an annoying error:

ERROR [com.l2jfrozen.database.dal.impl.ManagerImpl] - Got hibernate exception.

java.lang.NullPointerException

   at com.l2jfrozen.database.dal.game.impl.CharacterManagerDAOImpl.initFields(CharacterManagerDAOImpl.java:280)

   at com.l2jfrozen.database.dal.game.impl.CharacterManagerDAOImpl.get(CharacterManagerDAOImpl.java:123)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

   at java.lang.reflect.Method.invoke(Unknown Source)

   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)

   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

   at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)

   at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)

   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)

   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)

   at com.sun.proxy.$Proxy44.get(Unknown Source)

   at com.l2jfrozen.database.manager.game.CharacterManager.get(CharacterManager.java:166)

   at com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance.updateInDb(L2ItemInstance.java:1233)

   at com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance.updateDatabase(L2ItemInstance.java:1140)

   at com.l2jfrozen.gameserver.model.ItemContainer.transferItem(ItemContainer.java:376)

   at com.l2jfrozen.gameserver.model.PcInventory.transferItem(PcInventory.java:429)

   at com.l2jfrozen.gameserver.network.clientpackets.SendWareHouseDepositList.runImpl(SendWareHouseDepositList.java:203)

   at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)

   at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:183)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

   at java.lang.Thread.run(Unknown Source)

i thought its maybe caused by some security checks or something, but i'm rly confused. also, when i use freight service by warehouse keeper (deposit cargo box) in order to transfer item to another character, there's another error. what's really bad - items sometimes duplicate:

INFO [com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance] - Could not update item 268452504 in DB: Reason:

java.lang.NullPointerException

   at com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance.updateInDb(L2ItemInstance.java:1237)

   at com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance.updateDatabase(L2ItemInstance.java:1140)

   at com.l2jfrozen.gameserver.model.ItemContainer.transferItem(ItemContainer.java:376)

   at com.l2jfrozen.gameserver.model.PcInventory.transferItem(PcInventory.java:429)

   at com.l2jfrozen.gameserver.network.clientpackets.RequestPackageSend.runImpl(RequestPackageSend.java:193)

   at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)

   at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:183)

   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

   at java.lang.Thread.run(Unknown Source)

that's not the main problem, because freight service can be locked and people dont need it as much as clan warehouse function. anyway, maybe someone already deal with this problem and know the solution.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...