| Summary: | [LML] NPE in LguiItem#isLayout | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Jeffrey Overbey <com-eclipse-dot-org> | ||||
| Component: | RM | Assignee: | Claudia Knobloch <cla.knobloch> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cla.knobloch, g.watson | ||||
| Version: | 5.0.4 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 206942 [details]
Further NPE check
I will check in the patch into the ptp repository ASAP.
Solved by another code patch. Great! Thanks, Claudia! |
One of the SC11 tutorial participants got this NPE today: java.lang.NullPointerException at org.eclipse.ptp.rm.lml.internal.core.model.LguiItem.isLayout(LguiItem.java:310) at org.eclipse.ptp.rm.lml.ui.views.TableView.createColumns(TableView.java:434) at org.eclipse.ptp.rm.lml.ui.views.TableView.createTable(TableView.java:645) at org.eclipse.ptp.rm.lml.ui.views.TableView.access$5(TableView.java:643) at org.eclipse.ptp.rm.lml.ui.views.TableView$LMLTableListListener$1.run(TableView.java:89) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) It looks like an easy fix: line 310 in LguiItem.java is this: return (lgui == null) && lgui.isLayout();