4.2.2 Upgrade - Not able to access pages

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

4.2.2 Upgrade - Not able to access pages

Lex Medeiros
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7b894cf4-1f4f-47c9-91b9-41efb0aa9f56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Lex Medeiros
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 

<a href="https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;">


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1428f367-ec4a-4859-9c28-9b5740c4d8f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Xander
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 

<a href="https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;">


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/98da6d7e-70c7-42d8-ae9e-c93b7af87308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Lex Medeiros
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex

On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 

<a href="https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;">


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Chris Falzone-2
I take it you did a full re-index and then flushed the cache? 

On Thu, Jan 4, 2018 at 8:00 AM Alex <[hidden email]> wrote:
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex


On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgUcu9tkdfNPoO08%3DHqLFY3YuxbYNksDoSJau%2Bi_jyE8XQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Lex Medeiros
Yes, I have done all that.  I re-indexed, deleted the dotsecure directory, rebuilt the index and I still get the 404 error.

I am getting these errors now in the tomcat logs when I access the page to edit in the back end. Part of the error states that it is a null file and does not get the title ... Any ideas?

I created a new page and I am able to access it.  It seems like the pages I can not access the pages that were imported.  But no matter what page it is I still get the error below.


ERROR business.ESContentletAPIImpl: Contentlet must not exist already

com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Contentlet must not exist already

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody98(ESContentletAPIImpl.java:2884) ~[dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure99.run(ESContentletAPIImpl.java:1) ~[dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) ~[dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.db.LocalTransaction.wrapReturnWithListeners(LocalTransaction.java:39) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.WrapInTransactionMethodInterceptor.invoke(WrapInTransactionMethodInterceptor.java:23) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.WrapInTransactionAspect.invoke(WrapInTransactionAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2841) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody94(ESContentletAPIImpl.java:2800) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure95.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2783) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2764) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody82(ESContentletAPIImpl.java:2586) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure83.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2554) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:165) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.findInLucene(EventFactoryImpl.java:303) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.find(EventFactoryImpl.java:133) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventAPIImpl.find(EventAPIImpl.java:89) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI.findEvents(CalendarWebAPI.java:141) [dotcms_4.2.2_999999.jar:?]

at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.renderTemplate(DotDirective.java:101) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.render(DotDirective.java:81) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:216) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:362) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:265) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.doPreviewMode(VelocityServlet.java:830) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:239) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.ClientVelocityServlet.service(ClientVelocityServlet.java:53) [dotcms_4.2.2_999999.jar:?]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:191) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:325) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:110) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:834 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:836 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:838 EST] ERROR business.FileAsset: Unable to get title.


On Thursday, January 4, 2018 at 9:16:56 AM UTC-6, Chris Falzone wrote:
I take it you did a full re-index and then flushed the cache? 

On Thu, Jan 4, 2018 at 8:00 AM Alex <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="tmgXEcPZAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">tech....@...> wrote:
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex


On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 

<a href="https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-g0e7fLJQYw0/Wk2eMP59IuI/AAAAAAAAMvw/iIMIUSRIiDIWUQwW9TpDJoVK6O_YEJxXwCLcBGAs/s1600/Screen%2BShot%2B2018-01-03%2Bat%2B9.21.07%2BPM.png&#39;;return true;">


--
<a href="http://dotcms.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdotcms.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFT4ej1MQxQ2vu3iAUqYQgS59efw&#39;;return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tmgXEcPZAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dotcms+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="tmgXEcPZAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dot...@....
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d1c0b59-3dd1-409c-b2b7-b544c0001757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Lex Medeiros
I also flush cache after every reindex too.

On Jan 4, 2018 10:04 AM, "Alex" <[hidden email]> wrote:
Yes, I have done all that.  I re-indexed, deleted the dotsecure directory, rebuilt the index and I still get the 404 error.

I am getting these errors now in the tomcat logs when I access the page to edit in the back end. Part of the error states that it is a null file and does not get the title ... Any ideas?

I created a new page and I am able to access it.  It seems like the pages I can not access the pages that were imported.  But no matter what page it is I still get the error below.


ERROR business.ESContentletAPIImpl: Contentlet must not exist already

