#31 NullPointerException when contributing to Go To menu

closed-accepted
None
5
2009-05-17
2009-04-16
Anonymous
No

The LaTeX editor menu contributor class does not check whether the Navigate/GoTo contribution point really exists, and it tries to add the separator even when the IMenuManager object is null. This patch hides the problem by checking for null before adding the menu. The real solution would be to find another place for inserting the separator.

Discussion

  •  
    Attachments
  • Hi,

    thanks for the patch. I have added your changes to cvs, will be part of the next release.

     
    • assigned_to: nobody --> borisvl
    • status: open --> open-accepted
     
  • Added to TeXlipse public release

     
    • status: open-accepted --> closed-accepted