It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Simple scripted validator does not work with Issue Collector

We have 2 simple scripted validators applied to a workflow when you create a new request. One of the validators just checks to make sure that the Priority is set to "Critical" or "High", and the other checks a cascading select to make sure the user puts a value in both the first field and the cascaded field. Works perfect when creating the issue through the JIRA application.

We then created an Issue Collector for that project. Whenever someone trys to submit an issue that fails one or more of those validators, we get a null pointer in the logs and the user gets an error message (and no issue is ever created). The null pointer is as follows. Any help is greatly apprecated!

WARNING: A servlet POST request, to the URI, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2013-12-02 10:08:11,447 ajp-bio-8009-exec-185 ERROR user 608x35538x1 emgkj2 /rest/collectors/1.0/template/custom/e15c6dfa [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(
	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(
	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(
	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(
	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(
	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(

1 answer

Any luck for the above issue?

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you