Hi,
I tried to implement HibernateMirrorFilter and got a NullPointerException during initialization in
org.compass.gps.device.hibernate.embedded.CompassEventListener. In a closer look I realized that is caused by this line:
compassHolder.mirrorFilter = (HibernateMirrorFilter) ClassUtils.forName(mirrorFilterClass, compassHolder.compass.getSettings().getClassLoader()).newInstance();
since compassHolder.compass is null at this time. It is set after this code block:
compassHolder.compass = compassConfiguration.buildCompass();
Moving this statement in front of the class loader solved it. Please update in trunk.
Thanks