Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318724 - Drag of series is broken if there is no Platform (standalone application)
Summary: Drag of series is broken if there is no Platform (standalone application)
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 10:09 EDT by Missing name CLA
Modified: 2010-11-19 04:58 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2010-07-02 10:09:20 EDT
Build Identifier: v20100609-1613

In the DragEnter event of the DataTextDropListener, there is a call to Platform.getOS() done which throws a NullPointerException when it is started from a standalone application (Platform is not initialized)

It worked with Birt 2.5.1

java.lang.NullPointerException
 	at org.eclipse.core.internal.runtime.InternalPlatform.getOS(InternalPlatform.java:454)
 	at org.eclipse.core.runtime.Platform.getOS(Platform.java:1185)
 	at org.eclipse.birt.chart.ui.swt.DataTextDropListener.dragEnter(DataTextDropListener.java:61)
 	at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source)
...

Reproducible: Always