Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-9364

Regression:Pressing enter button without giving Document "Title" for a new document results in HTTP500 error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.28.01
    • 2.28.02
    • None
    • Tiger Sprint 106

    Description

      Steps to reproduce:-->
      1.Create a new document.
      2.Don't give document title & press enter while mouse cursor is in Title field.
      3.NPE logged in consoel with HTTP 500 error on UI.

      Expected:-->Either error should be logged in UI stating that "String value ids empty" or simply let the user be on the same page if user tries to press enter without giving document title.

      Check console logs:-->

      [INFO] [talledLocalContainer] 12.06 12:49:07 ERROR [DefaultExceptionMapper.java:170] Unexpected error occurred
      [INFO] [talledLocalContainer] java.lang.NullPointerException
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.render(AbstractFieldPlugin.java:217)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.ListViewService.render(ListViewService.java:162)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.AbstractRenderService.render(AbstractRenderService.java:414)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.RenderPlugin.render(RenderPlugin.java:122)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.editor.editor.EditorForm.render(EditorForm.java:171)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.editor.editor.EditorPlugin.render(EditorPlugin.java:59)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.AbstractRenderService.render(AbstractRenderService.java:414)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.RenderPlugin.render(RenderPlugin.java:122)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.standards.perspective.Perspective.render(Perspective.java:151)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.AbstractRenderService.render(AbstractRenderService.java:414)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.standards.tabs.TabsPlugin.render(TabsPlugin.java:192)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.AbstractRenderService.render(AbstractRenderService.java:414)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.service.render.RenderPlugin.render(RenderPlugin.java:122)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.standards.perspective.Perspective.render(Perspective.java:151)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.standards.tabs.TabsPlugin.render(TabsPlugin.java:192)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.cms.root.RootPlugin.render(RootPlugin.java:217)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.PluginPage.render(PluginPage.java:176)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.Main$7$1.renderPage(Main.java:461)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:284)
      [INFO] [talledLocalContainer]   at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      [INFO] [talledLocalContainer]   at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer]   at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      [INFO] [talledLocalContainer]   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      [INFO] [talledLocalContainer]   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      [INFO] [talledLocalContainer]   at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
      [INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      [INFO] [talledLocalContainer]   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      [INFO] [talledLocalContainer]   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      [INFO] [talledLocalContainer]   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
      [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [INFO] [talledLocalContainer]   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. error.jpg
          141 kB
          Pankaj Gupta

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              pgupta Pankaj Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: