Solved: Java Templates View fails (I blame the stars)

From: David LeBer (dleber_wode..odeferous.com)
Date: Tue Nov 25 2008 - 15:28:16 EST

  • Next message: Lachlan Deck: "Re: Deployment resources paths in nightly"

    OK, colour me confused.

    I ungzipped another copy of Eclipse from my original download, and
    opened the Java Templates window. It worked fine.
    I installed WOLips - Templates window opened fine.
    Installed Subclipse - Templates window opened fine.
    Switched to my current Workspace - Templates window opened fine.

    The only thing I didn't do this time is struggle with Subversive.

    So somewhere in the things I didn't do this time, I managed to make
    the Java Template window not stop working.

    Solved? Yeah, as much as something that didn't break this time can be
    solved.

    On 25-Nov-08, at 1:06 PM, David LeBer wrote:

    >
    > On 25-Nov-08, at 12:55 PM, Chuck Hill wrote:
    >
    >> On Nov 25, 2008, at 9:51 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.
    >>
    >> Isn't it always? ;-)
    >
    > Yup, seems to be.
    >
    >>>> 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?
    >>
    >>
    >> What versions are you using?
    >>
    >> Version: 3.4.1 Build id: M20080911-1700
    >>
    >> WOLips 3.4.5522 (yeah, a tad old now)
    >
    > Eclipse SDK: Version: 3.4.1 Build id: M20080911-1700
    > WOLips: 3.4.5563 (yesterdays?)
    >

    ;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 - 15:29:13 EST