Initialization of WebMacro
wm = new WM("[FullPathToFile]");
fails on
java.lang.NullPointerException
at org.webmacro.Broker.getResource(Broker.java:763)
at org.webmacro.Broker.loadSettings(Broker.java:540)
at org.webmacro.Broker.<init>(Broker.java:159)
at org.webmacro.Broker.getBroker(Broker.java:502)
at org.webmacro.WM.<init>(WM.java:89)
Filed "_myClassLoader" in Broker.class is null. Maybe this is the reason:
ClassLoader java.lang.Class.getClassLoader()
Returns the class loader for the class. Some implementations may use null to represent the bootstrap class loader. This method will return null in such implementations if this class was loaded by the bootstrap class loader.
As I see in Broker.java, there is a possobility of loading the preferences by _systemClassLoader of by opeinf URL/File but code fails on NullPointer Exception