Commits

Jochen Schramm committed 3310520

Fix bug preventing communication over dbus

The different JUMMP applications communicate via dbus with each other, i.e.
JUMMP's core application and the index creator tool.
This communication was prevented by a null pointer exception caused by
a method call changing a returned config object.

  • Participants
  • Parent commits c1c9257

Comments (0)

Files changed (1)

File jummp-plugins/jummp-plugin-dbus/src/groovy/net/biomodels/jummp/dbus/ApplicationDBusAdapterImpl.groovy

     }
 
     public Map<String, String> getJummpConfig() {
-        return (Map<String, String>)((ConfigObject)grailsApplication.config.get("jummp")).flatten();
+        return (Map<String, String>)((ConfigObject)grailsApplication.config.get("jummp"))
     }
 
     public boolean isAuthenticated(String hash) {