Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Load Saved Campaign
#1
Ok I am not sure what the heck happened.  I am unable to load any of my previous saves.  I had to do some work on MekLab from the MekHQ version 0.1.12 and it was fine until now so not sure what happened.
I tried putting this into a zip folder. But not sure why it won't save unless I have to host it somewhere?  So I do apologize for doing it the long way. I am tired and just confused why this happened
Reply
#2
loading mekhq properties from mmconf/mekhq.properties
Starting load of planetary data from XML...
Loaded a total of 2198 planets

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
5599 units loaded.
Loading more unit images from localserver_mechset.txt...
Loading more unit images from localclient_mechset.txt...
... finished localclient_mechset.txt.
... finished localserver_mechset.txt.
Loading campaign file from XML...
Starting load of campaign file from XML...
Loading Custom unit from XML...
Loaded Custom Unit!
MMRandom: generating RNG type #1

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
5599 units loaded.

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 1 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
Saving unit cache.
5599 units loaded.
Loading Campaign Options from XML...
---
useFactionModifiers
false
---
clanPriceModifier
1.0
---
useFactionForNames
false
---
repairSystem
0
---
useDragoonRating
true
---
useTactics
true
---
useInitBonus
false
---
useToughness
false
---
useArtillery
false
---
useAbilities
true
---
useEdge
false
---
useImplants
false
---
useQuirks
true
---
payForParts
true
---
payForUnits
false
---
payForSalaries
true
---
payForOverhead
true
---
payForMaintain
true
---
payForTransport
false
---
sellUnits
true
---
sellParts
true
---
scenarioXP
3
---
killsForXP
1
---
killXPAward
2
---
limitByYear
true
---
allowClanPurchases
false
---
allowISPurchases
true
---
allowCanonOnly
false
---
techLevel
1
Reply
#3
Load Campaign Options Complete!
Loading Team Nodes from XML...
Load Team Nodes Complete!
Loading Unit Nodes from XML...
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Trebuchet TBT-5S2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (44):mekhq.campaign.Unit@1f488f1
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Wolfhound WLF-4A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (43):mekhq.campaign.Unit@11b86c7
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Enforcer ENF-4HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (90):mekhq.campaign.Unit@2da5a6
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Valkyrie VLK-QA2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (42):mekhq.campaign.Unit@d647d8
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Panther PNT-9HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (41):mekhq.campaign.Unit@6cef4
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Javelin JVN-10N1, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (87):mekhq.campaign.Unit@fd1810
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Thunderbolt TDR-5Sb, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (39):mekhq.campaign.Unit@36d047
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Firefly FFL-3PP4, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (86):mekhq.campaign.Unit@a415a3
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Mongoose MON-67A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (85):mekhq.campaign.Unit@29ea31
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Galahad GLD-3E, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (84):mekhq.campaign.Unit@1ce663c
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Rifleman RFL-4A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (83):mekhq.campaign.Unit@18b1f8f
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Union (2708), -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (82):mekhq.campaign.Unit@1c63e8c
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Overlord (2762), -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (81):mekhq.campaign.Unit@345b43
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Hammerhands HMH-3HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (78):mekhq.campaign.Unit@153b2cb
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Shadow Hawk SHD-2L Mk II, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (27):mekhq.campaign.Unit@b0ede5
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Griffin GRF-2A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (26):mekhq.campaign.Unit@52d1a4
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Centurion CN-9AU, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (25):mekhq.campaign.Unit@1873eb2
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Mobile Headquarters, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (68):mekhq.campaign.Unit@1e32382
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Talon TLN-5HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (67):mekhq.campaign.Unit@cb07ef
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Wolfhound WLF-4, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (19):mekhq.campaign.Unit@176086d
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Hussar HSR-200-HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (66):mekhq.campaign.Unit@234265
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Thunderbolt TDR-6G, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (64):mekhq.campaign.Unit@dc1f04
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Marauder MAD-3G, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (14):mekhq.campaign.Unit@1784427
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Warhammer WHM-6G, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (11):mekhq.campaign.Unit@c272bc
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning null from getEntityFromXmlString(String)...
Adding unit: (9):mekhq.campaign.Unit@1fac852
java.lang.NullPointerException
at mekhq.campaign.Campaign.checkDuplicateNamesDuringAdd(Campaign.java:3165)
at mekhq.campaign.Campaign.addUnit(Campaign.java:471)
at mekhq.campaign.Campaign.processUnitNodes(Campaign.java:2241)
at mekhq.campaign.Campaign.createCampaignFromXMLFileInputStream(Campaign.java:1731)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:143)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:100)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Reply
#4
Loading campaign file from XML...
Starting load of campaign file from XML...
Loading Custom unit from XML...
Loaded Custom Unit!

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
5599 units loaded.

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 1 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
Saving unit cache.
5599 units loaded.

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 1 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
Saving unit cache.
5599 units loaded.
Loading Campaign Options from XML...
---
useFactionModifiers
false
---
clanPriceModifier
1.0
---
useFactionForNames
false
---
repairSystem
0
---
useDragoonRating
true
---
useTactics
true
---
useInitBonus
false
---
useToughness
false
---
useArtillery
false
---
useAbilities
true
---
useEdge
false
---
useImplants
false
---
useQuirks
true
---
payForParts
true
---
payForUnits
false
---
payForSalaries
true
---
payForOverhead
true
---
payForMaintain
true
---
payForTransport
false
---
sellUnits
true
---
sellParts
true
---
scenarioXP
3
---
killsForXP
1
---
killXPAward
2
---
limitByYear
true
---
allowClanPurchases
false
---
allowISPurchases
true
---
allowCanonOnly
false
---
techLevel
1
Load Campaign Options Complete!
Loading Team Nodes from XML...
Load Team Nodes Complete!
Loading Unit Nodes from XML...
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Union (2708), -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (82):mekhq.campaign.Unit@831a91
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Overlord (2762), -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (81):mekhq.campaign.Unit@1453d72
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Saladin Assault Hover Tank Hawk's Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (80):mekhq.campaign.Unit@c5186e
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Saladin Assault Hover Tank Hawk's Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (79):mekhq.campaign.Unit@1c70315
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Hammerhands HMH-3HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (78):mekhq.campaign.Unit@9b59a2
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Behemoth Heavy Tank Hawks Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (76):mekhq.campaign.Unit@119db9e
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Behemoth Heavy Tank Hawks Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (75):mekhq.campaign.Unit@a166bd
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Mobile Headquarters, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (68):mekhq.campaign.Unit@60029d
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Talon TLN-5HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (67):mekhq.campaign.Unit@14bc4e6
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Hussar HSR-200-HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (66):mekhq.campaign.Unit@16c06dd
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Thunderbolt TDR-6G, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (64):mekhq.campaign.Unit@268cc6
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [BattleAxe BKX-7K, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (63):mekhq.campaign.Unit@e41d4a
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Starslayer STY-2C, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (60):mekhq.campaign.Unit@3f265b
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Firefly FFL-3PP2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (59):mekhq.campaign.Unit@107dcfe
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Talon TLN-5W, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (58):mekhq.campaign.Unit@13dcd27
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Night Hawk NTK-2Q, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (56):mekhq.campaign.Unit@67cd84
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Crusader CRD-6A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (55):mekhq.campaign.Unit@e5ace9
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Warhammer WHM-6HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (54):mekhq.campaign.Unit@bb05de
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Rifleman RFL-3B, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (53):mekhq.campaign.Unit@7e5619
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Griffin GRF-2N, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (52):mekhq.campaign.Unit@4693f9
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Wolverine II WVR-7H, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (51):mekhq.campaign.Unit@15c2843
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Phoenix Hawk PXH-1b, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (50):mekhq.campaign.Unit@15780d9
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Ostscout OTT-7J1, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (48):mekhq.campaign.Unit@1cc5461
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Mongoose MON-67A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (47):mekhq.campaign.Unit@1b7edd3
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Javelin JVN-10N1, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (46):mekhq.campaign.Unit@5ed853
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Trebuchet TBT-5S2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (44):mekhq.campaign.Unit@cc5436
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Wolfhound WLF-4A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (43):mekhq.campaign.Unit@acbd3a
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Valkyrie VLK-QA2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (42):mekhq.campaign.Unit@bb6086
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Panther PNT-9HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (41):mekhq.campaign.Unit@1be1041
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Thunderbolt TDR-5Sb, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (39):mekhq.campaign.Unit@11d2066
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Archer ARC-2Rb, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (36):mekhq.campaign.Unit@13a1778
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Marauder MAD-2R, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (35):mekhq.campaign.Unit@dafa2c
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Galahad GLH-2D, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (34):mekhq.campaign.Unit@5e9db7
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning null from getEntityFromXmlString(String)...
Adding unit: (29):mekhq.campaign.Unit@1c4795e
java.lang.NullPointerException
at mekhq.campaign.Campaign.checkDuplicateNamesDuringAdd(Campaign.java:3165)
at mekhq.campaign.Campaign.addUnit(Campaign.java:471)
at mekhq.campaign.Campaign.processUnitNodes(Campaign.java:2241)
at mekhq.campaign.Campaign.createCampaignFromXMLFileInputStream(Campaign.java:1731)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:143)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:100)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Reply
#5
Loading campaign file from XML...
Starting load of campaign file from XML...
Loading Custom unit from XML...
Loaded Custom Unit!

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
5599 units loaded.

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 1 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
Saving unit cache.
5599 units loaded.

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 1 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
Saving unit cache.
5599 units loaded.

