Hi Larry,
So I did a work around by doing the following in the shutdown
functions and recompiling.
in EditorPlugin.java I commented out in the following:
public void shutdown() {
/* SparkManager.getConnection().removePacketListener(listener);
*/
ProviderManager providerManager = ProviderManager.getInstance();
providerManager.removeExtensionProvider(Cursor.ELEMENT_NAME,
EditorConstants.NAMESPACE);
providerManager.removeExtensionProvider(Insert.ELEMENT_NAME,
EditorConstants.NAMESPACE);
providerManager.removeExtensionProvider(Remove.ELEMENT_NAME,
EditorConstants.NAMESPACE);
providerManager.removeExtensionProvider(Update.ELEMENT_NAME,
EditorConstants.NAMESPACE);
}
and in WhiteboardPlugin.java I commented out:
public void shutdown() {
manager.removeExtensionProvider(SVGConstants.ELEMENT_NAME,
SVGConstants.NAMESPACE);
manager.removeIQProvider(WhiteboardInvitation.ELEMENT_NAME,
SVGConstants.NAMESPACE);
manager.removeIQProvider(WhiteboardNotification.ELEMENT_NAME,
SVGConstants.NAMESPACE);
/* connection.removePacketListener(svgPacketListener);
connection.removePacketListener(invitationListener);
connection.removePacketListener(notificationListener);
svgPacketListener = null;
invitationListener = null;
notificationListener = null;
whiteboardMap = null;
workspace = null;
manager = null;
*/ }
This isn't very good as the listeners aren't being removed gracefully
but at least I'm not getting the javanullexception errors in my Spark
log files. Any idea why they might be null or something related is
null when closing Spark?
Thanks for your help.
Cheers,
Sean
> > at java.awt.EventDispatchThread.run(Unknown Source)- Hide quoted text -
>
> - Show quoted text -