Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

WindowBuilder crashing because of PojoObservables

Aberta
#783 9 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Um pull request relacionado já foi integrado.

  • #784 de @ptziegler — integrado

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
20/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
java
Domínio
desktop

Direção de pesquisa

Comece localizando o código-fonte gerado do WindowBuilder correspondente às linhas 167–182 e verifique como os tipos de Eclipse data-binding são resolvidos. Revise o pull request mesclado #784 para consultar o trabalho já realizado. Considera-se concluído quando o código gerado não reportar mais o tipo PojoObservables não resolvido nem os erros de binding listados.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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>

Linguagem predominante
Java
Estrelas
97
Forks
34
Merge médio
1d 14h
PRs com merge (30d)
27

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de eclipse-windowbuilder/windowbuilder

Todas as issues de eclipse-windowbuilder/windowbuilder

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.