I think that to resolve this we'd need the stylesheet you were trying to compile, or a subset of it that provokes the error, so we could watch it fail. The exception stack alone doesn't tell us enough about how bytecode generation failed.
Question: Does the stylesheet work properly with 2.7.3 if you use it in interpreted mode rather than compile -- /_ Joe Kesselman (he/him/his) -/ _) My Alexa skill for New Music/New Sounds fans: / https://www.amazon.com/dp/B09WJ3H657/ Caveat: Opinionated old geezer with overcompensated writer's block. May be redundant, verbose, prolix, sesquipedalian, didactic, officious, or redundant. ________________________________ From: Ganesan Kolappan <ganesan.kolap...@eclinicalworks.com> Sent: Sunday, April 14, 2024 8:55:45 PM To: j-users@xalan.apache.org <j-users@xalan.apache.org> Subject: Regarding issue with xalan 2.7.3 (upgrading from xalan 2.7.2) Hi, I am planning to upgrade xalan jar from 2.7.2 to 2.7.3. After upgrading some XSL files not compiling. Below is the error I am getting, ERROR | 2024-04-09 16:56:03 EDT | ServerVersion = V11.50.11 | ClientVersion = V11.165 | [http-nio-8080-exec-8] java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0$outline$0 signature: (LGregorSamsa$3;)V) Register 28 contains wrong type java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0$outline$0 signature: (LGregorSamsa$3;)V) Register 28 contains wrong type at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:655) ~[jasper.jar:9.0.80] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:9.0.80] at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[servlet-api.jar:4.0.FR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466) ~[jasper.jar:9.0.80] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) ~[jasper.jar:9.0.80] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327) ~[jasper.jar:9.0.80] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0$outline$0 signature: (LGregorSamsa$3;)V) Register 28 contains wrong type at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:?] at java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) ~[?:?] at java.lang.Class.getConstructor0(Class.java:3342) ~[?:?] at java.lang.Class.newInstance(Class.java:556) ~[?:?] at org.apache.xalan.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:340) ~[xalan-2.7.3.jar:?] at org.apache.xalan.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:369) ~[xalan-2.7.3.jar:?] at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619) ~[xalan-2.7.3.jar:?] Mentioned exception is not intuitive, Help is appreciated. Notes, same XSL files are working fine with xalan 2.7.2. Thank you, Ganesan Kolappan CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential information belonging to the sender that is legally privileged and proprietary and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.