eclipse-windowbuilder / eclipse-windowbuilder/windowbuilder
WindowBuilder crashing because of PojoObservables
A pull request for this has already been merged.
- #784 by @ptziegler — merged
- Dominant language
- Java
- Stars
- 97
- Forks
- 34
- Avg merge
- 21h 38m
- Merged PRs (30d)
- 29
Description
Hi
I am getting an error with windowbuilder. This line sticks out.
line: 172 org.eclipse.core.databinding.beans.PojoObservables cannot be resolved to a type
Is it a setting that I can set to make WindowBuilder not use this class?
Version: updated WindowBuilder Current of Eclipse
Full stack trace:
line: 167 IObservableValue is a raw type. References to generic type IObservableValue should be parameterized
line: 168 IObservableValue is a raw type. References to generic type IObservableValue should be parameterized
line: 169 Type safety: Unchecked invocation bindValue(IObservableValue, IObservableValue, null, null) of the generic method bindValue(IObservableValue, IObservableValue, UpdateValueStrategy<? super T,? extends M>, UpdateValueStrategy<? super M,? extends T>) of type DataBindingContext
line: 169 Type safety: The expression of type IObservableValue needs unchecked conversion to conform to IObservableValue
line: 169 Type safety: The expression of type IObservableValue needs unchecked conversion to conform to IObservableValue
line: 171 ObservableListContentProvider is a raw type. References to generic type ObservableListContentProvider should be parameterized
line: 171 ObservableListContentProvider is a raw type. References to generic type ObservableListContentProvider should be parameterized
line: 172 IObservableMap is a raw type. References to generic type IObservableMap<K,V> should be parameterized
line: 172 org.eclipse.core.databinding.beans.PojoObservables cannot be resolved to a type
line: 176 IObservableList is a raw type. References to generic type IObservableList should be parameterized
line: 180 IValueProperty is a raw type. References to generic type IValueProperty<S,T> should be parameterized
line: 181 IBeanValueProperty is a raw type. References to generic type IBeanValueProperty<S,T> should be parameterized
line: 182 Type safety: Unchecked invocation create(TableViewer, DataBindingContext, CellEditor, IValueProperty, IBeanValueProperty) of the generic method create(ColumnViewer, DataBindingContext, CellEditor, IValueProperty<? super CellEditor,T>, IValueProperty<E,M>) of type ObservableValueEditingSupport
line: 182 Type safety: The expression of type IValueProperty needs unchecked conversion to conform to IValueProperty<? super CellEditor,Object>
line: 182 Type safety: The expression of type IBeanValueProperty needs unchecked conversion to conform to IValueProperty<Object,Object>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generated WindowBuilder source corresponding to lines 167–182 and verify how the Eclipse data-binding types are resolved. Review merged pull request #784 for the work already undertaken. Done means the generated code no longer reports the unresolved PojoObservables type or the listed binding errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100