hey everyone. is there anyone who met exception `I...
# exposed
r
hey everyone. is there anyone who met exception
Invalid argument value: <http://java.io|java.io>.NotSerializableException. Statement(s): null
when using Exposed DAO? i got this when tried to create
Copy code
val created = User.new {
    username = "Ray Eldath"
    email = "<mailto:xxx@xxx.com|xxx@xxx.com>"
}

Authorization.new {
    user = created
    hashedPassword = hp.toBlob()
    role = UserRole.Root
}
in which
Authorization.id
is refer to
User.id
. any idea on this exception? many thanks. 🙃
e
What part of the code is the exception thrown from? Just the authorization.new() call or specifically one of the assignments?
r
well, I specify the location and code in my next message, see below. many thanks.
e
I see the related code (the table and DAO definitions) but I’m not sure where your exception is being thrown from. What stack trace is being given?
Never mind, I see it now