Community
Participate
Working Groups
Upon creating a java class for the first time in a NEW and CLEAN workspace one will get a Template set error. Below is the log file from creating a java class in a java project. !ENTRY org.eclipse.jdt.ui 4 10001 Apr 27, 2006 16:13:46.593 !MESSAGE Interner Fehler !STACK 1 org.eclipse.core.runtime.CoreException: !TemplateSet.error.read! at org.eclipse.jdt.internal.corext.template.java.TemplateSet.throwReadException(Unknown Source) at org.eclipse.jdt.internal.corext.template.java.TemplateSet.addFromStream(Unknown Source) at org.eclipse.jdt.internal.corext.template.java.CodeTemplates.create(Unknown Source) at org.eclipse.jdt.internal.corext.template.java.CodeTemplates.<init>(Unknown Source) at org.eclipse.jdt.internal.corext.template.java.CodeTemplates.getInstance(Unknown Source) at org.eclipse.jdt.internal.ui.JavaPlugin.getCodeTemplateStore(Unknown Source) at org.eclipse.jdt.internal.corext.codemanipulation.StubUtility.getCompilationUnitContent(Unknown Source) at org.eclipse.jdt.ui.CodeGeneration.getCompilationUnitContent(Unknown Source) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType(Unknown Source) at org.eclipse.jdt.internal.ui.wizards.NewClassCreationWizard.finishPage(Unknown Source) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(Unknown Source) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(Unknown Source) at org.eclipse.jdt.internal.core.JavaModelOperation.run(Unknown Source) at org.eclipse.core.internal.resources.Workspace.run(Unknown Source) at org.eclipse.jdt.core.JavaCore.run(Unknown Source) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source) !SUBENTRY 1 org.eclipse.jface.text 4 10005 Apr 27, 2006 16:13:46.609 !MESSAGE !TemplateSet.error.read!
There's no such thing like a German install. What build (id) did you install and which German fragments?
I guess I used the wrong terminology. I believe we used the German language localization pack. I'm hoping this makes more sense :)
OK, so you use 3.0.2 with the correct 3.0.2 German language pack?
Created attachment 44921 [details] eclipse config error The OS: Win XP, SP2. lang:German (Germany). eclipse config error info is attached. Image is available at: \\tigger.ottawa.ibm.com\pxdetest\buildimgs\prod_test_images\6011+Ifix001_Final\RSA\RSA_6011_IFix001_WinXPSP2_ML_25GB_CC6
I can not resubmit the defect. Please sesubmit
Attempting to Reopen bug.
OK, I can reprodue the .log entry with these steps: 1. download 3.0.2 form Eclipse.org 2. download 3.0.x language pack from Eclipse.org 3. start new workspace using -nl de_DE 4. create Java project 'JP' the new project wizard 5. create class 'T' using the new class wizard BUT: I only get an entry in the .log and no dialog. What makes this error 'major' for you? Is there anything not working for you? If so, can you describe? We will have to check whether this is caused by the NL fragment or the template store reader.
Sorry - did not want to close this as WORKSFORME.
OK, this is a bug in the translation: the original properties file says: # ! Do not translate ${bare_field_name} ! CodeTemplates.gettercomment.returntagcontent=Returns the ${bare_field_name}. Now, this has been translated to: CodeTemplates.gettercomment.returntagcontent=Gibt ${reiner_feldname} zur\u00FCck. Looks like the directive to not translate ${bare_field_name} has been discarded.
The OS: Win XP, SP2. lang:German (Germany). eclipse config error info is attached. Image is available at: \\tigger.ottawa.ibm.com\pxdetest\buildimgs\prod_test_images\6011+Ifix001_Final\RSA\RSA_6011_IFix001_WinXPSP2_ML_25GB_CC6
Reassigned to Bryan G. for investigation and follow through with translation testers in eclipse 3.3.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.