Hi, I answered you in other thread.
On Tue, Mar 4, 2014 at 8:44 PM, Giuseppe Profiti <profgiuse...@gmail.com>wrote: > Hello, > I was testing the java bindings (com.tinkerpop.blueprints) against the > 1.6.1 version. Since I read something about problems with the local/plocal > databases, I (yesterday) moved to the last downloadable version (1.7-rc1). > I created a brand new plocal database via console (database, classes, > indexes..) and everything seems working fine via the console, but the java > program throws many exceptions when connecting to the database: > > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'internal' (0): file not found. It will > be excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'index' (1): file not found. It will be > excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'manindex' (2): file not found. It will > be excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'default' (3): file not found. It will > be excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'orole' (4): file not found. It will be > excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'ouser' (5): file not found. It will be > excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'orids' (6): file not found. It will be > excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'ofunction' (7): file not found. Itwill be > excluded > from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'oschedule' (8): file not found. Itwill be > excluded > from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'v' (9): file not found. It will be > excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'e' (10): file not found. It will be > excluded from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'sequences' (11): file not found. Itwill be > excluded > from current database '<obfuscated>'. > mar 04, 2014 7:17:33 PM com.orientechnologies.common.log.OLogManager log > Warning: Error on loading cluster 'similar' (12): file not found. It will > be excluded from current database '<obfuscated>'. > Exception in thread "main" com.orientechnologies.common.exception. > OException: Error on creation of shared resource > at com.orientechnologies.common.concur.resource.OSharedContainerImpl. > getResource(OSharedContainerImpl.java:55) > at com.orientechnologies.orient.core.metadata.OMetadata.init(OMetadata. > java:110) > at com.orientechnologies.orient.core.metadata.OMetadata.load(OMetadata. > java:68) > at com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract. > open(ODatabaseRecordAbstract.java:123) > at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open( > ODatabaseWrapperAbstract.java:49) > at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate( > OrientBaseGraph.java:759) > at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>( > OrientBaseGraph.java:98) > at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>( > OrientTransactionalGraph.java:34) > at com.tinkerpop.blueprints.impls.orient.OrientGraph.<init>(OrientGraph. > java:32) > at <obfuscated>.App.main(App.java:114) > Caused by: com.orientechnologies.orient.core.exception. > ORecordNotFoundException: The record with id '#0:1' not found > at com.orientechnologies.orient.core.record.ORecordAbstract.reload( > ORecordAbstract.java:294) > at com.orientechnologies.orient.core.record.impl.ODocument.reload( > ODocument.java:383) > at com.orientechnologies.orient.core.type.ODocumentWrapper.reload( > ODocumentWrapper.java:87) > at com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload( > ODocumentWrapperNoClass.java:69) > at com.orientechnologies.orient.core.metadata.schema.OSchemaShared$16. > call(OSchemaShared.java:600) > at com.orientechnologies.orient.core.storage.OStorageAbstract.callInLock( > OStorageAbstract.java:180) > at com.orientechnologies.orient.core.storage.impl.local.paginated. > OLocalPaginatedStorage.callInLock(OLocalPaginatedStorage.java:1345) > at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load( > OSchemaShared.java:595) > at com.orientechnologies.orient.core.metadata.OMetadata$1.call(OMetadata. > java:114) > at com.orientechnologies.orient.core.metadata.OMetadata$1.call(OMetadata. > java:1) > at com.orientechnologies.common.concur.resource.OSharedContainerImpl. > getResource(OSharedContainerImpl.java:53) > ... 9 more > Caused by: com.orientechnologies.orient.core.exception.ODatabaseException: > Error on retrieving record #0:1 (cluster: null) > at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read( > ODatabaseRaw.java:238) > at com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract. > executeReadRecord(ODatabaseRecordAbstract.java:678) > at com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord( > OTransactionNoTx.java:63) > at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload( > ODatabaseRecordTx.java:231) > at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload( > ODatabaseRecordTx.java:37) > at com.orientechnologies.orient.core.record.ORecordAbstract.reload( > ORecordAbstract.java:287) > ... 19 more > Caused by: java.lang.IllegalArgumentException: Cluster 0 is null > at com.orientechnologies.orient.core.storage.impl.local.paginated. > OLocalPaginatedStorage.getClusterById(OLocalPaginatedStorage.java:1732) > at com.orientechnologies.orient.core.storage.impl.local.paginated. > OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1173) > at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read( > ODatabaseRaw.java:232) > ... 24 more > > > The line 114 is just > graph = new OrientGraph("plocal:<path-to-db-directory>", "admin", "admin" > ); > > I'm testing it using NetBeans 7.3 on Windows 8, with dependencies > specified using Maven (it imported blueprints-orient-graph-2.4.0, > orient-comons/core 1.5.0). > > Is it a known problem, a mistake form my side or what? > > Thanks in advance, > Giuseppe > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to orient-database+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.