Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312525 - Error occurs when run SwingChartViewerSelector and select Cursor Example.[13]
Summary: Error occurs when run SwingChartViewerSelector and select Cursor Example.[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: Heng Li CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard: Non-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 23:35 EDT by Maggie Shen CLA
Modified: 2010-05-20 22:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maggie Shen CLA 2010-05-11 23:35:29 EDT
description:
Error occurs when run SwingChartViewerSelector and select Cursor Example.

build id:
2.6.0 v20100512-0630

steps to reproduce:
1. Run 
/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/SwingChartViewerSelector.java.
2. Choose Cursor Example and update.
3. Mouse over the bars.

Actual result:
Exceptions throws out.
Comment 1 Maggie Shen CLA 2010-05-11 23:36:15 EDT
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
	at org.eclipse.birt.chart.device.swing.SwingEventHandler.setCursor(SwingEventHandler.java:703)
	at org.eclipse.birt.chart.device.swing.SwingEventHandler.mouseMoved(SwingEventHandler.java:569)
	at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseMotionEvent(Component.java:5533)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144)
	at java.awt.Component.processEvent(Component.java:5257)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3905)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 2 Heng Li CLA 2010-05-13 22:42:52 EDT
For the the chart examples as a single project, if the related dependence libraries are not direct set in plugin.xml, the related libraries wont be reached. The org.apache.commons.codec should be set in plugin.xml to avoid this case.
Comment 3 Heng Li CLA 2010-05-18 21:48:41 EDT
Fixed by adding plug-in dependence to this plug-in.
Comment 4 Maggie Shen CLA 2010-05-20 22:20:46 EDT
verified on build 2.6.0 v20100521-0630.