Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313868 - Exception is thrown in error log view when set pattern as axis color.[13]
Summary: Exception is thrown in error log view when set pattern as axis color.[13]
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC2   Edit
Assignee: Yi Wang CLA
QA Contact: mindan xu CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 03:19 EDT by Maggie Shen CLA
Modified: 2010-05-25 01:48 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (96.72 KB, image/jpeg)
2010-05-21 03:19 EDT, Maggie Shen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maggie Shen CLA 2010-05-21 03:19:19 EDT
Created attachment 169478 [details]
screenshot

description:
Exception is thrown in error log view when set pattern as axis color.

build:
2.6.0 v20100521-0630

steps to reproduce:
1. New a chart.
2. Go to format chart page, select Axis node and change axis color to pattern.

Actual result:
Exception is thrown out.
Comment 1 Maggie Shen CLA 2010-05-21 03:19:53 EDT
Error log:
java.lang.ClassCastException: org.eclipse.birt.chart.model.attribute.impl.PatternImageImpl cannot be cast to org.eclipse.birt.chart.model.attribute.ColorDefinition
at org.eclipse.birt.chart.ui.swt.wizard.format.axis.AxisSheetImpl$AxisOptionChoser.handleEvent(AxisSheetImpl.java:403)
at org.eclipse.birt.chart.ui.swt.composites.FillChooserComposite.fireHandleEvent(FillChooserComposite.java:1016)
at org.eclipse.birt.chart.ui.swt.composites.FillChooserComposite.widgetSelected(FillChooserComposite.java:895)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:87)
at org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.open(ChartWizard.java:237)
at org.eclipse.birt.chart.reportitem.ui.ChartReportItemBuilderImpl.open(ChartReportItemBuilderImpl.java:279)
at org.eclipse.birt.report.designer.internal.ui.processor.ExtenedElementProcessor.editElement(ExtenedElementProcessor.java:64)
at org.eclipse.birt.report.designer.internal.ui.views.DefaultNodeProvider.performInsert(DefaultNodeProvider.java:739)
at org.eclipse.birt.report.designer.internal.ui.views.DefaultNodeProvider.performRequest(DefaultNodeProvider.java:420)
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.birt.report.designer.ui.views.ElementAdapterInvocationHandler.invoke(ElementAdapterInvocationHandler.java:89)
at $Proxy0.performRequest(Unknown Source)
at org.eclipse.birt.report.designer.ui.actions.BaseInsertMenuAction.insertElement(BaseInsertMenuAction.java:193)
at org.eclipse.birt.report.designer.ui.actions.BaseInsertMenuAction.run(BaseInsertMenuAction.java:271)
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:1052)
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:2624)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2588)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2422)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
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)
Comment 2 Yi Wang CLA 2010-05-24 05:36:23 EDT
Axis color does not support pattern Fill, the UI is disabled now.
Comment 3 mindan xu CLA 2010-05-25 01:45:18 EDT
Preview in layout is correct. Verify the bug on Build <2.6.0.v20100525-1139>.
Comment 4 mindan xu CLA 2010-05-25 01:48:18 EDT
This option is removed. Verify the bug on Build <2.6.0.v20100525-1139>.