Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 483172

Summary: [DataBinding] missing error logging on update errors
Product: [Eclipse Project] Platform Reporter: Christian Pontesegger <christian.pontesegger>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: info, Lars.Vogel, simon.scholz
Version: 4.4.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Christian Pontesegger CLA 2015-11-27 07:38:53 EST
ValueBindung.run() catches all kinds of exceptions, eg from update converters or validators. Unfortunately it does not report these exceptions. This is extremely annoying to debug when there is no indication where things go wrong.

Eventually trace messages would be an option if these kind of errors are not wanted in log files.

example for such an error:

sourceStrategy.setConverter(new Converter(Object.class, String.class) {

			@Override
			public Object convert(final Object fromObject) {
				throw new NPE();
			}
		});

		context.bindValue(ViewerProperties.singleSelection().observe(fcmbTypeViewer), target, sourceStrategy,
				new UpdateValueStrategy(UpdateValueStrategy.POLICY_NEVER));
// initial update of data
context.updateModels();
Comment 1 Conrad Groth CLA 2015-12-06 12:37:14 EST
duplicate to 388802
Comment 2 Christian Pontesegger CLA 2015-12-08 04:47:50 EST

*** This bug has been marked as a duplicate of bug 388802 ***