[solved]Could not open the Visual Page Editor: org.eclipse.swt.SWTError: XPCOM error -2142109675

Version 1

    I'm trying to see the interface design for JSF of a file. xhtml and the eclipse frawerok throw an error :

     

    Could not open the Visual Page Editor:

    org.eclipse.swt.SWTError: XPCOM error -2142109675

     

    I'm using ubuntu 10.4 and eclipse helios.

     

    I solved the problem by closing and restarting eclipse by terminal, typing:

     

    $ sudo ./eclipse

     

    The problem was caused because the eclipse's launcher don't had enough privileges.

     

    Bye.