Community
Participate
Working Groups
Steps to reproduce the NPE: - create the XML Examples project - open GolfCountryClub.xsd - ensure the editor is in source mode - in the outline view select the EmployeeType complex type - in the source editor, with the mouse drag and select the entire markup for the EmployeeType - use the top menu Source->Add block comment A dialog pops up and a few entries with NPEs are added to the PDE log. See the attached stack trace. Same behaviour in 3.0.3 so this is not a regression in 3.1 but some old problem undetected until now.
Created attachment 116110 [details] Stack trace
Wini, I can see this problem with the latest M-3.0.5-20090501163713. Please investigate today.
I got the M-3.0.5-20090501163713 driver and can reproduce the problem. The NPE is actually fixed by Bug 156564. Once I apply the patch, I can do the "Add block comment' without seeing any NPE and the outline view is refreshed correctly. The fix for Bug 156564 was originally dropped into WTP 3.1 200904230645 build. We may need to put it in WTP 3.0.5 stream as well.
Fixed indirectly as part of fixing bug 275087.
Closing.