Andrey --
> I get a Null Pointer exception.
>
repro detail after signature below:
Thanks,
Charles
create class continent extends v
--Class created successfully. Total classes in database now: 11
create class country extends v
--Class created successfully. Total classes in database now: 12
create class city extends v
--Class created successfully. Total classes in database now: 13
create vertex continent set name='europe'
--Created vertex 'continent#11:0{name:europe} v1' in 0.024000 sec(s).
create vertex country set name='france'
--Created vertex 'country#12:0{name:france} v1' in 0.002000 sec(s).
create vertex city set name = 'paris'
--Created vertex 'city#13:0{name:paris} v1' in 0.001000 sec(s).
create edge from 11:0 to 12:0
--Created edge '[e[#11:0->#12:0][#11:0-E->#12:0]]' in 0.011000 sec(s).
create edge from 12:0 to 13:0
--Created edge '[e[#12:0->#13:0][#12:0-E->#13:0]]' in 0.004000 sec(s).
select from continent where name = 'europe'
-- 0 |#11:0|europe|#12:0 -- ok
select out() from continent where name = 'europe'
-- 0 |#-2:1|[1] -- ok
select expand(out()) from continent where name = 'europe'
-- 0 |#12:0|france|#11:0|#13:0 -- ok
select out().country from continent where name = 'europe'
-- 0 |#-2:1|[1] -- ok
select out().country.out() from continent where name = 'europe'
-- Error:
com.orientechnologies.orient.core.exception.OCommandExecutionException:
Error on execution of command: sql.select out().country.out() from
continent where name = 'europe'
-- Error: java.lang.NullPointerException
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.