Project

Profile

Help

Transformer setParameter() Error

Added by Anonymous almost 20 years ago

Legacy ID: #2934158 Legacy Poster: nudelaug (nudelaug)

Hi! I just installed saxon 8.2 and tried tried to transform some xml. But when setting more than 10 parameters to the Transformer i got this exception: java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at net.sf.saxon.instruct.GlobalParameterSet.put(GlobalParameterSet.java:50) at net.sf.saxon.Controller.setParameter(Controller.java:1230) at oekb.apps.profitweb.inout.datarendering.MaskRenderer.renderMask(MaskRenderer.java:47) at org.apache.jsp.start_jsp._jspService(start_jsp.java:579) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342) at at.oekb.auth.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:297) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1808) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1758) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501) can anyone help me?? im using jetty with jdk 1.4.2_05-b04


Replies (3)

Please register to reply

RE: Transformer setParameter() Error - Added by Anonymous almost 20 years ago

Legacy ID: #2934441 Legacy Poster: Michael Kay (mhkay)

It looks as if you have found a very basic bug in a part of the product that hasn't changed for a very long time. It's hard to believe that no-one has called Saxon with more than ten parameters before, but that would appear to be the case. I'll log it and provide a source fix when I get back to base. Michael Kay Saxonica Limited

RE: Transformer setParameter() Error - Added by Anonymous almost 20 years ago

Legacy ID: #2934920 Legacy Poster: Michael Kay (mhkay)

I've now logged this bug and a source clearance in the "bugs" section of the site. Michael Kay

RE: Transformer setParameter() Error - Added by Anonymous almost 20 years ago

Legacy ID: #2935571 Legacy Poster: nudelaug (nudelaug)

i did some work-around for the moment: replaced line 49 Value[] newvalues = new Value[used2]; by Object[] newvalues = new Object[used2]; greets

    (1-3/3)

    Please register to reply