Closed ilieandriuta closed 5 years ago
While using Polls Application Pro, there are many warnings in console related to deprecated usages of getter, like:
2019-08-28 10:38:45,229 [XWiki Solr index thread] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 60:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:38:45,246 [XWiki Solr index thread] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 60:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,645 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,666 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,682 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,927 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:48:17,848 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 118:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:49:38,554 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 20:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:49:43,841 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 20:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:49:51,046 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 21:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:50:01,610 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:01,631 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:01,648 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:01,859 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:29,811 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 22:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:50:34,134 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 118:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:50:57,998 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:58,017 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:58,035 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:58,226 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:52:35,679 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:52:40,854 [http://localhost:1133/xwiki/bin/get/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 122:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:22,955 [http://localhost:1133/xwiki/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 19:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:31,895 [http://localhost:1133/xwiki/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:39,668 [http://localhost:1133/xwiki/bin/get/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:43,031 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 19:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:47,487 [http://localhost:1133/xwiki/bin/get/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 20:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:49,635 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 21:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:54:15,132 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:54:59,806 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 122:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:55:20,416 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 118:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:55:23,920 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 139:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:55:34,828 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 122:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:56:14,802 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 22:xwiki:XPoll.XPollSheet@23,32
However, these kind of warnings were also present in previous Polls versions, but they can fill up the logs pretty quickly.
Environment: Windows 10 Pro 64 bit, Chrome 76, using a local instance XWiki 11.3.3 on PostgreSQL 11
While using Polls Application Pro, there are many warnings in console related to deprecated usages of getter, like:
2019-08-28 10:38:45,229 [XWiki Solr index thread] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 60:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:38:45,246 [XWiki Solr index thread] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 60:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,645 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,666 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,682 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:47:48,927 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll1+ad] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 18:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:48:17,848 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 118:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:49:38,554 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 20:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:49:43,841 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 20:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:49:51,046 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 21:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:50:01,610 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:01,631 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:01,648 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:01,859 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll1%20ad/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.Poll1+ad.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 93:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:29,811 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 22:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:50:34,134 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 118:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:50:57,998 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:58,017 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:58,035 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:50:58,226 [http://localhost:1133/xwiki/bin/edit/XPoll/Poll2%20us/WebHome?template=XPoll.XPollTemplate&parent=XPoll.WebHome&title=Poll2+us] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@1,150 2019-08-28 10:52:35,679 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:52:40,854 [http://localhost:1133/xwiki/bin/get/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 122:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:22,955 [http://localhost:1133/xwiki/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 19:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:31,895 [http://localhost:1133/xwiki/bin/view/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:39,668 [http://localhost:1133/xwiki/bin/get/XPoll/Poll2%20us/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:43,031 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 19:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:47,487 [http://localhost:1133/xwiki/bin/get/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 20:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:53:49,635 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 21:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:54:15,132 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 121:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:54:59,806 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 122:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:55:20,416 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 118:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:55:23,920 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 139:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:55:34,828 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 122:xwiki:XPoll.XPollSheet@23,32 2019-08-28 10:56:14,802 [http://localhost:1133/xwiki/bin/view/XPoll/Poll1%20ad/] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Document.getName] in 22:xwiki:XPoll.XPollSheet@23,32
However, these kind of warnings were also present in previous Polls versions, but they can fill up the logs pretty quickly.
Environment: Windows 10 Pro 64 bit, Chrome 76, using a local instance XWiki 11.3.3 on PostgreSQL 11