AnsweredAssumed Answered

Validation JSP throws error upgrade to 7.1.1 P02(with hotfix)

Question asked by Sirisha Bomma on Oct 10, 2019
Latest reply on Oct 10, 2019 by Ian Staines

When running a form post upgrade to 7.1.1 P02 (with hotfix H01) an error occurs when the jsp validation if performed:

Exception on form validation: java.lang.IllegalStateException: Already connected

Unable to move forward 

 

10/10/2019 06:17:54.785 ERROR (default task-27) [com.aveksa.gui.ExternalValidation] Exception on external validation of form http:// localhost:8080/aveksa/custom/jsp/change_ownership_validation_v2.js p
java.lang.IllegalStateException: Already connected
at sun.net.www.protocol.http.HttpURLConnection.setRequestP roperty(HttpURLConnection.java:3071)
at com.aveksa.server.utils.WebServiceUtils.executeCommand( WebServiceUtils.java:123)
at com.aveksa.gui.pages.changeRequest.edit.submit.RequestF ormWizardPageData.handleExternalValidation(RequestFormWizardPageDa ta.java:420)
at com.aveksa.gui.pages.changeRequest.edit.submit.RequestF ormWizardPageData.handleSubmit(RequestFormWizardPageData.java:532)
at com.aveksa.gui.pages.base.data.wizard.StepWizardDialogD ata.handleRequest(StepWizardDialogData.java:119)
at com.aveksa.gui.pages.PageManager.forwardRequest(PageMan ager.java:609)
at com.aveksa.gui.pages.PageManager.handleRequest(PageMana ger.java:340)

 

Tried moving the form to external JPS to external JSP location but still same error:

10/10/2019 06:28:02.020 ERROR (default task-12) [com.aveksa.gui.ExternalValidation] Exception on external validation of form http://localhost:8080/aveksa/custom/external_jsp/change_ownership_validation.jsp
java.lang.IllegalStateException: Already connected
at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3071)
at com.aveksa.server.utils.WebServiceUtils.executeCommand(WebServiceUtils.java:123)
at com.aveksa.gui.pages.changeRequest.edit.submit.RequestFormWizardPageData.handleExternalValidation(RequestFormWizardPageData.java:420)
at com.aveksa.gui.pages.changeRequest.edit.submit.RequestFormWizardPageData.handleSubmit(RequestFormWizardPageData.java:532)
at com.aveksa.gui.pages.base.data.wizard.StepWizardDialogData.handleRequest(StepWizardDialogData.java:119)
at com.aveksa.gui.pages.PageManager.forwardRequest(PageManager.java:609)
at com.aveksa.gui.pages.PageManager.handleRequest(PageManager.java:340)
at com.aveksa.gui.pages.PageManager.handleRequest(PageManager.java:271)
at com.aveksa.gui.core.MainManager.handleRequest(MainManager.java:186)
at com.aveksa.gui.core.MainManager.doGet(MainManager.java:130)

Outcomes