com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Contentlet must not exist already

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody98(ESContentletAPIImpl.java:2884) ~[dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure99.run(ESContentletAPIImpl.java:1) ~[dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) ~[dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.db.LocalTransaction.wrapReturnWithListeners(LocalTransaction.java:39) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.WrapInTransactionMethodInterceptor.invoke(WrapInTransactionMethodInterceptor.java:23) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.WrapInTransactionAspect.invoke(WrapInTransactionAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2841) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody94(ESContentletAPIImpl.java:2800) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure95.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2783) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2764) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody82(ESContentletAPIImpl.java:2586) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure83.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2554) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:165) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.findInLucene(EventFactoryImpl.java:303) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.find(EventFactoryImpl.java:133) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventAPIImpl.find(EventAPIImpl.java:89) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI.findEvents(CalendarWebAPI.java:141) [dotcms_4.2.2_999999.jar:?]

at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.renderTemplate(DotDirective.java:101) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.render(DotDirective.java:81) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:216) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:362) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:265) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.doPreviewMode(VelocityServlet.java:830) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:239) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.ClientVelocityServlet.service(ClientVelocityServlet.java:53) [dotcms_4.2.2_999999.jar:?]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:191) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:325) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:110) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:834 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:836 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:838 EST] ERROR business.FileAsset: Unable to get title.


On Thursday, January 4, 2018 at 9:16:56 AM UTC-6, Chris Falzone wrote:
I take it you did a full re-index and then flushed the cache? 

On Thu, Jan 4, 2018 at 8:00 AM Alex <[hidden email]> wrote:
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex


On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d1c0b59-3dd1-409c-b2b7-b544c0001757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQ%3DpYM_--3eZvbEuzqxX-bgHg6LBPd-Wnw_UhWO5Zt_Q-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Chris Falzone-2
Were the pages old pages? You have to convert any Legacy Pages to Content Pages before the upgrade.

On Thu, Jan 4, 2018 at 11:28 AM Lex Medeiros <[hidden email]> wrote:
I also flush cache after every reindex too.

On Jan 4, 2018 10:04 AM, "Alex" <[hidden email]> wrote:
Yes, I have done all that.  I re-indexed, deleted the dotsecure directory, rebuilt the index and I still get the 404 error.

I am getting these errors now in the tomcat logs when I access the page to edit in the back end. Part of the error states that it is a null file and does not get the title ... Any ideas?

I created a new page and I am able to access it.  It seems like the pages I can not access the pages that were imported.  But no matter what page it is I still get the error below.


ERROR business.ESContentletAPIImpl: Contentlet must not exist already

com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Contentlet must not exist already

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody98(ESContentletAPIImpl.java:2884) ~[dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure99.run(ESContentletAPIImpl.java:1) ~[dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) ~[dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.db.LocalTransaction.wrapReturnWithListeners(LocalTransaction.java:39) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.WrapInTransactionMethodInterceptor.invoke(WrapInTransactionMethodInterceptor.java:23) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.WrapInTransactionAspect.invoke(WrapInTransactionAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2841) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody94(ESContentletAPIImpl.java:2800) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure95.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2783) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2764) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody82(ESContentletAPIImpl.java:2586) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure83.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2554) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:165) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.findInLucene(EventFactoryImpl.java:303) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.find(EventFactoryImpl.java:133) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventAPIImpl.find(EventAPIImpl.java:89) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI.findEvents(CalendarWebAPI.java:141) [dotcms_4.2.2_999999.jar:?]

at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.renderTemplate(DotDirective.java:101) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.render(DotDirective.java:81) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:216) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:362) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:265) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.doPreviewMode(VelocityServlet.java:830) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:239) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.ClientVelocityServlet.service(ClientVelocityServlet.java:53) [dotcms_4.2.2_999999.jar:?]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:191) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:325) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:110) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:834 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:836 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:838 EST] ERROR business.FileAsset: Unable to get title.


On Thursday, January 4, 2018 at 9:16:56 AM UTC-6, Chris Falzone wrote:
I take it you did a full re-index and then flushed the cache? 

On Thu, Jan 4, 2018 at 8:00 AM Alex <[hidden email]> wrote:
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex


On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d1c0b59-3dd1-409c-b2b7-b544c0001757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQ%3DpYM_--3eZvbEuzqxX-bgHg6LBPd-Wnw_UhWO5Zt_Q-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgVCb4CFW4RE16dYYoitr5NY3JcR9iPd8KuTjUPaHZKS7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Lex Medeiros
Chris,

When I upgraded to 3.7.1 all legacy pages were upgraded and I can see them as page content type.  How do I know is there are some that did not updated on 3.7.1?

Thanks for all your help!


Alex



