Issue Details (XML | Word | Printable)

Key: DATAFX-18
Type: Bug Bug
Status: In Progress In Progress
Priority: Major Major
Assignee: johanvos
Reporter: johanvos
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
datafx

a property with value null leads to a NPE

Created: 20/Sep/12 07:15 PM   Updated: 24/Sep/12 07:22 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: johanvos


 Description  « Hide

If an existing property has a value of null, an NPE is thrown by the javafx.scene.control.Control. java.lang.NullPointerException
at org.javafxdata.datasources.protocol.ObjectDataSource.getMyElement(Unknown Source)
at org.javafxdata.datasources.protocol.ObjectDataSource$1.call(Unknown Source)
at org.javafxdata.datasources.protocol.ObjectDataSource$1.call(Unknown Source)
at javafx.scene.control.TableColumn.getCellObservableValue(TableColumn.java:1209)
at javafx.scene.control.TableColumn.getCellObservableValue(TableColumn.java:1179)



johanvos added a comment - 24/Sep/12 07:22 PM

can't reproduce this, since checks on null are around that piece of code.
Might be produced with an older release