I have created a class that simply extends `java.lang.Object`.

I can use this object on its own to create any number of instances of it, but I cannot seem to use it inside an array or list.

```
public static Area[] areas = null;
areas[0] = new Area(340, 64, -189, 20, wl);

// Note that <Area> was something my compiler warned me to do, after I tried without it
public static List<Area> areaList;
areaList.add(0, new Area(340, 64, -189, 20, wl));

```

It always comes up with a `NullPointerException`:

```none
07:58:11 [SEVERE] Error occurred while enabling EasyProtect v1.0 (Is it up to date?): null
java.lang.NullPointerException
    at main.EasyProtect.onEnable(EasyProtect.java:41)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at net.madjawa.pluginreloader.PluginReloader.loadPlugin(PluginReloader.java:232)
    at net.madjawa.pluginreloader.PluginReloader.onCommand(PluginReloader.java:85)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

```