-
-
Notifications
You must be signed in to change notification settings - Fork 99
Invalid Type Exception with Modelio #8
Comments
Hi! I may be wrong, but I doubt 'Date' (from the 'Credito' entity) exists for your database type. Date is only supported by JHipster for Cassandra. If you're using a SQL database, or a MongoDB one, the error is normal. However, another issue is pointed by your problem: the display of exceptions. We're currently trying to make it work as intended (Javascript doesn't make it easy for us), and help users see their mistakes, or --better, our mistakes. I'm not closing this thread until I fix the exception problem. I hope my answer helped you, thanks for using JHipster-UML! |
Thrown exceptions from other files than jhipster-uml.js now are correctly displayed. See bug #8 for more details.
The exception problem is now fixed as of the last commit. |
Ok, i see the correct error right now And there is a new error message I don´t know is this is for a bug or something wrong whit the manner of i design the model |
You must have chosen the wrong date type. EDate could be the Ecore type. Something's wrong with your diagram. Try to export it to XMI and look for the EDate DataType or PrimitiveType. |
You are right. I fix my model and it run well. its awesome And Again Thanks! |
Happy to help =) |
Hi, there, I try to use the app with this basic model
but when y ran the jhipster-uml it throws me the following error
λ jhipster-uml spyderfox.xmi
Parser detected: MODELIO.
C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\modelio_parser.js:62
throw new InvalidTypeException(
^
Error
at Object. (C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\modelio_parser.js:329:34)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\editors.js:3:22)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
Thanks in advance!
The text was updated successfully, but these errors were encountered: