You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Kevin Chilton (JIRA)" <ji...@apache.org> on 2016/08/05 01:55:21 UTC
[jira] [Created] (RYA-146) Mongo DB Examples do not work.
Kevin Chilton created RYA-146:
---------------------------------
Summary: Mongo DB Examples do not work.
Key: RYA-146
URL: https://issues.apache.org/jira/browse/RYA-146
Project: Rya
Issue Type: Bug
Components: examples
Affects Versions: 3.2.10
Reporter: Kevin Chilton
Assignee: Kevin Chilton
Fix For: 3.2.10
Run the main method of the '' class.
You will see the following exception:
Unable to create a connection to mongo.
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at mvm.rya.mongodb.MongoConnectorFactory.getMongoClient(MongoConnectorFactory.java:50)
at mvm.rya.mongodb.MongoDBRyaDAO.<init>(MongoDBRyaDAO.java:77)
at mvm.rya.sail.config.RyaSailFactory.getRyaSail(RyaSailFactory.java:65)
at mvm.rya.sail.config.RyaSailFactory.getInstance(RyaSailFactory.java:50)
at MongoRyaDirectExample.main(MongoRyaDirectExample.java:73)
Shutting down
Exception in thread "main" java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at mvm.rya.mongodb.MongoConnectorFactory.getMongoClient(MongoConnectorFactory.java:50)
at mvm.rya.mongodb.MongoDBRyaDAO.<init>(MongoDBRyaDAO.java:77)
at mvm.rya.sail.config.RyaSailFactory.getRyaSail(RyaSailFactory.java:65)
at mvm.rya.sail.config.RyaSailFactory.getInstance(RyaSailFactory.java:50)
at MongoRyaDirectExample.main(MongoRyaDirectExample.java:73)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)