WindowBuilder crashing because of PojoObservables

未關閉
#783 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

已經有一個關聯 PR 被合併了。

  • #784 來自 @ptziegler —— 已合併

評估

難度
3/5
預估耗時
1-2 天
新手友好度
20/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
java
領域
desktop

研究方向

首先定位與第 167–182 行对应的生成的 WindowBuilder 源代码,并验证 Eclipse data-binding 类型是如何解析的。查看已合并的 pull request #784,了解已经开展的工作。当生成的代码不再报告未解析的 PojoObservables 类型或所列出的 binding 错误时,即视为完成。

由索引模型根據 Issue 內容生成。

描述

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>

主要語言
Java
星號
97
分支
34
平均合併
3 天 15 小時
30 天內合併 PR
9

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

eclipse-windowbuilder/windowbuilder 的其他 Issue

查看 eclipse-windowbuilder/windowbuilder 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。