Commits

Jens Reimann committed c64aa95

fix null realms

Comments (0)

Files changed (1)

org.openscada.ui.databinding.item/src/org/openscada/ui/databinding/item/DataItemObservableValue.java

 
     public DataItemObservableValue ( final BundleContext context, final String connectionId, final String itemId )
     {
-        this ( context, connectionId, itemId, VALUE_POLICY_REPLACE_DISCONNECTED, null );
+        this ( context, connectionId, itemId, VALUE_POLICY_REPLACE_DISCONNECTED, Realm.getDefault() );
     }
     
     public DataItemObservableValue ( final BundleContext context, final String connectionId, final String itemId, Realm realm )
 
     public DataItemObservableValue ( final BundleContext context, final String connectionId, final String itemId, final InvalidValuePolicy invalidValuePolicy )
     {
-    	this ( context, connectionId, itemId, invalidValuePolicy, null );
+    	this ( context, connectionId, itemId, invalidValuePolicy, Realm.getDefault() );
     }
     
     public DataItemObservableValue ( final BundleContext context, final String connectionId, final String itemId, final InvalidValuePolicy invalidValuePolicy, Realm realm )