Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 270455 - Unable to open the PDE Editor when using Babel PTT
Summary: Unable to open the PDE Editor when using Babel PTT
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on: 270456
Blocks: 254317
  Show dependency tree
 
Reported: 2009-03-30 10:18 EDT by Paul Webster CLA
Modified: 2019-09-09 02:36 EDT (History)
4 users (show)

See Also:


Attachments
pderesources_en_AA.properties (162.42 KB, text/plain)
2009-03-30 11:09 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-03-30 10:18:19 EDT
http://download.eclipse.org/technology/babel/babel_language_packs
Galileo: Language: Pseudo Translations

When using the Babel PTT NL packs and creating a new plugin project from the Hello World command template, the PDE editor will not open.

eclipse.buildId=I20090313-0100
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20080315 (JIT enabled)
J9VM - 20080314_17962_lHdSMr
JIT  - 20080130_0718ifx2_r8
GC   - 200802_08
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_AA
Command-line arguments:  -os linux -ws gtk -arch x86 -data tmp_ptt


eclipse317803:Error
Mon Mar 30 10:07:17 EDT 2009
Unable to create editor ID org.eclipse.pde.ui.manifestEditor: Argument not valid

java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3845)
at org.eclipse.swt.SWT.error(SWT.java:3779)
at org.eclipse.ui.internal.forms.widgets.FormTextModel.parseInputStream(FormTextModel.java:114)
at org.eclipse.ui.internal.forms.widgets.FormTextModel.parseTaggedText(FormTextModel.java:93)
at org.eclipse.ui.forms.widgets.FormText.setText(FormText.java:670)
at org.eclipse.pde.internal.ui.editor.LaunchShortcutOverviewPage.createClient(LaunchShortcutOverviewPage.java:41)
at org.eclipse.pde.internal.ui.editor.plugin.OverviewPage.createContentSection(OverviewPage.java:113)
at org.eclipse.pde.internal.ui.editor.plugin.OverviewPage.fillBody(OverviewPage.java:92)
at org.eclipse.pde.internal.ui.editor.plugin.OverviewPage.createFormContent(OverviewPage.java:70)
at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:149)
at org.eclipse.pde.internal.ui.editor.PDEFormPage.createPartControl(PDEFormPage.java:260)
at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:465)
at org.eclipse.pde.internal.ui.editor.PDEFormEditor.pageChange(PDEFormEditor.java:257)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1001)
at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:597)
at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:503)
at org.eclipse.pde.internal.ui.editor.PDEFormEditor.setActivePage(PDEFormEditor.java:772)
at org.eclipse.pde.internal.ui.editor.PDEFormEditor.createPages(PDEFormEditor.java:248)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:329)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:658)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:458)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:781)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:680)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:641)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:650)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:609)
at org.eclipse.pde.internal.ui.wizards.plugin.NewProjectCreationOperation$1.run(NewProjectCreationOperation.java:450)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3455)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3102)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2393)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2357)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2209)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:499)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:492)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:1284)


PW
Comment 1 Denis Roy CLA 2009-03-30 10:33:10 EDT
eclipse317803:Error
Mon Mar 30 10:07:17 EDT 2009
Unable to create editor ID org.eclipse.pde.ui.manifestEditor: Argument not
valid


String 317803 is:
+-----------+---------+------------------------+-------+--------+---------------------+-----------+------------------+
| string_id | file_id | name                   | value | userid | created_on          | is_active | non_translatable |
+-----------+---------+------------------------+-------+--------+---------------------+-----------+------------------+
|    317803 |    9501 | LogView_severity_error | Error |  40623 | 2009-03-10 23:07:51 |         1 |                0 |
+-----------+---------+------------------------+-------+--------+---------------------+-----------+------------------+


That would be in this file:
http://dev.eclipse.org/viewcvs/index.cgi/pde/ui/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/messages.properties?view=markup

Perhaps the word 'Error' shouldn't be externalized?
Comment 2 Jacek Pospychala CLA 2009-03-30 10:46:46 EDT
Denis,
not sure how you arrived at this conclusion. "Error" in logview is used only to display this word in UI (ie. textWidget.setText(error), not in conditional stmts, etc.), so it should be externalized.
Comment 3 Jacek Pospychala CLA 2009-03-30 10:52:18 EDT
there seems, that problem is in
org.eclipse.pde.internal.ui.PDEUIMessages.OverviewPage_fContent message, statically referenced from org.eclipse.pde.internal.ui.editor.plugin.OverviewPage.createContentSection(IManagedForm, Composite, FormToolkit), which's mentioned in stacktrace.

It's default content is:

OverviewPage_fContent=<form>\
<p>The content of the fragment is made up of two sections:</p>\
<li style="image" value="page" bindent="5"><a href="dependencies">Dependencies</a>: lists all the plug-ins required on this fragment's classpath to compile and run.</li>\
<li style="image" value="page" bindent="5"><a href="runtime">Runtime</a>: lists the libraries that make up this fragment's runtime.</li>\
</form>

Comment 4 Chris Aniszczyk CLA 2009-03-30 10:53:25 EDT
Did forms change recently? We haven't touched those messages in awhile.
Comment 5 Jacek Pospychala CLA 2009-03-30 10:55:38 EDT
(In reply to comment #3)
> OverviewPage_fContent=<form>\
>...

this string is located in org.eclipse.pde.ui\src\org\eclipse\pde\internal\ui\pderesources.properties

could someone check what is it's content in babel translation?
Comment 6 Paul Webster CLA 2009-03-30 11:09:59 EDT
Created attachment 130251 [details]
pderesources_en_AA.properties

This is the properties file that Babel PTT provides (extracted from their zip/nl pack).

PW
Comment 7 Chris Aniszczyk CLA 2009-03-30 11:27:16 EDT
Here's what is there:

OverviewPage_fContent=eclipse316675:<form>\
<p>The content of the fragment is made up of two sections:</p>\
<li style='image' value='page' bindent='5'><a href='dependencies'>Dependencies</a>: lists all the plug-ins required on this fragment's classpath to compile and run.</li>\
<li style='image' value='page' bindent='5'><a href='runtime'>Runtime</a>: lists the libraries that make up this fragment's runtime.</li>\
</form>


My guess is that formtext isn't happy with the 'eclipse316675:' addition to the translated string.
Comment 8 Eclipse Webmaster CLA 2019-09-06 15:36:57 EDT
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.
Comment 9 Julian Honnen CLA 2019-09-09 02:36:34 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.