1

最近,我致力于数据虚拟化以跨部门集成数据。在搜索了几个软件后,我决定使用 Redhat JBOSS Data Virtualization,因为该软件是开源的。我已经安装了 JDK、JBOSS Studio 和 Data Virtualization 插件来运行 Teiid。之后我开始了 Teeid 模型项目的新项目,进行了一些配置,所有过程都很顺利,没有错误。但是当我即将取得最终进展时,哪个进程正在执行 vdb ,我发现错误。

第一行错误消息是:

无法部署以下 VDB 以供执行:[vdb 名称]。

在第二行它告诉:

获取连接配置文件属性时出错。

当我右键单击错误时,然后选择事件详细信息以弹出事件详细信息窗口。

我找到了这个 :

插件:org.teiid.datatools.cennectivity 严重性:错误消息:获取连接配置文件属性时出错

异常堆栈跟踪:

java.lang.NullPointerException 在 org.teiid.datatools.connectivity.ConnectivityUtil.acquireDriverDefinition(ConnectivityUtil.java:190) 在 org.teiid.datatools.connectivity.ConnectivityUtil 的 java.util.Hashtable.put(Hashtable.java:514)。 createVDBTEiidProfileProperties(ConnectivityUtil.java:294) at org.teiid.designer.runtime.ui.vdb.ExecuteVdbWorker.processForDTP(ExecuteVdbWorker.java:192) at org.teiid.designer.runtime.ui.vdb.ExecuteVdbWorker.executeVdb(ExecuteVdbWorker. java:142) 在 org.teiid.designer.runtime.ui.vdb.ExecuteVdbWorker.internalRun(ExecuteVdbWorker.java:104) 在 org.teiid.designer.runtime.ui.vdb.ExecuteVdbWorker$1.run(ExecuteVdbWorker.java:83 ) 在 org.teiid.designer.ui.common.viewsupport.UiBusyIndi​​cator$2$1.run(UiBusyIndi​​cator.java:206) 在 org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 在 org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) 在 org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994) 在 org.eclipse.swt.widgets.Display .readAndDispatch(Display.java:3671) at org.teiid.designer.ui.common.viewsupport.UiBusyIndi​​cator.executeRunnable(UiBusyIndi​​cator.java:227) at org.teiid.designer.ui.common.viewsupport.UiBusyIndi​​cator.showWhileInternal(UiBusyIndi​​cator .java:159) 在 org.teiid.designer.ui.common.viewsupport.UiBusyIndi​​cator.showWhile(UiBusyIndi​​cator.java:116) 在 org.teiid.designer.runtime.ui.vdb.ExecuteVdbWorker.run(ExecuteVdbWorker.java:79) ) 在 org.eclipse.jface 的 org.eclipse.jface.action.Action.runWithEvent(Action.java:519) 的 org.teiid.designer.runtime.ui.actions.ExecuteVDBAction.run(ExecuteVDBAction.java:123)。 action.ActionContributionItem。handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org .eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 在 org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget .java:1467) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475) 在 org.eclipse.swt。 widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)在 org.eclipse.e4.ui.internal.workbench。swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) 在 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 在 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine .run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench $5.run(Workbench.java: 636) 在 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) 在 org.eclipse.ui.PlatformUI 的 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) .createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java :196) 在 org.eclipse.core。runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor。 EclipseStarter.run(EclipseStarter.java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl。 invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main .invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)1465)1465)internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter。在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke ( NativeMethodAccessorImpl.java:57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework (Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter。在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke ( NativeMethodAccessorImpl.java:57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework (Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run( EclipseStarter.java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main .java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run( EclipseStarter.java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main .java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter. java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java :648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter. java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java :648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648 ) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648 ) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter。在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 运行 (EclipseStarter.java:235)在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main .java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) 在 org.eclipse.core.runtime.adaptor.EclipseStarter。在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 运行 (EclipseStarter.java:235)在 java.lang.reflect.Method.invoke(Method.java:606) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main .java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 处 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 处 sun.reflect. NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher .Main.invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) 处 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 处 sun.reflect. NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher .Main.invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher .Main.invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher .Main.invokeFramework(Main.java:648) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1465)

我试着看看我是否在配置 JDBC 或 vdb 上遗漏了一些东西,但在搜索时没有得到任何结果。

我希望有人可以帮助我解决这个错误。我会很感激任何答案或建议。

4

1 回答 1

0

我相信你没有添加JDBC驱动来连接源。第一步是使用 JDBC 驱动程序(如果您正在访问 RDBMS)创建到源数据库的连接配置文件,然后导入元数据,然后构建 VDB。

于 2017-07-25T12:58:14.803 回答