org.apache.wicket.WicketRuntimeException: Exception 'java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.CharSequence' occurred during validation org.obiba.onyx.wicket.data.DataValidator on component 12:stage-component:content:form:step:panel:questions:1:question:content:categories:category:1:cols:2:input:open:open:input:field

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Yannick Marcon, 1 year ago
Exception 'java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.CharSequence' occurred during validation org.obiba.onyx.wicket.data.DataValidator on component 12:stage-component:content:form:step:panel:questions:1:question:content:categories:category:1:cols:2:input:open:open:input:field
via JIRA by Yannick Marcon, 1 year ago
Exception 'java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.CharSequence' occurred during validation org.obiba.onyx.wicket.data.DataValidator on component 12:stage-component:content:form:step:panel:questions:1:question:content:categories:category:1:cols:2:input:open:open:input:field
org.apache.wicket.WicketRuntimeException: Exception 'java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.CharSequence' occurred during validation org.obiba.onyx.wicket.data.DataValidator on component 12:stage-component:content:form:step:panel:questions:1:question:content:categories:category:1:cols:2:input:open:open:input:field
at org.apache.wicket.markup.html.form.FormComponent.validateValidators(FormComponent.java:1622)
at org.apache.wicket.markup.html.form.FormComponent.validate(FormComponent.java:1201)
at org.apache.wicket.markup.html.form.Form$23.validate(Form.java:2161)
at org.apache.wicket.markup.html.form.Form$ValidationVisitor.formComponent(Form.java:173)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:441)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428)
at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrder(FormComponent.java:400)
at org.apache.wicket.markup.html.form.Form.visitFormComponentsPostOrder(Form.java:1233)
at org.apache.wicket.markup.html.form.Form.validateComponents(Form.java:2153)
at org.apache.wicket.markup.html.form.Form.validate(Form.java:2133)
at org.apache.wicket.markup.html.form.Form.process(Form.java:1005)
at org.apache.wicket.markup.html.form.Form.process(Form.java:955)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:920)
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:135)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:142)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.