java.lang.RuntimeException: traitSelector from [OccurrenceSelector(Aves|Mammalia,POLYGON ((-122.78320312499999 37.13404537126446, -122.78320312499999 38.1777509666256, -121.75048828124999 38.1777509666256, -121.75048828124999 37.13404537126446, -122.78320312499999 37.13404537126446)),bodyMass < 50 g,Some(15463102))] failed to parse: [[1.15] failure: string matching regex `(datetime|string)' expected but `g' found bodyMass < 50 g ^.msg]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via playframework.com by Unknown author

Add guice to the dependencies.

libraryDependencies += guice

Solutions on the web

via GitHub by jhpoelen
, 1 year ago
37.13404537126446)),bodyMass < 50 g,Some(15463102))] failed to parse: [[1.15] failure: string matching regex `(datetime|string)' expected but `g' found bodyMass < 50 g ^.msg]
via Stack Overflow by Tara
, 2 years ago
[1.12] failure: ``('' expected but `from' found select sum from t1 ^
via Stack Overflow by Rinku Buragohain
, 1 year ago
[1.47] failure: ``)'' expected but identifier MAX found select sal from samplecsv where sal < (select MAX(sal) from samplecsv) ^
via Stack Overflow by Ignacio Tartavull
, 1 year ago
[3.46] failure: ``)'' expected but identifier src found where not exists (select src from edges where src = e.dst) ^
via Stack Overflow by Hadoop User
, 2 years ago
[1.110] failure: ``union'' expected but `(' found select stg.mach_id, stg.msrmt_gbl_id, stg.msrmt_dsc, stg.elmt_dsc, stg.elmt_dsc_grp_concat, row_number() over(partition by mach_id, msrmt_gbl_id, msrmt_dsc, elmt_dsc, end_cptr_dt order by
via Stack Overflow by ChikuMiku
, 11 months ago
[1.1] failure: ``with'' expected but identifier create found create function ST_Point as 'com.esri.hadoopcom.esri.hadoop.hive.ST_Point' ^
java.lang.RuntimeException: traitSelector from [OccurrenceSelector(Aves|Mammalia,POLYGON ((-122.78320312499999 37.13404537126446, -122.78320312499999 38.1777509666256, -121.75048828124999 38.1777509666256, -121.75048828124999 37.13404537126446, -122.78320312499999 37.13404537126446)),bodyMass < 50 g,Some(15463102))] failed to parse: [[1.15] failure: string matching regex `(datetime|string)' expected but `g' found bodyMass < 50 g ^.msg]
at scala.sys.package$.error(package.scala:27)
at undefined.OccurrenceSelectors$.traitSelector(OccurrenceSelectors.scala:25)

Users with the same issue

Once, 2 weeks ago
7 times, 1 month ago
4 times, 2 months ago
4 times, 5 months ago
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.