Bug 177260 [Smoke]can't create any data set [07]
[Smoke]can't create any data set [07] Build number: 2.2.0.v20070314-0630 Steps to reproduce: 1.new a sapmle DB data source 2.new a data set and input query:select * from CLASSICMODELS.CUSTOMERS,click finish Expected result: data set can be created Actual result: Exception thrown Error log: java.lang.Error: Unresolved compilation problems: The import org.eclipse.birt.data.engine.olap.data cannot be resolved The import org.eclipse.birt.data.engine.olap.data cannot be resolved The import org.eclipse.birt.data.engine.olap.data cannot be resolved The import org.eclipse.birt.data.engine.olap.data cannot be resolved The import org.eclipse.birt.data.engine.olap.data cannot be resolved The import org.eclipse.birt.data.engine.olap.data cannot be resolved Exception BirtException is not compatible with throws clause in DataRequestSession.defineCube(CubeHandle) CubeMaterializer cannot be resolved to a type CubeMaterializer cannot be resolved to a type ILevelDefn cannot be resolved to a type ILevelDefn cannot be resolved to a type CubeElementFactory cannot be resolved HierarchyHandle.DATA_SET_PROP cannot be resolved IHierarchy cannot be resolved to a type IDimension cannot be resolved to a type IDimension cannot be resolved to a type IDimension cannot be resolved to a type CubeHandle.DATA_SET_PROP cannot be resolved IDatasetIterator cannot be resolved to a type IDatasetIterator cannot be resolved to a type at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.<init>(DataRequestSessionImpl.java:41) at org.eclipse.birt.report.data.adapter.impl.DataAdapterFactory.createSession(DataAdapterFactory.java:30) at org.eclipse.birt.report.data.adapter.api.DataRequestSession.newSession(DataRequestSession.java:78) at org.eclipse.birt.report.data.adapter.api.DataRequestSession.newSession(DataRequestSession.java:61) at org.eclipse.birt.report.designer.data.ui.dataset.DataSetUIUtil.updateColumnCache(DataSetUIUtil.java:80) at org.eclipse.birt.report.designer.data.ui.dataset.DataSetUIUtil.updateColumnCache(DataSetUIUtil.java:44) at org.eclipse.birt.report.designer.data.ui.dataset.DefaultDataSetWizard.performFinish(DefaultDataSetWizard.java:96) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:699) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:367) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:638) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:215) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3490) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3104) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.run(NewDataSetAction.java:123) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3490) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3104) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:452) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:101) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:146) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:476) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416) at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
/*
 *************************************************************************
 * Copyright (c) 2006 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http:www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *  
 *************************************************************************
 */
package org.eclipse.birt.report.data.adapter.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.eclipse.birt.core.exception.BirtException;