On Jan 5, 2018 9:00 AM, "'Chris Falzone' via dotCMS User Group" <[hidden email]> wrote:
Were the pages old pages? You have to convert any Legacy Pages to Content Pages before the upgrade.

On Thu, Jan 4, 2018 at 11:28 AM Lex Medeiros <[hidden email]> wrote:
I also flush cache after every reindex too.

On Jan 4, 2018 10:04 AM, "Alex" <[hidden email]> wrote:
Yes, I have done all that.  I re-indexed, deleted the dotsecure directory, rebuilt the index and I still get the 404 error.

I am getting these errors now in the tomcat logs when I access the page to edit in the back end. Part of the error states that it is a null file and does not get the title ... Any ideas?

I created a new page and I am able to access it.  It seems like the pages I can not access the pages that were imported.  But no matter what page it is I still get the error below.


ERROR business.ESContentletAPIImpl: Contentlet must not exist already

com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Contentlet must not exist already

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody98(ESContentletAPIImpl.java:2884) ~[dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure99.run(ESContentletAPIImpl.java:1) ~[dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) ~[dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.db.LocalTransaction.wrapReturnWithListeners(LocalTransaction.java:39) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.WrapInTransactionMethodInterceptor.invoke(WrapInTransactionMethodInterceptor.java:23) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.WrapInTransactionAspect.invoke(WrapInTransactionAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2841) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody94(ESContentletAPIImpl.java:2800) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure95.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2783) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2764) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody82(ESContentletAPIImpl.java:2586) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure83.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2554) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:165) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.findInLucene(EventFactoryImpl.java:303) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.find(EventFactoryImpl.java:133) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventAPIImpl.find(EventAPIImpl.java:89) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI.findEvents(CalendarWebAPI.java:141) [dotcms_4.2.2_999999.jar:?]

at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.renderTemplate(DotDirective.java:101) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.render(DotDirective.java:81) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:216) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:362) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:265) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.doPreviewMode(VelocityServlet.java:830) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:239) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.ClientVelocityServlet.service(ClientVelocityServlet.java:53) [dotcms_4.2.2_999999.jar:?]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:191) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:325) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:110) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:834 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:836 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:838 EST] ERROR business.FileAsset: Unable to get title.


On Thursday, January 4, 2018 at 9:16:56 AM UTC-6, Chris Falzone wrote:
I take it you did a full re-index and then flushed the cache? 

On Thu, Jan 4, 2018 at 8:00 AM Alex <[hidden email]> wrote:
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex


On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d1c0b59-3dd1-409c-b2b7-b544c0001757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQ%3DpYM_--3eZvbEuzqxX-bgHg6LBPd-Wnw_UhWO5Zt_Q-A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgVCb4CFW4RE16dYYoitr5NY3JcR9iPd8KuTjUPaHZKS7Q%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQmOQa1dnEA2XifM_qHiGysfNkQ-7LtwrZq%3DB9u8aCY7Vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: 4.2.2 Upgrade - Not able to access pages

Chris Falzone-2
If you know 1 page that is a page asset contentlet in 3.7 and is 404ing in 4.2 then I would say that is not your problem. But you could run a sql query against the the old table in 3.7 and see if there are pages in it.  I dunno, I would suggest getting with dotCMS Support and have them assist you.  It'd be really hard to tell without getting into the DB and possibly attaching a code debugger.  

On Fri, Jan 5, 2018 at 10:25 AM Lex Medeiros <[hidden email]> wrote:
Chris,

When I upgraded to 3.7.1 all legacy pages were upgraded and I can see them as page content type.  How do I know is there are some that did not updated on 3.7.1?

Thanks for all your help!


Alex



On Jan 5, 2018 9:00 AM, "'Chris Falzone' via dotCMS User Group" <[hidden email]> wrote:
Were the pages old pages? You have to convert any Legacy Pages to Content Pages before the upgrade.

On Thu, Jan 4, 2018 at 11:28 AM Lex Medeiros <[hidden email]> wrote:
I also flush cache after every reindex too.

On Jan 4, 2018 10:04 AM, "Alex" <[hidden email]> wrote:
Yes, I have done all that.  I re-indexed, deleted the dotsecure directory, rebuilt the index and I still get the 404 error.

I am getting these errors now in the tomcat logs when I access the page to edit in the back end. Part of the error states that it is a null file and does not get the title ... Any ideas?

I created a new page and I am able to access it.  It seems like the pages I can not access the pages that were imported.  But no matter what page it is I still get the error below.


ERROR business.ESContentletAPIImpl: Contentlet must not exist already

