javax.servlet.ServletException

Form object returned by formBackingObject() must not be null at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormControl at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormContr

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3321

  • via Spring JIRA by Sivakumar, 11 months ago
    Form object returned by formBackingObject() must not be null at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormControl at
  • via Spring JIRA by Sivakumar, 1 year ago
    Form object returned by formBackingObject() must not be null at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormControl at
  • via Stack Overflow by xkm
    , 1 year ago
    Servlets must be bound as singletons. Key[type=com.myapp.server.serviceimpl.MyServiceImpl, annotation=[none]] was not bound in singleton scope. [ERROR] at com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:104) at
  • Stack trace

    • javax.servlet.ServletException: Form object returned by formBackingObject() must not be null at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormControl at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormContr at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.