Project: Birt
Bug 275420 [Linux AS5]Exception occurred after selecting Report Orientation Right to Left
Reported: 2009-05-08 03:19:17 | Status: verified fixed

Description: [Linux AS5]Exception occurred after selecting Report Orientation Right to Left Build number: 2.5.0.v20090508-0630 Steps to reproduce: 1, Install BIRT Allinone in Linux AS5 2, New a report 3, Go to Property Editor to change the report orientation to RTL Expected result: After step3, no exception occurred Actual result: Exception occurred after step3 Error log: org.eclipse.birt.report.designer.core.runtime.GUIException: org.eclipse.swt.internal.win32.OS at org.eclipse.birt.report.designer.core.runtime.GUIException.createGUIException(GUIException.java:78) at org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler.handle(ExceptionHandler.java:116) at org.eclipse.birt.report.designer.internal.ui.util.bidi.BidiUIUtils.init(BidiUIUtils.java:104) at org.eclipse.birt.report.designer.internal.ui.util.bidi.BidiUIUtils.applyOrientation(BidiUIUtils.java:138) at org.eclipse.birt.report.designer.internal.ui.util.UIUtil.processOrientationChange(UIUtil.java:2311) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportDesignEditPart.propertyChange(ReportDesignEditPart.java:276) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.AbstractReportEditPart.propertyChange(AbstractReportEditPart.java:131) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.AbstractReportEditPart$2.runModelChange(AbstractReportEditPart.java:94) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.AbstractReportEditPart$EditpartReportEventRunnable.run(AbstractReportEditPart.java:249) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.AbstractModelEventProcessor.postElementEvent(AbstractModelEventProcessor.java:95) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.GraphicsViewModelEventProcessor.postElementEvent(GraphicsViewModelEventProcessor.java:216) at org.eclipse.birt.report.designer.internal.ui.editors.parts.event.ModelEventManager.postModelEvent(ModelEventManager.java:123) at org.eclipse.birt.report.designer.internal.ui.editors.parts.event.ModelEventManager.postEvent(ModelEventManager.java:97) at org.eclipse.birt.report.designer.internal.ui.editors.parts.event.ModelEventManager.access$0(ModelEventManager.java:89) at org.eclipse.birt.report.designer.internal.ui.editors.parts.event.ModelEventManager$1.stackChanged(ModelEventManager.java:57) at org.eclipse.birt.report.model.activity.ActivityStack.sendNotifcations(ActivityStack.java:870) at org.eclipse.birt.report.model.activity.ActivityStack.commit(ActivityStack.java:740) at org.eclipse.birt.report.model.api.GroupPropertyHandle.setValue(GroupPropertyHandle.java:259) at org.eclipse.birt.report.model.api.GroupElementHandle.setProperty(GroupElementHandle.java:368) at org.eclipse.birt.report.designer.internal.ui.views.attributes.provider.PropertyDescriptorProvider.save(PropertyDescriptorProvider.java:52) at org.eclipse.birt.report.designer.internal.ui.views.attributes.provider.ComboPropertyDescriptorProvider.save(ComboPropertyDescriptorProvider.java:144) at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.ComboPropertyDescriptor.save(ComboPropertyDescriptor.java:163) at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.ComboPropertyDescriptor.handleComboSelectEvent(ComboPropertyDescriptor.java:151) at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.ComboPropertyDescriptor.access$0(ComboPropertyDescriptor.java:147) at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.ComboPropertyDescriptor$2.widgetSelected(ComboPropertyDescriptor.java:133) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1025) at org.eclipse.swt.custom.CCombo.listEvent(CCombo.java:1046) at org.eclipse.swt.custom.CCombo$1.handleEvent(CCombo.java:115) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3485) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3104) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) 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(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:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.internal.win32.OS at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.eclipse.birt.report.designer.internal.ui.util.bidi.BidiUIUtils.init(BidiUIUtils.java:70) ... 54 more

Files changed in fix:
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/bidi/BidiUIUtils.java