com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Contentlet must not exist already

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody98(ESContentletAPIImpl.java:2884) ~[dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure99.run(ESContentletAPIImpl.java:1) ~[dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) ~[dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.db.LocalTransaction.wrapReturnWithListeners(LocalTransaction.java:39) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.WrapInTransactionMethodInterceptor.invoke(WrapInTransactionMethodInterceptor.java:23) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.WrapInTransactionAspect.invoke(WrapInTransactionAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2841) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody94(ESContentletAPIImpl.java:2800) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure95.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2783) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2764) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin_aroundBody82(ESContentletAPIImpl.java:2586) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure83.run(ESContentletAPIImpl.java:1) [dotcms_4.2.2_999999.jar:?]

at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.8.10.jar:?]

at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(AspectJDelegateMethodInvocation.java:43) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.interceptors.CloseDBIfOpenedMethodInterceptor.invoke(CloseDBIfOpenedMethodInterceptor.java:29) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.aspects.aspectj.CloseDBIfOpenedAspect.invoke(CloseDBIfOpenedAspect.java:41) [dotcms_4.2.2_999999.jar:?]

at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.checkin(ESContentletAPIImpl.java:2554) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.checkin(ContentletAPIInterceptor.java:165) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.findInLucene(EventFactoryImpl.java:303) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventFactoryImpl.find(EventFactoryImpl.java:133) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.business.EventAPIImpl.find(EventAPIImpl.java:89) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.portlets.calendar.viewtools.CalendarWebAPI.findEvents(CalendarWebAPI.java:141) [dotcms_4.2.2_999999.jar:?]

at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.renderTemplate(DotDirective.java:101) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.directive.DotDirective.render(DotDirective.java:81) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:216) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:339) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:362) [dotcms_4.2.2_999999.jar:?]

at org.apache.velocity.Template.merge(Template.java:265) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.doPreviewMode(VelocityServlet.java:830) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:239) [dotcms_4.2.2_999999.jar:?]

at com.dotmarketing.velocity.ClientVelocityServlet.service(ClientVelocityServlet.java:53) [dotcms_4.2.2_999999.jar:?]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:191) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:325) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.VanityURLFilter.doFilter(VanityURLFilter.java:110) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:132) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:38) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:108) [dotcms_4.2.2_999999.jar:?]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:833 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:834 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:835 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:836 EST] ERROR business.FileAsset: Unable to get title.

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:837 EST] ERROR business.FileAsset: null file passed in

[04/01/18 10:42:08:838 EST] ERROR business.FileAsset: Unable to get title.


On Thursday, January 4, 2018 at 9:16:56 AM UTC-6, Chris Falzone wrote:
I take it you did a full re-index and then flushed the cache? 

On Thu, Jan 4, 2018 at 8:00 AM Alex <[hidden email]> wrote:
Xander,

Thank you, you are right!  I will disable that portlet then.

Now, do you know why I get 404 errors on all pages in the front end?  I check permissions on the page structure and it is set to CMS anonymous so they should display.  Any suggestions?

Thank you,

Alex


On Thursday, January 4, 2018 at 1:19:46 AM UTC-6, Xander Steinmann wrote:
Isn't that the 'Legacy pages' portlet? You can't use that any more. Try to find your pages in the browser- or in the content portlet.

Kind regards,

Xander

Op donderdag 4 januari 2018 04:47:25 UTC+1 schreef Alex:
Sorry, I wanted to add that I get 404 errors when I try to view a page via the front end. Thank you!

On Wednesday, January 3, 2018 at 9:31:05 PM UTC-6, Alex wrote:
Hi,

After upgrade I am unable to access the pages via the Pages (left menu) and the front end.  I get no errors.  Any idea what happened and how to fix it?  I can view all content types with their respective urls.

Or, should I run the upgrade again? I also noticed that I have 21 more pages than what I had in my original instance of 3.7.1. I learned that by looking at the number of entries that the structure has on the content type interface.

Thanks 


Alex 


--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d6ef7185-b2d7-4a3a-b1f8-939de6252e3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7d1c0b59-3dd1-409c-b2b7-b544c0001757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQ%3DpYM_--3eZvbEuzqxX-bgHg6LBPd-Wnw_UhWO5Zt_Q-A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CABzdpQmOQa1dnEA2XifM_qHiGysfNkQ-7LtwrZq%3DB9u8aCY7Vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgXPQZBPhve%2BSZeVQ%3DZ-Jfce-PXkEXBJeJY7GAETG7%2ByXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.