Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Error While Creating Data Source
Error While Creating Data Source [message #783953] Thu, 26 January 2012 20:26 Go to next message
Rob LaPrelle is currently offline Rob LaPrelle
Messages: 2
Registered: January 2012
Junior Member
When I try to create a JDBC Data Source (right click 'Data Sources', select 'New Data Source', Highlight 'JDBC Data Source', Enter name, click 'Next >') I get the following error and am unable to create the data source. I am entering this info into bugzilla, but is there a workaround? My session info is bellow the error.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.eclipse.birt.report.data.oda.jdbc.ui.util.JdbcToolKit.getJdbcDriversFromODADir(JdbcToolKit.java:109)
at org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionPageHelper.createCustomControl(JDBCSelectionPageHelper.java:140)
at org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionWizardPage.createPageCustomControl(JDBCSelectionWizardPage.java:54)
at org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSourceWizardPage.createCustomControl(DataSourceWizardPage.java:131)
at org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage.createControl(ConnectionProfileDetailsPage.java:105)
at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSourceWizardPageCore.createControl(DataSourceWizardPageCore.java:226)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.datatools.connectivity.ui.wizards.NewConnectionProfileWizard.createPageControls(NewConnectionProfileWizard.java:309)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1183)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1242)
at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1239)
at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1228)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1226)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.birt.report.designer.data.ui.actions.NewDataSourceAction.run(NewDataSourceAction.java:126)
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:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)


eclipse.buildId=M20110909-1335
java.version=1.7.0_01
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product -clean
Re: Error While Creating Data Source [message #784508 is a reply to message #783953] Fri, 27 January 2012 16:21 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Which version of the designer did you download?

Jason

On 1/26/2012 3:26 PM, Rob LaPrelle wrote:
> When I try to create a JDBC Data Source (right click 'Data Sources',
> select 'New Data Source', Highlight 'JDBC Data Source', Enter name,
> click 'Next >') I get the following error and am unable to create the
> data source. I am entering this info into bugzilla, but is there a
> workaround? My session info is bellow the error.
>
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.rangeCheck(Unknown Source)
> at java.util.ArrayList.get(Unknown Source)
> at
> org.eclipse.birt.report.data.oda.jdbc.ui.util.JdbcToolKit.getJdbcDriversFromODADir(JdbcToolKit.java:109)
>
> at
> org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionPageHelper.createCustomControl(JDBCSelectionPageHelper.java:140)
>
> at
> org.eclipse.birt.report.data.oda.jdbc.ui.profile.JDBCSelectionWizardPage.createPageCustomControl(JDBCSelectionWizardPage.java:54)
>
> at
> org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSourceWizardPage.createCustomControl(DataSourceWizardPage.java:131)
>
> at
> org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage.createControl(ConnectionProfileDetailsPage.java:105)
>
> at
> org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSourceWizardPageCore.createControl(DataSourceWizardPageCore.java:226)
>
> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
> at
> org.eclipse.datatools.connectivity.ui.wizards.NewConnectionProfileWizard.createPageControls(NewConnectionProfileWizard.java:309)
>
> at
> org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
>
> at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1183)
> at
> org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1242)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1239)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1228)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1226)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.birt.report.designer.data.ui.actions.NewDataSourceAction.run(NewDataSourceAction.java:126)
>
> 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:1053)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>
> 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:344)
>
> 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:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>
>
> eclipse.buildId=M20110909-1335
> java.version=1.7.0_01
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os win32 -ws win32 -arch x86 -product
> org.eclipse.epp.package.jee.product -clean
Re: Error While Creating Data Source [message #786476 is a reply to message #784508] Mon, 30 January 2012 13:36 Go to previous message
Rob LaPrelle is currently offline Rob LaPrelle
Messages: 2
Registered: January 2012
Junior Member
Version: 3.7.1.v20110905-BDF9E8OGTzuHfoz-Au7-CWvXDn6N
Build id: v20110905-1820
Previous Topic:Schedular??
Next Topic:Internet Explorer 9 not displaying BIRT 2.5 reports
Goto Forum:
  


Current Time: Mon Sep 22 20:31:51 GMT 2014

Powered by FUDForum. Page generated in 0.01970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software