Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Error load template file when creating new Swing Databinding project
Error load template file when creating new Swing Databinding project [message #900048] Fri, 03 August 2012 16:07 Go to next message
Marian Thieme is currently offline Marian ThiemeFriend
Messages: 11
Registered: August 2012
Junior Member
Hello,

I am getting the following error when creating a Swing Databinding project from scratch: (and It produces an empty java file)

Java Model Exception: Core Exception [code 0] Error load template file
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:50)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4887)
at org.eclipse.wb.internal.core.wizards.DesignerNewElementWizard$WorkbenchRunnableAdapter.run(DesignerNewElementWizard.java:208)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: Error load template file
at org.eclipse.wb.internal.core.databinding.wizards.autobindings.AutomaticDatabindingFirstPage.createTypeMembers(AutomaticDatabindingFirstPage.java:127)
at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType(NewTypeWizardPage.java:2078)
at org.eclipse.wb.internal.core.wizards.AbstractDesignWizard.finishPage(AbstractDesignWizard.java:75)
at org.eclipse.wb.internal.core.wizards.DesignerNewElementWizard$2.run(DesignerNewElementWizard.java:114)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
... 5 more
Caused by: java.lang.NullPointerException
at org.eclipse.wb.internal.swing.databinding.wizards.autobindings.SwingDatabindingProvider.performSubstitutions(SwingDatabindingProvider.java:174)
at org.eclipse.wb.internal.core.databinding.wizards.autobindings.AutomaticDatabindingFirstPage.createTypeMembers(AutomaticDatabindingFirstPage.java:123)
... 9 more
Caused by: org.eclipse.core.runtime.CoreException: Error load template file
at org.eclipse.wb.internal.core.wizards.DesignerNewElementWizard$2.run(DesignerNewElementWizard.java:116)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4887)
at org.eclipse.wb.internal.core.wizards.DesignerNewElementWizard$WorkbenchRunnableAdapter.run(DesignerNewElementWizard.java:208)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: Error load template file
at org.eclipse.wb.internal.core.databinding.wizards.autobindings.AutomaticDatabindingFirstPage.createTypeMembers(AutomaticDatabindingFirstPage.java:127)
at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType(NewTypeWizardPage.java:2078)
at org.eclipse.wb.internal.core.wizards.AbstractDesignWizard.finishPage(AbstractDesignWizard.java:75)
at org.eclipse.wb.internal.core.wizards.DesignerNewElementWizard$2.run(DesignerNewElementWizard.java:114)
... 6 more
Caused by: java.lang.NullPointerException
at org.eclipse.wb.internal.swing.databinding.wizards.autobindings.SwingDatabindingProvider.performSubstitutions(SwingDatabindingProvider.java:174)
at org.eclipse.wb.internal.core.databinding.wizards.autobindings.AutomaticDatabindingFirstPage.createTypeMembers(AutomaticDatabindingFirstPage.java:123)
... 9 more

Eclipse:
Version: 3.7.2
Build id: I20110613-1736

OS:
Linux Ubuntu 12.04

Thanks for any help,
Marian

[Updated on: Sat, 04 August 2012 12:52]

Report message to a moderator

Re: Error load template file when creating new Swing Databinding project [message #900135 is a reply to message #900048] Sat, 04 August 2012 12:54 Go to previous message
Marian Thieme is currently offline Marian ThiemeFriend
Messages: 11
Registered: August 2012
Junior Member

Some more details about the eclipse plugins installed: (list below as it was shown by eclipse->window->preferences->install/update)

Eclipse Java Development Tools 3.7.2.dist-7z8gFcuFFZOlyA8Br73543A7B15B org.eclipse.jdt.feature.group Eclipse.org
Eclipse PDE Plug-in Developer Resources 3.7.2.dist-7b7rFUPF9fnFH org.eclipse.pde.source.feature.group Eclipse.org
Eclipse Platform 3.7.0.I20110613-1736 org.eclipse.platform.ide null
Eclipse Plug-in Development Environment 3.7.2.dist-7b7rFUPF9fnFH org.eclipse.pde.feature.group Eclipse.org
Ecore Tools SDK 1.0.0.v20110608-1633 org.eclipse.emf.ecoretools.sdk.feature.group Eclipse Modeling Project
EMF - Eclipse Modeling Framework SDK 2.7.2.v20120130-0943 org.eclipse.emf.sdk.feature.group Eclipse Modeling Project
Equinox p2 RCP Management Facilities Source 1.0.1.dist-782EqAUkcWGYdGMiW9DK982713B5 org.eclipse.equinox.p2.rcp.feature.source.feature.group Eclipse.org - Equinox
GWT Designer 2.6.0.r37x201206111253 com.google.gdt.eclipse.designer.feature.feature.group Google, Inc.
GWT Designer Core 2.6.0.r37x201206111222 com.google.gdt.eclipse.designer.hosted.feature.feature.group Google, Inc.
GWT Designer Editor 2.6.0.r37x201206111227 com.google.gdt.eclipse.designer.editor.feature.feature.group Google, Inc.
Swing Designer 1.5.0.r37x201206111310 org.eclipse.wb.swing.feature.feature.group Eclipse.org
Swing Designer Documentation 1.5.0.r37x201206111240 org.eclipse.wb.swing.doc.user.feature.feature.group Eclipse.org
SWT Designer 1.5.0.r37x201206111317 org.eclipse.wb.rcp.feature.feature.group Eclipse.org
SWT Designer Core 1.5.0.r37x201206111304 org.eclipse.wb.swt.feature.feature.group Eclipse.org
SWT Designer Documentation 1.5.0.r37x201206111236 org.eclipse.wb.rcp.doc.user.feature.feature.group Eclipse.org
SWT Designer GroupLayout Support 1.5.0.r37x201206111330 org.eclipse.wb.rcp.GroupLayout_support.feature.feature.group Eclipse.org
SWT Designer SWT_AWT Support 1.5.0.r37x201206111333 org.eclipse.wb.rcp.SWT_AWT_support.feature.group Eclipse.org
SWT Designer XWT Support (requires Eclipse WTP/WST) 1.5.0.r37x201206111323 org.eclipse.wb.xwt.feature.feature.group Eclipse.org
UML2 Extender SDK 3.2.1.v201109082252 org.eclipse.uml2.sdk.feature.group Eclipse Modeling Project
WindowBuilder Core 1.5.0.r37x201206111201 org.eclipse.wb.core.feature.feature.group Eclipse.org
WindowBuilder Core Documentation 1.5.0.r37x201206111211 org.eclipse.wb.doc.user.feature.feature.group Eclipse.org
WindowBuilder Core UI 1.5.0.r37x201206111213 org.eclipse.wb.core.ui.feature.feature.group Eclipse.org
WindowBuilder CSS Support 1.5.0.r37x201206111208 org.eclipse.wb.css.feature.feature.group Eclipse.org
WindowBuilder GroupLayout Support 1.5.0.r37x201206111249 org.eclipse.wb.layout.group.feature.feature.group Eclipse.org
WindowBuilder XML Core (requires Eclipse WTP/WST) 1.5.0.r37x201206111216 org.eclipse.wb.core.xml.feature.feature.group Eclipse.org
Previous Topic:ClassLoader
Next Topic:how to add radio button to palette drawer in GEF
Goto Forum:
  


Current Time: Fri Dec 19 00:34:43 GMT 2014

Powered by FUDForum. Page generated in 0.08278 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software