[ http://issues.apache.org/jira/browse/XALANJ-1208?page=all ]
Brian Minchau updated XALANJ-1208: ---------------------------------- Version: 2.4Dx (was: Latest Development Code) > Class to large hard to Debug > ---------------------------- > > Key: XALANJ-1208 > URL: http://issues.apache.org/jira/browse/XALANJ-1208 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.4Dx > Environment: Operating System: Other > Platform: Other > Reporter: Bryan Kearney > Assignee: Xalan Developers Mailing List > > When a template is too large,the TrAX API returns a stack trace like below. > The real reason is that a method name is too large. The command line compiler > does not catch this, beause the class is not used. The only way to debug this > was to add a printStackTrace() to line 288 of TemplatesImpl. It would be nice > if errors like this were more specific. Stack Traces are fine, but nested > ones > would be better. > javax.xml.transform.TransformerConfigurationException: Could not load the > translet class 'AddCCPaymentMethodPage'. > at org.apache.xalan.xsltc.trax.TemplatesImpl.defineTransletClasses > (TemplatesImpl.java:290) > at org.apache.xalan.xsltc.trax.TemplatesImpl.getTransletInstance > (TemplatesImpl.java:308) > at org.apache.xalan.xsltc.trax.TemplatesImpl.newTransformer > (TemplatesImpl.java:339) > at com.avolent.core.transform.AbstractTransformer.doTransformation > (AbstractTransformer.java:417) > at com.avolent.core.transform.AbstractTransformer.transform > (AbstractTransformer.java:289) > at com.avolent.presentation.TestXSL.testXSLFiles(TestXSL.java:92) > at com.avolent.presentation.TestXSL.main(TestXSL.java:269) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]