Phobetor
New member
Dear wonderful developers of this most invaluable of programs,
I hope this bug report finds you well.
For the past three days, I have been unable to open KoL Mafia on my laptop running Windows 10, regardless of what I do. I had updated to the latest version many times, attempted the latest "stable build" as opposed to the hourly one, moved the KoL Mafia directory to different folders and to the Desktop, and so forth.
Since the problem is that the .jar executable simply will not open, I tried every technique I could find on the Internet to resolve this error, including downloading and using the "Jarfix" program, utilizing the Command Prompt, and editing the registry.
To clarify, the program does not open at all. My Task Manager shows the Java app open briefly, closing almost immediately afterwards; but Mafia does not run at all.
KoL Mafia happens to be the only .jar file I open these days, so I did not think to assess whether the problem might have been with the server or my connection to it. In hindsight, I realize that I should probably have downloaded another Java executable to test whether this only occurs with Mafia, but that did not even occur to me because of my relative unfamiliarity with this sort of matter.
This is assuming that the below is of any help to you, and indeed can be resolved on your end:
If this looks like a bug that can be addressed, please let me know if there is anything I can do to provide more information or detail, or whether I can endeavor to aid you in patching it in some way.
If this is not a fixable bug, would you happen to have any recommendations as to next steps? As it is, I am admittedly lost.
Best regards and warm wishes to you all! Please remain safe and well in these trying times.
Love,
Phobetor
I hope this bug report finds you well.
For the past three days, I have been unable to open KoL Mafia on my laptop running Windows 10, regardless of what I do. I had updated to the latest version many times, attempted the latest "stable build" as opposed to the hourly one, moved the KoL Mafia directory to different folders and to the Desktop, and so forth.
Since the problem is that the .jar executable simply will not open, I tried every technique I could find on the Internet to resolve this error, including downloading and using the "Jarfix" program, utilizing the Command Prompt, and editing the registry.
To clarify, the program does not open at all. My Task Manager shows the Java app open briefly, closing almost immediately afterwards; but Mafia does not run at all.
KoL Mafia happens to be the only .jar file I open these days, so I did not think to assess whether the problem might have been with the server or my connection to it. In hindsight, I realize that I should probably have downloaded another Java executable to test whether this only occurs with Mafia, but that did not even occur to me because of my relative unfamiliarity with this sort of matter.
This is assuming that the below is of any help to you, and indeed can be resolved on your end:
Code:
KoLmafia v20.7 r20323
Released on July 30, 2020
Currently Running on Windows 10
Local Directory is C:\Users\USERNAME\Desktop\KoL Mafia
Using Java 1.8.0_261
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sourceforge.kolmafia.Expression.evalInternal(Expression.java:406)
at net.sourceforge.kolmafia.Expression.eval(Expression.java:178)
at net.sourceforge.kolmafia.Modifiers.override(Modifiers.java:2775)
at net.sourceforge.kolmafia.Modifiers.getModifiers(Modifiers.java:2252)
at net.sourceforge.kolmafia.Modifiers.getStringModifier(Modifiers.java:3086)
at net.sourceforge.kolmafia.objectpool.Concoction.setEffectName(Concoction.java:244)
at net.sourceforge.kolmafia.objectpool.Concoction.<init>(Concoction.java:169)
at net.sourceforge.kolmafia.objectpool.Concoction.<init>(Concoction.java:189)
at net.sourceforge.kolmafia.objectpool.ConcoctionPool.<clinit>(ConcoctionPool.java:75)
at net.sourceforge.kolmafia.persistence.ConsumablesDatabase.calculateAdventureRange(ConsumablesDatabase.java:465)
at net.sourceforge.kolmafia.persistence.ConsumablesDatabase.calculateAdventureRange(ConsumablesDatabase.java:459)
at net.sourceforge.kolmafia.persistence.ConsumablesDatabase.saveConsumptionValues(ConsumablesDatabase.java:375)
at net.sourceforge.kolmafia.persistence.ConsumablesDatabase.readConsumptionData(ConsumablesDatabase.java:207)
at net.sourceforge.kolmafia.persistence.ConsumablesDatabase.reset(ConsumablesDatabase.java:163)
at net.sourceforge.kolmafia.persistence.ConsumablesDatabase.<clinit>(ConsumablesDatabase.java:171)
at net.sourceforge.kolmafia.persistence.ItemDatabase.addPseudoItems(ItemDatabase.java:698)
at net.sourceforge.kolmafia.persistence.ItemDatabase.reset(ItemDatabase.java:362)
at net.sourceforge.kolmafia.persistence.ItemDatabase.<clinit>(ItemDatabase.java:344)
at net.sourceforge.kolmafia.objectpool.ItemPool.get(ItemPool.java:3265)
at net.sourceforge.kolmafia.request.EquipmentRequest.<clinit>(EquipmentRequest.java:118)
at net.sourceforge.kolmafia.FamiliarData.<init>(FamiliarData.java:154)
at net.sourceforge.kolmafia.FamiliarData.<clinit>(FamiliarData.java:71)
at net.sourceforge.kolmafia.KoLCharacter.<clinit>(KoLCharacter.java:418)
at net.sourceforge.kolmafia.swingui.SystemTrayFrame.updateToolTip(SystemTrayFrame.java:117)
at net.sourceforge.kolmafia.swingui.SystemTrayFrame.addTrayIcon(SystemTrayFrame.java:98)
at net.sourceforge.kolmafia.KoLmafia.initLookAndFeel(KoLmafia.java:495)
at net.sourceforge.kolmafia.KoLmafia.main(KoLmafia.java:371)
Caused by: java.lang.NullPointerException
at net.sourceforge.kolmafia.KoLCharacter.getMonsterLevelAdjustment(KoLCharacter.java:2805)
at net.sourceforge.kolmafia.MonsterData.ML(MonsterData.java:650)
at net.sourceforge.kolmafia.MonsterData.getAttack(MonsterData.java:766)
at net.sourceforge.kolmafia.AreaCombatData.addMonsterStats(AreaCombatData.java:246)
at net.sourceforge.kolmafia.AreaCombatData.addMonster(AreaCombatData.java:389)
at net.sourceforge.kolmafia.persistence.AdventureDatabase.refreshCombatsTable(AdventureDatabase.java:339)
at net.sourceforge.kolmafia.persistence.AdventureDatabase.<clinit>(AdventureDatabase.java:116)
... 27 more
C:\Users\USERNAME\Desktop\KoL Mafia>
If this looks like a bug that can be addressed, please let me know if there is anything I can do to provide more information or detail, or whether I can endeavor to aid you in patching it in some way.
If this is not a fixable bug, would you happen to have any recommendations as to next steps? As it is, I am admittedly lost.
Best regards and warm wishes to you all! Please remain safe and well in these trying times.

Love,
Phobetor