exception in logger

45 views
Skip to first unread message

Pieter Martin

unread,
Sep 14, 2013, 12:54:13 PM9/14/13
to orient-...@googlegroups.com
Hi,

I am trying to get my blueprints based application to work on orientdb
and am getting the following exception.

It happens on setting a property value to a fully qualified java class name.

Sep 14, 2013 6:44:03 PM com.orientechnologies.common.log.OLogManager log
FINE: [OFile.openChannel] opening channel for file
'/tmp/tinker-orientdb-tests/rootumlglib%3a%3aorg%3a%3aumlg%3a%3atag%3a%3atagmeta.0.ocl'
of size: 0
Sep 14, 2013 6:44:03 PM com.orientechnologies.common.log.OLogManager log
WARNING: Error on formatting message
java.util.MissingFormatArgumentException: Format specifier '3a'
at java.util.Formatter.format(Formatter.java:2487)
at java.util.Formatter.format(Formatter.java:2423)
at java.lang.String.format(String.java:2797)
at
com.orientechnologies.common.log.OLogManager.log(OLogManager.java:45)
at
com.orientechnologies.common.log.OLogManager.debug(OLogManager.java:59)
at
com.orientechnologies.orient.core.storage.fs.OAbstractFile.checkSize(OAbstractFile.java:409)
at
com.orientechnologies.orient.core.storage.fs.OFileMMap.setSize(OFileMMap.java:741)
at
com.orientechnologies.orient.core.storage.fs.OAbstractFile.create(OAbstractFile.java:230)
at
com.orientechnologies.orient.core.storage.impl.local.OMultiFileSegment.createNewFile(OMultiFileSegment.java:361)
at
com.orientechnologies.orient.core.storage.impl.local.OMultiFileSegment.create(OMultiFileSegment.java:126)
at
com.orientechnologies.orient.core.storage.impl.local.OClusterLocal.create(OClusterLocal.java:109)
at
com.orientechnologies.orient.core.storage.impl.local.OStorageLocal.addCluster(OStorageLocal.java:840)
at
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.addCluster(ODatabaseRaw.java:404)
at
com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.addCluster(ODatabaseWrapperAbstract.java:193)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateCluster.execute(OCommandExecutorSQLCreateCluster.java:116)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:57)
at
com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedded.java:99)
at
com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:88)
at
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:59)
at
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createCluster(OSchemaShared.java:166)
at
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:112)
at
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:102)
at
com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.createClass(OSchemaProxy.java:77)
at
com.tinkerpop.blueprints.impls.orient.OrientElement$1.call(OrientElement.java:249)
at
com.tinkerpop.blueprints.impls.orient.OrientElement$1.call(OrientElement.java:245)
at
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.executeOutsideTx(OrientBaseGraph.java:1230)
at
com.tinkerpop.blueprints.impls.orient.OrientElement.checkForClassInSchema(OrientElement.java:244)
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.getClassName(OrientEdge.java:408)
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.createDocument(OrientEdge.java:394)
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.convertToDocument(OrientEdge.java:355)
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.setProperty(OrientEdge.java:192)
at org.umlg.meta.BaseClassTuml.<init>(BaseClassTuml.java:60)
at org.umlg.tag.meta.TagMeta.<init>(TagMeta.java:39)
at org.umlg.tag.meta.TagMeta.getInstance(TagMeta.java:97)
at
org.umlg.root.MetaNodeCreator.createAllMetaNodes(MetaNodeCreator.java:81)

Thanks
Pieter

Pieter Martin

unread,
Sep 15, 2013, 3:44:02 AM9/15/13
to orient-...@googlegroups.com
I see this is happening because my labels contains "::"
I am using UML qualified names for labels, i.e.
"org::this::that::SpecialClass::propertyName"

Is this legal?

Thanks
Pieter

Andrey Lomakin

unread,
Sep 15, 2013, 3:59:18 AM9/15/13
to orient-database
Hi Peter,
Thank you that you provided additional information.
In order to optimize query performance OrientDB creates separate class for each label so for labels you should you the same naming conventions as for class names (the same as in Java actually).



--

--- 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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

Pieter Martin

unread,
Sep 15, 2013, 4:02:27 AM9/15/13
to orient-...@googlegroups.com
Ok, thanks
Pieter
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@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-databa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages