javascript - NumberFormatException when inserting into OrientDB table -
i'm using oriento insert orientdb database:
db.insert().into('user').set(user).one() .then (user) => created() .error (e) => error "error creating user #{ user["objectid"] }", {user:user, error:e}
and after 1868 rows, got error output (first erroneous user object, error object):
error creating user t6baldd7vf {"user":{"settings":{"__type":"pointer","classname":"settings","objectid":"l89rw0e7pb"},"acceptedterms":true,"activitiescount":1,"appfirstusedate":{"__type":"date","iso":"2014-03-21t09:46:14.669z"},"bio":".","birthday":{"__type":"date","iso":"1992-06-10t00:00:00.000z"},"email":"removed@hotmail.com","equipment":{"1":[6,100,105,107,4]},"followercount":0,"followingcount":0,"gender":2,"goal":1,"height_unit":2,"height_val1":1,"height_val2":64,"kitchensinkbadgesseen":["activity","schedule","findfriends","log","share","workouts/today"],"lastversionused":"2.4.2","level":2,"location":"azerbaijan","numreferrals":0,"platform":2,"popularfeedlastreadat":{"__type":"date","iso":"2014-04-09t10:56:10.054z"},"postcount":1,"seenhamburgerinstructions":true,"stream":"b","timezone":"asia/baku","unsubscribedfromworkoutemails":true,"username":"gulnara","website":"google.com","weight":62,"weight_unit":2,"createdat":"2014-03-21t09:48:34.152z","updatedat":"2014-04-09t10:57:24.883z","objectid":"t6baldd7vf","acl":{"*":{"read":true},"t6baldd7vf":{"read":true,"write":true}},"sessiontoken":"jgaq50y07p07053h5f0x9gkt6"},"error":{"name":"orientdb.requesterror","message":null,"data":{},"previous":[{"name":"orientdb.requesterror","data":{}}],"id":1,"type":"java.lang.numberformatexception","hasmore":0}} [0.013s]
any idea it's referring to?
here's output server.sh
:
-> java.math.bigdecimal.<init>(bigdecimal.java:498) -> java.math.bigdecimal.<init>(bigdecimal.java:383) -> java.math.bigdecimal.<init>(bigdecimal.java:806) -> com.orientechnologies.orient.core.serialization.serializer.record.string.orecordserializerstringabstract.gettypevalue(orecordserializerstringabstract.java:469) -> com.orientechnologies.orient.core.command.ocommandrequesttextabstract.fromstream(ocommandrequesttextabstract.java:149) -> com.orientechnologies.orient.core.command.ocommandrequesttextabstract.fromstream(ocommandrequesttextabstract.java:73) -> com.orientechnologies.orient.core.serialization.serializer.stream.ostreamserializeranystreamable.fromstream(ostreamserializeranystreamable.java:73) -> com.orientechnologies.orient.server.network.protocol.binary.onetworkprotocolbinary.command(onetworkprotocolbinary.java:1152) -> com.orientechnologies.orient.server.network.protocol.binary.onetworkprotocolbinary.executerequest(onetworkprotocolbinary.java:340) -> com.orientechnologies.orient.server.network.protocol.binary.obinarynetworkprotocolabstract.execute(obinarynetworkprotocolabstract.java:169) -> com.orientechnologies.common.thread.osoftthread.run(osoftthread.java:45)
Comments
Post a Comment