Reading unit files:
  Reading from unit cache file...
  Looking in data\mechfiles...
  Looking in zip file data\mechfiles\battlearmor.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\ConvFighter.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\Custom Mechs...
  ...loaded 0 files.
  Looking in data\mechfiles\customs...
  Looking in data\mechfiles\customs\customs...
  ...loaded 0 files.
  ...loaded 1 files.
  Looking in zip file data\mechfiles\Dropship.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Fighters.zip...
  ...loaded 0 files.
  Looking in data\mechfiles\ge...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Infantry.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Jumpships.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\mechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\protomechs.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SmallCraft.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\SpaceStation.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\unofficial.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\vehicles.zip...
  ...loaded 0 files.
  Looking in zip file data\mechfiles\Warship.zip...
  ...loaded 0 files.
  ...loaded 0 files.
Saving unit cache.
5599 units loaded.
Loading Campaign Options from XML...
---
useFactionModifiers
false
---
clanPriceModifier
1.0
---
useFactionForNames
false
---
repairSystem
0
---
useDragoonRating
true
---
useTactics
true
---
useInitBonus
false
---
useToughness
false
---
useArtillery
false
---
useAbilities
true
---
useEdge
false
---
useImplants
false
---
useQuirks
true
---
payForParts
true
---
payForUnits
false
---
payForSalaries
true
---
payForOverhead
true
---
payForMaintain
true
---
payForTransport
false
---
sellUnits
true
---
sellParts
true
---
scenarioXP
3
---
killsForXP
1
---
killXPAward
2
---
limitByYear
true
---
allowClanPurchases
false
---
allowISPurchases
true
---
allowCanonOnly
false
---
techLevel
1
Load Campaign Options Complete!
Loading Team Nodes from XML...
Load Team Nodes Complete!
Loading Unit Nodes from XML...
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Union (2708), -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (82):mekhq.campaign.Unit@1a01e8a
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Overlord (2762), -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (81):mekhq.campaign.Unit@1429cf1
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Saladin Assault Hover Tank Hawk's Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (80):mekhq.campaign.Unit@4d93e3
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Saladin Assault Hover Tank Hawk's Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (79):mekhq.campaign.Unit@1a697a1
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Hammerhands HMH-3HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (78):mekhq.campaign.Unit@2cd728
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Behemoth Heavy Tank Hawks Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (76):mekhq.campaign.Unit@c954e
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Behemoth Heavy Tank Hawks Ronin, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (75):mekhq.campaign.Unit@1e5cf0
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Mobile Headquarters, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (68):mekhq.campaign.Unit@167c6fd
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Talon TLN-5HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (67):mekhq.campaign.Unit@39452f
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Hussar HSR-200-HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (66):mekhq.campaign.Unit@1ed13da
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Thunderbolt TDR-6G, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (64):mekhq.campaign.Unit@1b25a82
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [BattleAxe BKX-7K, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (63):mekhq.campaign.Unit@541b02
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Starslayer STY-2C, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (60):mekhq.campaign.Unit@1b94ea2
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Firefly FFL-3PP2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (59):mekhq.campaign.Unit@d99277
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Talon TLN-5W, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (58):mekhq.campaign.Unit@1eef2c
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Night Hawk NTK-2Q, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (56):mekhq.campaign.Unit@e86614
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Crusader CRD-6A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (55):mekhq.campaign.Unit@185e90f
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Warhammer WHM-6HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (54):mekhq.campaign.Unit@8809ce
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Rifleman RFL-3B, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (53):mekhq.campaign.Unit@13bc30a
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Griffin GRF-2N, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (52):mekhq.campaign.Unit@8201a7
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Wolverine II WVR-7H, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (51):mekhq.campaign.Unit@13a8eb1
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Phoenix Hawk PXH-1b, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (50):mekhq.campaign.Unit@16e1782
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Ostscout OTT-7J1, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (48):mekhq.campaign.Unit@ae3da8
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Mongoose MON-67A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (47):mekhq.campaign.Unit@15200be
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Javelin JVN-10N1, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (46):mekhq.campaign.Unit@aecb09
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Trebuchet TBT-5S2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (44):mekhq.campaign.Unit@193c366
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Wolfhound WLF-4A, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (43):mekhq.campaign.Unit@199d8
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Valkyrie VLK-QA2, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (42):mekhq.campaign.Unit@11b50a1
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Panther PNT-9HR, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (41):mekhq.campaign.Unit@4ab40a
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Thunderbolt TDR-5Sb, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (39):mekhq.campaign.Unit@721965
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Archer ARC-2Rb, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (36):mekhq.campaign.Unit@e14ebc
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Marauder MAD-2R, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (35):mekhq.campaign.Unit@1f82253
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning Entity [Galahad GLH-2D, -1] from getEntityFromXmlString(String)...
ID pre-defined and entity not null; setting entity's ID.
Adding unit: (34):mekhq.campaign.Unit@1957a34
Executing getEntityFromXmlString(Node)...
Executing getEntityFromXmlString(String)...
Returning null from getEntityFromXmlString(String)...
Adding unit: (29):mekhq.campaign.Unit@8a2006
java.lang.NullPointerException
at mekhq.campaign.Campaign.checkDuplicateNamesDuringAdd(Campaign.java:3165)
at mekhq.campaign.Campaign.addUnit(Campaign.java:471)
at mekhq.campaign.Campaign.processUnitNodes(Campaign.java:2241)
at mekhq.campaign.Campaign.createCampaignFromXMLFileInputStream(Campaign.java:1731)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:143)
at mekhq.gui.dialog.DataLoadingDialog$Task.doInBackground(DataLoadingDialog.java:100)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
Reply
#6
The unit with id 29 is returning null which means that it can't be loaded for some reason. Please open up your cpnx file in a text editor and search for the line that starts with "<unit id=29". What is that unit? Is it a custom unit and if so are you sure that unit is in the mechfiles that you are currently using?
Reply
#7
ok will see what i can do?  Ok i opened it in a text editor but was not able to find that at all.  I see where it is at in the mekhqlog i saw the other units but nothing for unit id 29 when i put it in the text editor i even used the search engine with it.  oh well will try to see how far back i can go if not will transfer a game from the previous version over to it and start from there  :'(
Reply
#8
Can you zip up the save game and post it?
Reply
#9
I think I know what happened.  It had to do with me doing a bunch of customizing through MML seperately from MekHQ. I was trying to rebuild some of the old star league mechs and I think it was one of them.  Anyways that pretty much screwed up my campaign.  I am lucky to have a game saved from the previous version so I lose about 8 months worth of stuff game time.  I also ended up deleting the games and had to bring in the old customs from the previous version Sad  If it happens again I will zip everything and re post it in this thread.
Reply
#10
You could have just edited the file and deleted the offending line of code then manually substituted a working version.
That's what I do, and it's not too hard. It's pretty self explanatory if you look at it for awhile.
Reply
#11
I looked for it in the text editor and didn't see it.  I see it in the log but never saw it in the text editor Sad
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't load/save your campaign? Taharqa 159 35,363 06-03-2019, 09:12 AM
Last Post: SilverSword
  campaign won't load after deleting a vehicle (GM mode) Cik 6 1,128 11-25-2014, 10:57 PM
Last Post: Cik
  Cannot load campaign, if there is no doctor? luiges90 2 729 02-25-2014, 01:28 PM
Last Post: ralgith
  Option to load a savegame and load Princess instead of TestBot? Vashnevskaya 4 1,732 03-30-2013, 11:37 AM
Last Post: Netzilla
  Help Please my campaign suddenly won't load waylander 2 970 02-16-2012, 03:16 PM
Last Post: Netzilla
  Unable to bring up a saved campaign in version 1.11 saracen 5 1,414 12-31-2011, 12:24 PM
Last Post: Jayof9s
  Cannot load campaign T.S. Hawk 2 1,130 12-23-2011, 02:14 AM
Last Post: Taharqa
  Unable to load campaign with v0.1.10 DaddyHolby 14 3,082 12-07-2011, 12:03 AM
Last Post: DaddyHolby
  Unable to save campaign in v0.1.10 Mukaikubo 7 1,852 12-06-2011, 09:18 PM
Last Post: Mukaikubo
  Now I'm getting an NPE when trying to load my campaign from xml. ralgith 1 935 09-02-2011, 10:20 AM
Last Post: ralgith

Forum Jump:


Users browsing this thread: 1 Guest(s)