This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 149857 [details] Stack trace showing the NPE in Outline.editCellAt(Outline.java:759) When an OutlineView is created with getOutline().setFillsViewportHeight(true)/setDragEnabled(true), a NullPointerException occurs if the area below the last row is clicked (because convertRowIndexToModel will return -1 and getPathForRow in turn will return null). Stack trace is attached.
Created attachment 149858 [details] Simple platform application exhibiting the bug To reproduce the bug in the attached example platform application, run the application and click the gray area below the example nodes in the central TopComponent.
Setting to P4 since there is a workaround--simply set setFillsViewportHeight(false).
Thanks for the testing application. The NPE is fixed by changeset: 279250:1cd094773c10 http://hg.netbeans.org/core-main/rev/1cd094773c10
Thanks for the fix! My platform app loves OutlineView :-)
We're glad to hear that. :-) Thanks.
Integrated into 'main-silver', will be available in build *201410140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1cd094773c10 User: mentlicher@netbeans.org Log: #247882: Prevent from NPEs.