addJar() calls this, which happens before the spark listener bus is initialized.

Another way is to initialize the spark listener bus super early (before add jars). I don't prefer this, however, because it increases the gap between the initializations of the bus and the UI.