eclipse-windowbuilder / eclipse-windowbuilder/windowbuilder

WindowBuilder crashing because of PojoObservables

Open
#783 9 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #784 by @ptziegler — merged
bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.