Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 5, 2014 5:39:03 GMT
[22:38:01 ERROR]: Could not load 'plugins/PacksFreedomMod_4.0.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-1514] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-1514] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-1514] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:358) [spigot.jar:git-Spigot-1514] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:135) [spigot.jar:git-Spigot-1514] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:457) [spigot.jar:git-Spigot-1514] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1514] Caused by: java.lang.ExceptionInInitializerError at me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry.getBoolean(TFM_ConfigEntry.java:127) ~[?:?] at me.StevenLawson.TotalFreedomMod.TFM_Util.<clinit>(TFM_Util.java:53) ~[?:?] at me.StevenLawson.TotalFreedomMod.TotalFreedomMod.<clinit>(TotalFreedomMod.java:50) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51] at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_51] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[spigot.jar:git-Spigot-1514] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[spigot.jar:git-Spigot-1514] ... 6 more Caused by: java.lang.NullPointerException at me.StevenLawson.TotalFreedomMod.Config.TFM_MainConfig.<clinit>(TFM_MainConfig.java:20) ~[?:?] at me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry.getBoolean(TFM_ConfigEntry.java:127) ~[?:?] at me.StevenLawson.TotalFreedomMod.TFM_Util.<clinit>(TFM_Util.java:53) ~[?:?] at me.StevenLawson.TotalFreedomMod.TotalFreedomMod.<clinit>(TotalFreedomMod.java:50) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:1.7.0_51] at java.lang.Class.forName(Class.java:270) ~[?:1.7.0_51] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[spigot.jar:git-Spigot-1514] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[spigot.jar:git-Spigot-1514]
Any help? ... 6 more
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 5, 2014 20:16:29 GMT
I deleted the useless responses to this thread.
Please upload your "TFM_MainConfig.java", "TFM_ConfigEntry.java", and "config.yml" files to Pastebin and post links here.
--- edit: unless you know more about TFM than I do, quit trying to reply to this thread with useless help edit again: yeah, I can be an arrogant bastard
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 6, 2014 0:20:50 GMT
I deleted the useless responses to this thread. Please upload your "TFM_MainConfig.java", "TFM_ConfigEntry.java", and "config.yml" files to Pastebin and post links here. --- edit: unless you know more about TFM than I do, quit trying to reply to this thread with useless help edit again: yeah, I can be an arrogant bastard Yeah I did so much shit to those files xD
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 6, 2014 0:21:46 GMT
Well, post them up and I'll look them over.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 6, 2014 0:24:05 GMT
Well, post them up and I'll look them over. I'm not on my computer wkfiqjudkwudjqiduwuduuw
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 6, 2014 1:41:40 GMT
TFM_ConfigEntry package me.StevenLawson.TotalFreedomMod.Config;
import java.util.List;
public enum TFM_ConfigEntry { ALLOW_EXPLOSIONS(Boolean.class, "allow.explosions"), ALLOW_FIRE_PLACE(Boolean.class, "allow.fire_place"), ALLOW_FIRE_SPREAD(Boolean.class, "allow.fire_spread"), ALLOW_FLUID_SPREAD(Boolean.class, "allow.fluid_spread"), ALLOW_LAVA_DAMAGE(Boolean.class, "allow.lava_damage"), ALLOW_LAVA_PLACE(Boolean.class, "allow.lava_place"), ALLOW_TNT_MINECARTS(Boolean.class, "allow.tnt_minecarts"), ALLOW_WATER_PLACE(Boolean.class, "allow.water_place"), // MOB_LIMITER_ENABLED(Boolean.class, "moblimiter.enabled"), MOB_LIMITER_MAX(Integer.class, "moblimiter.max"), MOB_LIMITER_DISABLE_DRAGON(Boolean.class, "moblimiter.disable.dragon"), MOB_LIMITER_DISABLE_GHAST(Boolean.class, "moblimiter.disable.ghast"), MOB_LIMITER_DISABLE_GIANT(Boolean.class, "moblimiter.disable.giant"), MOB_LIMITER_DISABLE_SLIME(Boolean.class, "moblimiter.disable.slime"), // HTTPD_ENABLED(Boolean.class, "httpd.enabled"), HTTPD_PORT(Integer.class, "httpd.port"), HTTPD_PUBLIC_FOLDER(String.class, "httpd.public_folder"), // SERVER_COLORFUL_MOTD(Boolean.class, "server.colorful_motd"), SERVER_NAME(String.class, "server.name"), SERVER_ADDRESS(String.class, "server.address"), SERVER_MOTD(String.class, "server.motd"), SERVER_OWNERS(List.class, "server.owners"), SERVER_BAN_URL(String.class, "server.ban_url"), SERVER_PERMBAN_URL(String.class, "server.permban_url"), // TWITTERBOT_ENABLED(Boolean.class, "twitterbot.enabled"), TWITTERBOT_SECRET(String.class, "twitterbot.secret"), TWITTERBOT_URL(String.class, "twitterbot.url"), // DISABLE_NIGHT(Boolean.class, "disable.night"), DISABLE_WEATHER(Boolean.class, "disable.weather"), // ENABLE_PREPROCESS_LOG(Boolean.class, "preprocess_log"), ENABLE_PET_PROTECT(Boolean.class, "petprotect.enabled"), // LANDMINES_ENABLED(Boolean.class, "landmines_enabled"), TOSSMOB_ENABLED(Boolean.class, "tossmob_enabled"), AUTOKICK_ENABLED(Boolean.class, "autokick.enabled"), MP44_ENABLED(Boolean.class, "mp44_enabled"), // PROTECTAREA_ENABLED(Boolean.class, "protectarea.enabled"), PROTECTAREA_SPAWNPOINTS(Boolean.class, "protectarea.auto_protect_spawnpoints"), PROTECTAREA_RADIUS(Double.class, "protectarea.auto_protect_radius"), // NUKE_MONITOR_ENABLED(Boolean.class, "nukemonitor.enabled"), NUKE_MONITOR_COUNT_BREAK(Integer.class, "nukemonitor.count_break"), NUKE_MONITOR_COUNT_PLACE(Integer.class, "nukemonitor.count_place"), NUKE_MONITOR_RANGE(Double.class, "nukemonitor.range"), // AUTOKICK_THRESHOLD(Double.class, "autokick.threshold"), AUTOKICK_TIME(Integer.class, "autokick.time"), // LOGS_SECRET(String.class, "logs.secret"), LOGS_URL(String.class, "logs.url"), // FLATLANDS_GENERATE(Boolean.class, "flatlands.generate"), FLATLANDS_GENERATE_PARAMS(String.class, "flatlands.generate_params"), // EXPLOSIVE_RADIUS(Double.class, "explosive_radius"), FREECAM_TRIGGER_COUNT(Integer.class, "freecam_trigger_count"), SERVICE_CHECKER_URL(String.class, "service_checker_url"), BLOCKED_COMMANDS(List.class, "blocked_commands"), HOST_SENDER_NAMES(List.class, "host_sender_names"), UNBANNABLE_USERNAMES(List.class, "unbannable_usernames"), ADMIN_ONLY_MODE(Boolean.class, "admin_only_mode"), AUTO_ENTITY_WIPE(Boolean.class, "auto_wipe"), CONSOLE_IS_SENIOR(Boolean.class, "console_is_senior"), // PLAYER_IS_NOOB(Boolean.class, "player.is_noob"), PLAYER_IS_SYSTEM_ADMIN(Boolean.class, "player.is.sys_admin"), PLAYER_IS_EXECUTIVE(Boolean.class, "player.is.master_builder"), PLAYER_IS_HONORARY_SENIOR_ADMIN(Boolean.class, "player.is.honorary_senior_admin"), PLAYER_IS_MASTERBUILDER(Boolean.class, "player.is.master_builder"); // private final Class<?> type; private final String configName;
private TFM_ConfigEntry(Class<?> type, String configName) { this.type = type; this.configName = configName; }
public Class<?> getType() { return type; }
public String getConfigName() { return configName; }
public String getString() { return TFM_MainConfig.getString(this); }
public String setString(String value) { TFM_MainConfig.setString(this, value); return value; }
public Double getDouble() { return TFM_MainConfig.getDouble(this); }
public Double setDouble(Double value) { TFM_MainConfig.setDouble(this, value); return value; }
public Boolean getBoolean() { return TFM_MainConfig.getBoolean(this); }
public Boolean setBoolean(Boolean value) { TFM_MainConfig.setBoolean(this, value); return value; }
public Integer getInteger() { return TFM_MainConfig.getInteger(this); }
public Integer setInteger(Integer value) { TFM_MainConfig.setInteger(this, value); return value; }
public List<?> getList() { return TFM_MainConfig.getList(this); }
public static TFM_ConfigEntry findConfigEntry(String name) { name = name.toLowerCase().replace("_", ""); for (TFM_ConfigEntry entry : values()) { if (entry.toString().toLowerCase().replace("_", "").equals(name)) { return entry; } } return null; } }
Main Config package me.StevenLawson.TotalFreedomMod.Config;
import me.StevenLawson.TotalFreedomMod.Config.TFM_ConfigEntry; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.EnumMap; import java.util.List; import me.StevenLawson.TotalFreedomMod.TFM_Log; import me.StevenLawson.TotalFreedomMod.TotalFreedomMod; import net.minecraft.util.org.apache.commons.io.FileUtils; import org.bukkit.configuration.InvalidConfigurationException; import org.bukkit.configuration.file.YamlConfiguration;
public class TFM_MainConfig { public static final String CONFIG_FILENAME = "config.yml"; public static final File CONFIG_FILE = new File(TotalFreedomMod.plugin.getDataFolder(), CONFIG_FILENAME); // private static final EnumMap<TFM_ConfigEntry, Object> ENTRY_MAP;
static { ENTRY_MAP = new EnumMap<TFM_ConfigEntry, Object>(TFM_ConfigEntry.class); try { try { InputStream defaultConfig = getDefaultConfig(); TFM_Config_DefaultsLoader defaultsLoader = new TFM_Config_DefaultsLoader(defaultConfig); for (TFM_ConfigEntry entry : TFM_ConfigEntry.values()) { ENTRY_MAP.put(entry, defaultsLoader.get(entry.getConfigName())); } defaultConfig.close(); } catch (IOException ex) { TFM_Log.severe(ex); }
copyDefaultConfig(CONFIG_FILE);
load(); } catch (Exception ex) { TFM_Log.severe(ex); } }
private TFM_MainConfig() { throw new AssertionError(); }
public static final void load() { try { YamlConfiguration config = new YamlConfiguration();
config.load(CONFIG_FILE);
for (TFM_ConfigEntry entry : TFM_ConfigEntry.values()) { String path = entry.getConfigName(); if (config.contains(path)) { Object value = config.get(path); if (value == null || entry.getType().isAssignableFrom(value.getClass())) { ENTRY_MAP.put(entry, value); } else { TFM_Log.warning("Value for " + entry.getConfigName() + " is of type " + value.getClass().getSimpleName() + ". Needs to be " + entry.getType().getSimpleName() + ". Using default value."); } } else { TFM_Log.warning("Missing configuration entry " + entry.getConfigName() + ". Using default value."); } } } catch (FileNotFoundException ex) { TFM_Log.severe(ex); } catch (IOException ex) { TFM_Log.severe(ex); } catch (InvalidConfigurationException ex) { TFM_Log.severe(ex); } }
public static String getString(TFM_ConfigEntry entry) { try { return get(entry, String.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } return null; }
public static void setString(TFM_ConfigEntry entry, String value) { try { set(entry, value, String.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } }
public static Double getDouble(TFM_ConfigEntry entry) { try { return get(entry, Double.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } return null; }
public static void setDouble(TFM_ConfigEntry entry, Double value) { try { set(entry, value, Double.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } }
public static Boolean getBoolean(TFM_ConfigEntry entry) { try { return get(entry, Boolean.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } return null; }
public static void setBoolean(TFM_ConfigEntry entry, Boolean value) { try { set(entry, value, Boolean.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } }
public static Integer getInteger(TFM_ConfigEntry entry) { try { return get(entry, Integer.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } return null; }
public static void setInteger(TFM_ConfigEntry entry, Integer value) { try { set(entry, value, Integer.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } }
public static List getList(TFM_ConfigEntry entry) { try { return get(entry, List.class); } catch (IllegalArgumentException ex) { TFM_Log.severe(ex); } return null; }
public static <T> T get(TFM_ConfigEntry entry, Class<T> type) throws IllegalArgumentException { Object value = ENTRY_MAP.get(entry); try { return type.cast(value); } catch (ClassCastException ex) { throw new IllegalArgumentException(entry.name() + " is not of type " + type.getSimpleName()); } }
public static <T> void set(TFM_ConfigEntry entry, T value, Class<T> type) throws IllegalArgumentException { if (!type.isAssignableFrom(entry.getType())) { throw new IllegalArgumentException(entry.name() + " is not of type " + type.getSimpleName()); } if (value != null && !type.isAssignableFrom(value.getClass())) { throw new IllegalArgumentException("Value is not of type " + type.getSimpleName()); } ENTRY_MAP.put(entry, value); }
private static void copyDefaultConfig(File targetFile) { if (targetFile.exists()) { return; }
TFM_Log.info("Installing default configuration file template: " + targetFile.getPath());
try { InputStream defaultConfig = getDefaultConfig(); FileUtils.copyInputStreamToFile(defaultConfig, targetFile); defaultConfig.close(); } catch (IOException ex) { TFM_Log.severe(ex); } }
private static InputStream getDefaultConfig() { return TotalFreedomMod.plugin.getResource(CONFIG_FILENAME); }
private static class TFM_Config_DefaultsLoader { private YamlConfiguration defaults = null;
private TFM_Config_DefaultsLoader(InputStream defaultConfig) { try { defaults = new YamlConfiguration(); final InputStreamReader isr = new InputStreamReader(defaultConfig); defaults.load(isr); isr.close(); } catch (IOException ex) { TFM_Log.severe(ex); } catch (InvalidConfigurationException ex) { TFM_Log.severe(ex); } }
public Object get(String path) { return defaults.get(path); } } }
config.yml # PacksFreedomMod v4.0 Configuration # by Madgeek1450 and DarthSalamon, modifed by packeretteswan
# Generic server information server: # You should change this to your server's name name: PacksFreedom
# The address your server is located at address: 66.85.150.13:26765
# Shown at the server list motd: PacksFreedom &8- Spigot 1.7.9
# Every word in the MOTD will be a different color unless prefixed by a color code colorful_motd: true
# All players who show up as owner owners: - markbyron
# URL players should appeal for bans at ban_url: http://packsfreedom.icyboards.net/
# URL players should appeal for permanent bans at permban_url: http://bit.ly/PermBanRelease # PacksFreedomMod Ranks Configuration player.is_noob: - Example1 player.is.sys_admin: - packeretteswan - Citisma - Smart_Mann player.is.master_builder: - ryandw11 player.is.honorary_senior_admin: - Elephants111 player.is_executive: - DDQ888
# Blocking certain events allow: fire_place: false fire_spread: false fluid_spread: false lava_place: false lava_damage: false water_place: false tnt_minecarts: false explosions: false
explosive_radius: 4.0
# Blocked commands: # # How blocked commands work: # All sections described below are delimited by colon characters. # Make sure that you block a command by its main command name, not an alias # -as all aliases are blocked by default. Commands are case-insensitive. # # * The first section is a letter which indicates which rank may use this command # Valid ranks: # n - Nobody (Completely disabled) # c - Senior Admins (Console) # t - Telnet Admins (Console) # s - Super Admins (Any in-game admin) # o - Ops (Non-Ops won't be able to use it) # # * The second section is a letter which indicates what to do when a player executes that command. # Valid actions: # b - Block the command # a - Block the command and auto-eject that player (for ops and below) # u - Block the command and Return an "Unknown command" message (Used to hide commands) # # * The third section is the command to be blocked, prefixed with a slash # # * The fourth section is the message to send to the player when executing that command. # This should be ommited if unwanted. ChatColors are supported with the &-key. By default # -the starting ChatColor is set to gray. You can use the default 'That command is blocked.' message # by using a single underscore. # # Examples: # - 'n:b:/mail sendall:&4You can't send mails to everyone!' # - 's:a:/stop' # - 'n:b:/ban:_' # blocked_commands: # Disabled commands - 'n:b:/time:Server-side time changing is disabled. Please use /ptime to set your own personal time.' - 'n:b:/gamemode:Use /creative and /survival to set your gamemode.' - 'n:b:/gamerule:_' - 'n:b:/ban:_' - 'n:b:/pardon:_' - 'n:b:/ban-ip:_' - 'n:b:/pardon-ip:_' - 'n:b:/toggledownfall:_' - 'n:b:/effect:Please use /potion to set effects.' - 'n:b:/enderchest:_'
# Superadmin commands - 's:b:/kick:_' - 's:b:/socialspy:_' - 's:b:/kill:_' - 's:b://generate:_' - 's:b://:_' - 's:b:/superpickaxe:_' - 's:b:/brush:_' - 's:b:/mat:_' - 's:b:/tool:_' - 's:b://butcher:_' - 's:b:/scoreboard:_' - 's:b:/setspawn:_' - 's:b://snow:_' - 's:b:/tellraw:_'
# Superadmin commands - Auto-eject - 's:a:/stop' - 's:a:/reload' - 's:a:/save-all' - 's:a:/save-on' - 's:a:/save-off' - 's:a:/clearhistory' - 's:a:/mat'
# Spigot commands - 's:a:/restart' - 's:b:/setblock:_'
# Automatically wipe dropped objects: auto_wipe: true
# Nuking prevention nukemonitor: enabled: true count_break: 100 count_place: 40 range: 10.0
freecam_trigger_count: 10
# Show all attempted commands in the log, will result in duplicate log messages: preprocess_log: true
# Disable certain events disable: night: true weather: true
# Enable misc. features: landmines_enabled: false mp44_enabled: false tossmob_enabled: false
# Moblimiter:
moblimiter: enabled: true max: 50 disable: dragon: true ghast: true slime: true giant: true
# Flatlands flatlands: generate: true # Flatlands generation parameters, uses CleanroomGenerator syntax - http://dev.bukkit.org/server-mods/cleanroomgenerator/ generate_params: 16,stone,32,dirt,1,grass
# Admin-Only Mode admin_only_mode: false
# Protected Areas - Protect areas so that only superadmins can directly modify blocks in those areas. WorldEdit and other such plugins might bypass this. protectarea: enabled: true auto_protect_spawnpoints: true auto_protect_radius: 25.0
# Give the default CONSOLE senior admin privileges. # Handy in development environments. console_is_senior: true
# Host Sender Names - Names that indicate automated services or host-based consoles you want to block from using some commands. # Make sure these are all lower-case. host_sender_names: - rcon - remotebukkit
# Players who cannot be banned by username unbannable_usernames: - honeydew - xephos - captainsparklez - truemu - kiershar - fvdisco - sethbling - notch - jeb_ - gamechap - bertiechap - vechs - antvenom - chimneyswift - deadmau5 - etho - ethoslab - skydoesminecraft - skythekidrs - tobyturner - xxslyfoxhoundxx - paulsoaresjr - sips_ - deadlox - xxslyxx - jeromeasf - dinnerbone - grumm - grum - evilseph - cavemanfilms - herobrine - whiteboy7thst - stampylonghead - stampylongnose - dantdm - gizzy14gazza
# TwitterBot - Used to allow superadmins to verify themselves using twitter twitterbot: enabled: false url: '' secret: ''
# Pet Protect - Prevent tamed pets from being killed. petprotect: enabled: true
# Logs Registration logs: url: '' secret: ''
# Mojang service checker service_checker_url: http://status.mojang.com/check
# HTTPD httpd: enabled: true port: 28966 public_folder: ./public_html
# Inactivity Auto-Kick (Requires Essentials) autokick: enabled: true # autokick_threshold - Percentage of server player capacity used at which players will be automatically kicked for being inactive. Range: 0.0 - 1.0 threshold: 0.9 # autokick_time - Time, in seconds, after which a player should be kicked when inactive time: 120
There you go Madgeek
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 6, 2014 1:50:17 GMT
One more thing - please upload your TotalFreedomMod.java file (main plugin file). Use pastebin please.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 7, 2014 4:06:04 GMT
Bump
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 7, 2014 10:23:26 GMT
Sorry I forgot to look at this yesterday. Can you just send me a link to the entire repo so I don't have to request 1 file at a time (or a zip file)
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 8, 2014 0:59:06 GMT
Sorry I forgot to look at this yesterday. Can you just send me a link to the entire repo so I don't have to request 1 file at a time (or a zip file) I'll Dropbox when I have computer. I tried uploading to github but it didn't work
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 8, 2014 20:13:12 GMT
Fixed it.
Comment out these lines:
// public static final Boolean SYSADMINS = TFM_ConfigEntry.PLAYER_IS_SYSTEM_ADMIN.getBoolean(); // public static final Boolean EXECUTIVES = TFM_ConfigEntry.PLAYER_IS_EXECUTIVE.getBoolean(); // public static final Boolean HSRAS = TFM_ConfigEntry.PLAYER_IS_HONORARY_SENIOR_ADMIN.getBoolean(); // public static final Boolean MASTERBUILDERS = TFM_ConfigEntry.PLAYER_IS_MASTERBUILDER.getBoolean();
in TFM_Util.java
These were being accessed from a static context before the config file was loaded which resulted in the NPE.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 9, 2014 1:42:48 GMT
Thanks Madgeek, Any other way I can fix it? If I comment those lines out I have about 200 other lines of code to change.
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 9, 2014 1:45:48 GMT
Access those configuration options elsewhere in the code, preferably out of static context.
|
|