-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on creating ETL processor #7109
Comments
Could you provide the configuration Json and some sample data? |
configuration JSON file { Sample data - test.json [ |
Hi @robfrank , i have same problem in odb 2.2.15 osm data can take from OpenStreetMap as test.osm configuration : my output log :
but wen i use following configuration , everything is ok :
output log :
what can i do ? |
@saeedtabrizi can you see where the NPE originated from? |
Hi @lvca as i explained in #7107 (comment) , after some tries and spending some hours , now i can to transfer my data from .osm xml files to orientdb but i realized the documentaion of ETL is not suitable and true . but in the title of this issue , i found if you dont use Thanks |
Hi, I replicated the problem. The workaround is to avoid I tested with previous versions and the same problem is there since a long time. I'll fix it for next release. |
Just pushed the fix, you can download the etl module 2.2.16-SNAPSHOT and drop it inside the lib folder. Delete the 2.2.15 jar before! Please close the issue if the fix solves your problem |
Many Thanks @robfrank . i will check it . |
Hi, I'm trying to upload graph from JSON with JSON ETL.
System parameters: OrientDB 2.2.14, ubuntu 14.04 64 bit, JAVA 1.8
I am gating the followings errors -
Exception in thread "main" com.orientechnologies.orient.core.exception.OConfigurationException: Error on creating ETL processor
DB name="plocal:/tmp/databases/testdb"
at com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:245)
at com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:186)
at com.orientechnologies.orient.etl.OETLProcessor.parseConfigAndParameters(OETLProcessor.java:176)
at com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:140)
Caused by: java.lang.NullPointerException
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.get(ODatabaseDocumentTx.java:1468)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.readDatabaseConfiguration(OrientBaseGraph.java:1851)
at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.(OrientBaseGraph.java:146)
at com.tinkerpop.blueprints.impls.orient.OrientGraphNoTx.(OrientGraphNoTx.java:62)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory$2.getGraph(OrientGraphFactory.java:116)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getNoTx(OrientGraphFactory.java:240)
at com.orientechnologies.orient.etl.loader.OOrientDBLoader.configureGraphDB(OOrientDBLoader.java:407)
at com.orientechnologies.orient.etl.loader.OOrientDBLoader.configure(OOrientDBLoader.java:345)
at com.orientechnologies.orient.etl.OETLProcessor.configureComponent(OETLProcessor.java:484)
at com.orientechnologies.orient.etl.OETLProcessor.configureLoader(OETLProcessor.java:297)
at com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:229)
... 3 more
The text was updated successfully, but these errors were encountered: