Hi Chris,
> Without getting my hands too dirty with your error,
> have you tried entering the string that you expect to
> be returned instead of calling the method?
>
> ie
> parameters.put("issueId", "12345");
>
> where you're expecting
> issues.getString("issueId") = "12345"
yes, I've tried this and it worked. The problem is the method invocation.
But there is something which let's this problem becoming more strange:
When switching the type of request on the success-response of the service
(The service works fine, the problem is really just the BSH.) to
request-redirect from request, I receive an
ArrayIndexOutOfBoundsException...
Stack Trace:
------------
2006-09-01 13:11:16,439 (http-0.0.0.0-8443-Processor1) [
Http11Processor.java:910:ERROR] Error finishing response
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:689)
at
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:428)
at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1604)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:962)
at org.apache.coyote.Response.action(Response.java:180)
at
org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:388)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:906)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
------------
Well, I'm getting confused, really confused...
Best regards,
Fabian aka "I'm confused"...;)