Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[riena-dev] NPE from AbstractSWTWidgetRidget.saveData()

I am seeing some NPEs from saveData() in the tests (for example in
CompositeTableRidgetTest).

From my POV there are two things that need to be changed there:

1. widget.data can be null (see contract of widget.getData()). The
saveData() method has to be able to deal with this
2. Why are we using reflection instead of widget.getData() ?

Greetings from Portland,
Elias.

-- 
Elias Volanakis | Technical Lead | http://eclipsesource.com
elias@xxxxxxxxxxxxxxxxx | +1 503 929 5537 | @evolanakis


Back to the top