Comments (2)
I just got another one of these: calling a field profile
yields the following:
Caused by: scala.tools.scalap.scalax.rules.ScalaSigParserError: Unexpected failure
at com.novus.salat.ConcreteGrater.typeRefType(Grater.scala:223)
at com.novus.salat.ConcreteGrater$$anonfun$indexedFields$3.apply(Grater.scala:149)
at com.novus.salat.ConcreteGrater$$anonfun$indexedFields$3.apply(Grater.scala:146)
at com.novus.salat.ConcreteGrater.indexedFields(Grater.scala:146)
at com.novus.salat.ConcreteGrater.asObject(Grater.scala:256)
at com.novus.salat.ConcreteGrater.asObject(Grater.scala:53)
at com.novus.salat.dao.SalatDAO$$anonfun$findOne$1.apply(SalatDAO.scala:248)
at com.novus.salat.dao.SalatDAO$$anonfun$findOne$1.apply(SalatDAO.scala:248)
at scala.Option.map(Option.scala:129)
at com.novus.salat.dao.SalatDAO.findOne(SalatDAO.scala:248)
at controllers.Secure$class.checkSecurity(Secure.scala:23)
at controllers.user.Admin$.checkSecurity(Admin.scala:12)
Calling it userProfile
then works like a charm.
from salat.
(Triaging old issues...)
@manuelbernhardt - if you're there, it looks like this one is no longer occurring in Scala 2.10+ / Salat 1.9.10+
If you ever figured out the story behind this one, I would love to hear it!
from salat.
Related Issues (20)
- Custom TypeHint strategy for JSON HOT 2
- Unable to serialize case class hierarchy HOT 3
- mongo connection leak - re-use one mongo connection for each test DAO to reduce connection footprint. HOT 2
- Update Casbah to 2.8.2 in Salat 1.10.x to support connecting to Mongo 3.x server. HOT 16
- Play Salat HOT 4
- Project status update? HOT 23
- java.lang.ClassCastException when deserializing from Salat in context of akka runtime. HOT 4
- Error with reason "Very strange!" - GRATER GLITCH HOT 2
- Upgrade to sbt 0.13.12
- Release Salat 1.10 HOT 1
- JSON data can deserialize into collections containing data not matching the container generic type.
- More specific error class for Grater errors: SalatDeserializationException
- Release 1.11.x with Casbah 3.1.1 support (but not Scala 2.12) HOT 18
- Will this work with the latest Casbah 3.1.1? HOT 1
- SalatDAO support for collections HOT 7
- Scala 2.12 HOT 8
- Optional field in MongoDBObject with null value causing MatchError HOT 11
- Custom Transformers never get applied to case classes HOT 9
- Case class not serialising in order HOT 3
- Support for Mongo 3.6+ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from salat.