PDA

View Full Version : (ProSAPCONN) Step-PlugIn crashes Kettle



ardy
11-30-2006, 01:14 AM
Hi folks,

im currently developing a plugin-step. So far it works in kettle 2.3.1 on a windows-machine. When trying to drag&drop it into my kettle-process-chain on a Linux (ubuntu 6.06) i get an errormessage :

java.io.FileNotFoundException: plugins/steps/AbraConvertLogFile/null (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at be.ibridge.kettle.spoon.Spoon.newStep(Spoon.java:3321)
at be.ibridge.kettle.spoon.SpoonGraph$6.drop(SpoonGraph.java:727)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:65)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1109)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:935)
at org.eclipse.swt.dnd.DropTarget.drag_data_received(DropTarget.java:363)
at org.eclipse.swt.dnd.DropTarget.Drag_Data_Received(DropTarget.java:246)
at org.eclipse.swt.internal.gtk.OS._gtk_drag_get_data(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_drag_get_data(OS.java:4030)
at org.eclipse.swt.dnd.DropTarget.drag_drop(DropTarget.java:405)
at org.eclipse.swt.dnd.DropTarget.Drag_Drop(DropTarget.java:253)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5245)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1133)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1427)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2838)
at be.ibridge.kettle.spoon.Spoon.readAndDispatch(Spoon.java:616)
at be.ibridge.kettle.spoon.Spoon.main(Spoon.java:4722)

Any Idea what I do wrong?

EDIT:
Its possible, that this is a SWT-Bug regarding the drag&drop-functionality. When dragging and moving the icon over the process-chain-window following assertion-message is written to the console :
(SWT:32588): Gdk-CRITICAL **: gdk_event_copy: assertion `event != NULL' failed



And by the way: When trying to drag&drop the ProSAPCONN-PlugIn Kettle crashes!


EDIT:
The ProSAPCONN crash occurs when kettle tries to load the ClassLoadError.html file. When removing the Attribute errorhelpfile="ClassLoadError.html" in the corresponding plugin.xml file kettle won't crash, but a similar error-message to mine occurs.



Thanks in advance,
Ardy

Post edited by: ardy, at: 2006/11/30 09:35

jbleuel
12-04-2006, 12:04 AM
Hi Ardy,

could you try the latest dev 2.4. Matt changed a lot in the SWT-field:
http://www.javaforge.com/proj/doc.do?doc_id=3701

I'll check the html-load error.

Thanks for the bug report,
Jens

ardy
12-11-2006, 09:17 AM
The problem's solved.
At the end it seems like it was a rights-problem.
Kettle was installed directly under the root ("/") directory. Shame on me. Allthough i explicetly gave all rights to my pentaho-user there would still occur some strange "permission denied"-like errors.

After moving Kettle to /opt/ the errornous behaviour disappeared.
My bad...

Happy pentahoing!