Re: Java Templates View fails

From: David LeBer (dleber_wode..odeferous.com)
Date: Tue Nov 25 2008 - 12:51:41 EST

  • Next message: Chuck Hill: "Re: Java Templates View fails"

    On 25-Nov-08, at 12:31 PM, David LeBer wrote:

    >
    > On 25-Nov-08, at 12:30 PM, Chuck Hill wrote:
    >
    >>
    >> On Nov 25, 2008, at 9:21 AM, David LeBer wrote:
    >>
    >>> Not sure if this is WOLips specific or just a Eclipse Ganymede
    >>> issue:
    >>>
    >>> When I try an view or edit the Java Templates:
    >>>
    >>> Preferences -> Java -> Editor - > Templates
    >>>
    >>> I get an error:
    >>>
    >>> "The currently displayed page contains invalid values"
    >>>
    >>> Does anyone else get this?
    >>
    >>
    >> Worked for me.
    >
    > Ah, so it's personal.

    I created a new empty workspace and still get the same error.

    This is in /WORKSPACE/.metadata/.log

    !ENTRY org.eclipse.jface 4 2 2008-11-25 12:38:24.369
    !MESSAGE Problems occurred when invoking code from plug-in:
    "org.eclipse.jface".
    !STACK 0
    java.lang.NullPointerException
            at
    org
    .eclipse
    .ui.texteditor.templates.ColumnLayout.computeTrim(ColumnLayout.java:222)
            at
    org
    .eclipse.ui.texteditor.templates.ColumnLayout.layout(ColumnLayout.java:
    195)
            at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1052)
            at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:910)
            at org.eclipse.swt.widgets.Control.setBounds(Control.java:3215)
            at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:689)
            at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:193)
            at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1052)
            at org.eclipse.swt.widgets.Composite.layout(Composite.java:747)
            at org.eclipse.swt.widgets.Composite.layout(Composite.java:705)
            at org.eclipse.swt.widgets.Composite.layout(Composite.java:668)
            at
    org
    .eclipse
    .ui
    .texteditor
    .templates
    .TemplatePreferencePage.createContents(TemplatePreferencePage.java:989)
            at
    org
    .eclipse
    .jdt
    .internal
    .ui
    .preferences
    .JavaTemplatePreferencePage
    .createContents(JavaTemplatePreferencePage.java:74)
            at
    org
    .eclipse
    .jface.preference.PreferencePage.createControl(PreferencePage.java:235)
    <snip>

    So it's either something beyond my control or something outside the
    Workspace. Is there any preference stuff stored outside the Workspace?

    ;david

    --
    David LeBer
    Codeferous Software
    'co-def-er-ous' adj. Literally 'code-bearing'
    site: 	http://codeferous.com
    blog: 	http://davidleber.net
    profile:	http://www.linkedin.com/in/davidleber
    twitter:	http://twitter.com/rebeld
    --
    Toronto Area Cocoa / WebObjects developers group:
    http://tacow.org
    



    This archive was generated by hypermail 2.0.0 : Tue Nov 25 2008 - 12:52:26 EST