Page 1 of 1

Stable Version Warnings

Posted: Thu Jul 19, 2012 7:43 pm
by valdaron
DataPack Rev: 8986
Server Rev: 5496

Hello.
I downloaded stable version on new eclipse 4.2 from trunk and I have 24 warnings.

Code: Select all

Description Resource    Path    Location    TypeResource leak: 'scn' is never closed    DBInstallerConsole.java /L2J_Server/java/com/l2jserver/tools/dbinstaller/console    line 36 Java ProblemResource leak: 'scn' is never closed    DBInstallerConsole.java /L2J_Server/java/com/l2jserver/tools/dbinstaller/console    line 123    Java ProblemPotential null pointer access: The variable character may be null at this location  ChainHeal.java  /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 76 Java ProblemPotential null pointer access: The variable character may be null at this location  ChainHeal.java  /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 69 Java ProblemResource leak: '<unassigned Closeable value>' is never closed   GameServerTable.java    /L2J_Server/java/com/l2jserver/loginserver  line 84 Java ProblemPotential null pointer access: The variable character may be null at this location  ChainHeal.java  /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 74 Java ProblemPotential null pointer access: The variable weapon may be null at this location Blow.java   /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 133    Java ProblemResource leak: 'form' is never closed   ConsoleLocalizator.java /L2J_Server/java/com/l2jserver/tools/ngl    line 207    Java ProblemResource leak: 'form' is never closed   DBDumper.java   /L2J_Server/java/com/l2jserver/tools/dbinstaller/util/mysql line 51 Java ProblemResource leak: 'statement' is not closed at this location   NpcTable.java   /L2J_Server/java/com/l2jserver/gameserver/datatables    line 544    Java ProblemResource leak: 'statement' is not closed at this location   NpcTable.java   /L2J_Server/java/com/l2jserver/gameserver/datatables    line 448    Java ProblemAccess to enclosing method startSiege() from the type ClanHallSiegeEngine is emulated by a synthetic accessor method    FlagWar.java    /L2J_DataPack/dist/game/data/scripts/conquerablehalls/flagwar   line 445    Java ProblemResource leak: 'statement' is not closed at this location   NpcTable.java   /L2J_Server/java/com/l2jserver/gameserver/datatables    line 907    Java ProblemPotential null pointer access: The variable target may be null at this location HealPercent.java    /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 89 Java ProblemResource leak: 'statement' is not closed at this location   NpcTable.java   /L2J_Server/java/com/l2jserver/gameserver/datatables    line 663    Java ProblemPotential null pointer access: The variable su may be null at this location HealPercent.java    /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 159    Java ProblemResource leak: 'statement' is not closed at this location   NpcTable.java   /L2J_Server/java/com/l2jserver/gameserver/datatables    line 1046   Java ProblemPotential null pointer access: The variable su may be null at this location HealPercent.java    /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 128    Java ProblemPotential null pointer access: The variable su may be null at this location HealPercent.java    /L2J_DataPack/dist/game/data/scripts/handlers/skillhandlers line 191    Java ProblemResource leak: 'statement' is not closed at this location   LoginController.java    /L2J_Server/java/com/l2jserver/loginserver  line 652    Java ProblemResource leak: '<unassigned Closeable value>' is never closed   Base64.java /L2J_Server/java/com/l2jserver/util line 347    Java ProblemResource leak: 'inbr' is never closed   L2Event.java    /L2J_Server/java/com/l2jserver/gameserver/model/entity  line 370    Java ProblemResource leak: 'statement' is not closed at this location   ItemAuctionInstance.java    /L2J_Server/java/com/l2jserver/gameserver/model/itemauction line 609    Java ProblemResource leak: '<unassigned Closeable value>' is never closed   MySqlConnect.java   /L2J_Server/java/com/l2jserver/tools/dbinstaller/util/mysql line 37 Java Problem
Can I used this files on my server? BETA version doesn't have any warnings.

Re: Stable Version Warnings

Posted: Thu Jul 19, 2012 8:31 pm
by Zoey76
In beta they have been fixed, I'll fix them in trunk as well.

Re: Stable Version Warnings

Posted: Fri Jul 20, 2012 4:05 am
by valdaron
Super! Thank you for your good job!