Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

WindowBuilder crashing because of PojoObservables

Aperta
#783 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #784 di @ptziegler — integrata

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java
Ambito
desktop

Direzione di ricerca

Inizia individuando il codice sorgente WindowBuilder generato corrispondente alle righe 167–182 e verifica come vengono risolti i tipi Eclipse data-binding. Esamina la pull request unita #784 per il lavoro già svolto. Il lavoro è completato quando il codice generato non segnala più il tipo PojoObservables non risolto né gli errori di binding elencati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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>

Lingua principale
Java
Stelle
97
Fork
34
Merge medio
23h 46m
PR unite (30g)
51

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-windowbuilder/windowbuilder

Tutte le issue di eclipse-windowbuilder/windowbuilder

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.