Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341316

Summary: Unhandled event loop exception
Product: z_Archived Reporter: Boern <boern.dev>
Component: SequoyahAssignee: Project Inbox <localization.sequoyah-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kentarou, kpqb38, nkvg64, wmg040
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Boern CLA 2011-03-30 03:49:29 EDT
What steps will reproduce the problem?
1. Open android strings.xml with Localization Files Editor ;
2. Select the text strings to be translated , then right-click one of them and select Translate cell(s) from the menu that appears.;
3. The Translate Cells dialog does not appears. and throws unhandled event loop exception.


-- Error Details --
Date: Wed Mar 30 15:41:35 CST 2011
Message: Unhandled event loop exception
Severity: Error
Product: Eclipse SDK 3.6.1.v201009090800 (org.eclipse.sdk.ide)
Plugin: org.eclipse.ui
Session Data:
eclipse.buildId=M20100909-0800
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86_64


Exception Stack Trace:
java.lang.NullPointerException
	at org.eclipse.sequoyah.localization.tools.managers.TranslatorManager.setTranslatorBranding(Unknown Source)
	at org.eclipse.sequoyah.localization.tools.extensions.implementation.generic.TranslateColumnInputDialog.setInitialValues(Unknown Source)
	at org.eclipse.sequoyah.localization.tools.extensions.implementation.generic.TranslateColumnInputDialog.createDialogArea(Unknown Source)
	at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at org.eclipse.sequoyah.localization.android.AndroidLocalizationSchema.promptTranslatedCollumnName(Unknown Source)
	at org.eclipse.sequoyah.localization.tools.editor.NewColumnProvider.getTranslatedColumnInfo(Unknown Source)
	at org.eclipse.sequoyah.localization.stringeditor.editor.StringEditorPart$TranslateColumnAction.run(Unknown Source)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 1 Kentarou Fukuda CLA 2011-04-01 04:34:35 EDT
Hi,

Does this relate to Sequoyah?
Comment 2 Boern CLA 2011-04-01 05:53:36 EDT
I do not know! I just submit the error log,Maybe others!
Comment 3 Daniel Drigo Pastore CLA 2011-04-01 09:21:59 EDT
Hi,

could you please provide us more information about your environment, like what Sequoyah version are you using?
Also, are you using Sequoyah as a developer? If so, have you provided a translation implementation?

I'm reopening the bug while we investigate it.

Thanks,

Daniel Pastore
Sequoyah Team
Comment 4 Boern CLA 2011-04-01 21:20:06 EDT
  Sequoyah localization reference implementation for Android.
  
  Name:    Sequoyah Android Localization Editor	
  Version:  1.0.0.M20100915-0236	
  ID:          org.eclipse.sequoyah.localization.android.feature.feature.group1.0.0.M20100915-0236