[4.0.1] Cryptic Error Messages

18 views
Skip to first unread message

Nathan Keiter

unread,
Aug 30, 2017, 8:06:51 PM8/30/17
to dot...@googlegroups.com

This would be much more helpful if it told me which field is in violation…

 

[30/08/17 20:03:38:991 EDT] ERROR business.ESContentletAPIImpl: A text contentlet must be of type String

[30/08/17 20:03:39:636 EDT] ERROR business.ESContentletAPIImpl: Contentlets' fields are not valid

com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlets' fields are not valid

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

Nathan Keiter

unread,
Sep 1, 2017, 2:12:48 PM9/1/17
to dot...@googlegroups.com

Where, with a plugin, could I add logging to specify the field in error?

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d09eefbb53a34a0a98a8d5de30ae9257%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

Nathan Keiter

unread,
Sep 1, 2017, 2:14:12 PM9/1/17
to dot...@googlegroups.com

I’m trying to chase down a different error today, with even LESS information given…

 

com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlet's fields are not valid

            at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.validateContentlet(ESContentletAPIImpl.java:4153) ~[dotcms_4.0.1_999999.jar:?]

            at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2635) ~[dotcms_4.0.1_999999.jar:?]

            at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2508) ~[dotcms_4.0.1_999999.jar:?]

            at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2488) ~[dotcms_4.0.1_999999.jar:?]

            at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2410) ~[dotcms_4.0.1_999999.jar:?]

            at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:261) ~[dotcms_4.0.1_999999.jar:?]

Nathan Keiter

unread,
Sep 1, 2017, 4:34:03 PM9/1/17
to dot...@googlegroups.com

Found more helpful information in a different log file. Apparently I was looking in the wrong place.

 

[01/09/17 14:22:28:008 EDT] ERROR business.ESContentletAPIImpl: A integer contentlet must be of type Long or Integer

[01/09/17 14:22:28:570 EDT] ERROR business.ESContentletAPIImpl: A integer contentlet must be of type Long or Integer

[01/09/17 14:22:30:485 EDT] ERROR business.ESContentletAPIImpl: ERROR! Parent content [] cannot be related to child content [8c305f8d-22d1-4862-af56-259c8a217008] because it is already related to parent content [815e7710-fbac-4511-b44d-53d6d5cfe965]

Reply all
Reply to author
Forward
0 new messages