在Mac中打开Pentaho DI中的转换时出错

时间:2016-01-15 10:55:23

标签: pentaho kettle data-integration

我已经安装了Pentaho DI,它对我有用,但并非总是如此。

Pentaho DI让我只打开3个转换,当我尝试再打开一个(在菜单中)时,窗口不会出现。

当我按下一个打开对话框的按钮时,我看起来像这样的错误:

java.lang.NullPointerException
at org.eclipse.swt.widgets.FileDialog.panel_shouldShowFilename(Unknown Source)
at org.eclipse.swt.widgets.Display.dialogProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSSavePanel.setAccessoryView(Unknown Source)
at org.eclipse.swt.widgets.FileDialog.open(Unknown Source)
at org.pentaho.di.ui.job.entries.shell.JobEntryShellDialog$12.widgetSelected(JobEntryShellDialog.java:690)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.job.entries.shell.JobEntryShellDialog.open(JobEntryShellDialog.java:714)
at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.editJobEntry(SpoonJobDelegate.java:259)
at org.pentaho.di.ui.spoon.Spoon.editJobEntry(Spoon.java:8564)
at org.pentaho.di.ui.spoon.job.JobGraph.editEntry(JobGraph.java:2836)
at org.pentaho.di.ui.spoon.job.JobGraph.mouseDoubleClick(JobGraph.java:633)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 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.pentaho.commons.launcher.Launcher.main(Launcher.java:92)

我不知道可能是什么。 Java版本可能吗?

2 个答案:

答案 0 :(得分:0)

什么版本? Pentaho 6.0.0在Mac上没有用。 6.0.1修复它

答案 1 :(得分:0)

从堆栈跟踪中我看到当您在转换中双击JobEntry步骤时会发生这种情况:

at org.pentaho.di.ui.spoon.Spoon.editJobEntry(Spoon.java:8564)
at org.pentaho.di.ui.spoon.job.JobGraph.editEntry(JobGraph.java:2836)
at org.pentaho.di.ui.spoon.job.JobGraph.mouseDoubleClick(JobGraph.java:633)

尝试打开文件对话框以响应此操作:

at org.eclipse.swt.widgets.FileDialog.open(Unknown Source)
at org.pentaho.di.ui.job.entries.shell.JobEntryShellDialog$12.widgetSelected(JobEntryShellDialog.java:690

然后NPE被抛出。所以它不是java版本。您很可能不是使用存储库来存储转换/作业,或者使用它,但存储库中的某些项目可能仍然具有指向文件系统或任何其他项目的链接。

当不同的转换引用相同的文件,或者从存储库打开一个转换,从文件系统打开另一个转换,具有相同名称但尝试引用一个作业条目时,可能就是这种情况。

没有人比你更了解你独特的环境。如果您可以通过作业/转换示例重现此NPE,我建议您在jira.pentaho.org中打开{' Data Integration'项目