Hi, Thanks for showing your interest to help me out in fixing this issue... Below is more info relatred to my issue... I have created seven classes and added them to one template. I have written lot of groovy code(<%) as well as Velocity code(#) in it based on my requirement. I have a dynamic table and some other custom requirements for which i have written groovy code and lot of javascript for validations. Now have i created a new class(number eight) and added it to this template. I have started designing the class sheet and then included this classsheet in main class sheet(for the template) using #includeInContext("...") and tried to create a new page or tried to open up an existing page it throws that error... Please let me know if you need further info on it... Thanks Regards, Rajesh Ludovic Dubost-2 wrote:
This need more details on the error report. Are you sure you are not going through groovy (having <% in your page) ?
Ludovic
Rajeshere a écrit :
Hi,
I have created a custom application using Xwiki forms and the size of the page to add a new item is too large. Now, when i tried to add few more lines of code in it, it throws following error.
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'includeForm' in class com.xpn.xwiki.api.XWiki threw exception java.lang.ClassFormatError: Invalid method Code length 66381 in class file Script1 @ ACSFacilities.test221,8? at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:300)
Failed to find a solution in Xwiki FAQ's and forums. Your kindly help is much appreciated...
Thanks.
Regards, Rajesh
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- View this message in context: http://n2.nabble.com/Xwiki-Forms-Error---com.xpn.xwiki.api.XWiki-threw-excep... Sent from the XWiki- Dev mailing list archive at Nabble.com.