ike85017 / kettle-openrdf-plugin

Automatically exported from code.google.com/p/kettle-openrdf-plugin
0 stars 0 forks source link

Exception when dragging openRDF input step into kettle #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Dragged and droppen openRDF Input step into Pentaho 

What is the expected output? What do you see instead?
> I get an error message "Unexpected error loading class: 
org/openrdf/query/MalformedQueryException" 

with the following details

org.pentaho.di.core.exception.KettlePluginException: 
Unexpected error loading class:
org/openrdf/query/MalformedQueryException

    at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:391)
    at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:250)
    at org.pentaho.di.ui.spoon.Spoon.newStep(Spoon.java:5786)
    at org.pentaho.di.ui.spoon.trans.TransGraph$5.drop(TransGraph.java:588)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.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.dnd.DropTarget.Drop(Unknown Source)
    at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source)
    at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
    at org.eclipse.swt.dnd.DragSource.drag(Unknown Source)
    at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(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:1221)
    at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
    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:601)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
Caused by: java.lang.NoClassDefFoundError: 
org/openrdf/query/MalformedQueryException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
    at java.lang.Class.getConstructor0(Class.java:2714)
    at java.lang.Class.newInstance0(Class.java:343)
    at java.lang.Class.newInstance(Class.java:325)
    at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:370)
    ... 30 more
Caused by: java.lang.ClassNotFoundException: 
org.openrdf.query.MalformedQueryException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:97)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 36 more

What version of the product are you using? On what operating system?
Win7 64 bit
Sesame 2.7.0
Kettle-Spoon 4.4.0
JDK 7 update 17 (64-bit)

Please provide any additional information below.

Original issue reported on code.google.com by adekke...@gmail.com on 3 Jul 2013 at 5:26

GoogleCodeExporter commented 8 years ago
Did you add all the sesame-xxx.jar files in the openRDF Sesame lib folder to 
${PDI_HOME}/libext?

In openrdf-sesame-2.7.3 there are 46 jars:
sesame-config-2.7.3.jar
sesame-console-2.7.3.jar
sesame-http-client-2.7.3.jar
sesame-http-protocol-2.7.3.jar
sesame-http-server-spring-2.7.3.jar
sesame-model-2.7.3.jar
sesame-query-2.7.3.jar
sesame-queryalgebra-evaluation-2.7.3.jar
sesame-queryalgebra-model-2.7.3.jar
sesame-queryparser-api-2.7.3.jar
sesame-queryparser-serql-2.7.3.jar
sesame-queryparser-sparql-2.7.3.jar
sesame-queryrender-2.7.3.jar
sesame-queryresultio-api-2.7.3.jar
sesame-queryresultio-binary-2.7.3.jar
sesame-queryresultio-sparqljson-2.7.3.jar
sesame-queryresultio-sparqlxml-2.7.3.jar
sesame-queryresultio-text-2.7.3.jar
sesame-repository-api-2.7.3.jar
sesame-repository-contextaware-2.7.3.jar
sesame-repository-dataset-2.7.3.jar
sesame-repository-event-2.7.3.jar
sesame-repository-http-2.7.3.jar
sesame-repository-manager-2.7.3.jar
sesame-repository-sail-2.7.3.jar
sesame-repository-sparql-2.7.3.jar
sesame-rio-api-2.7.3.jar
sesame-rio-binary-2.7.3.jar
sesame-rio-datatypes-2.7.3.jar
sesame-rio-languages-2.7.3.jar
sesame-rio-n3-2.7.3.jar
sesame-rio-nquads-2.7.3.jar
sesame-rio-ntriples-2.7.3.jar
sesame-rio-rdfjson-2.7.3.jar
sesame-rio-rdfxml-2.7.3.jar
sesame-rio-trig-2.7.3.jar
sesame-rio-trix-2.7.3.jar
sesame-rio-turtle-2.7.3.jar
sesame-runtime-2.7.3.jar
sesame-sail-api-2.7.3.jar
sesame-sail-federation-2.7.3.jar
sesame-sail-inferencer-2.7.3.jar
sesame-sail-memory-2.7.3.jar
sesame-sail-nativerdf-2.7.3.jar
sesame-sail-rdbms-2.7.3.jar
sesame-util-2.7.3.jar

Original comment by oosthuiz...@gmail.com on 3 Jul 2013 at 6:45