Hey Guys,
Not sure if we're supposed to be reporting FarCry 6 bugs/issues yet?
I've just tried an install and get the following error:
Invalid method Code length 65917 in class file farcry/core/packages/
farcry/_stats/deploy_cfm$cf
Invalid method Code length 65917 in class file farcry/core/packages/
farcry/_stats/deploy_cfm$cf at
java.lang.ClassLoader.defineClass1(Native Method):-2 at
java.lang.ClassLoader.defineClass(ClassLoader.java:698):698 at
java.lang.ClassLoader.defineClass(ClassLoader.java:479):479 at
railo.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:
116):116 at railo.runtime.PageSourceImpl.compile(PageSourceImpl.java:
257):257 at
railo.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:206):206
at railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:108):108
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:645):
645 at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:
601):601 at farcry.core.packages.farcry.stats_cfc$cf.udfCall1(/Library/
WebServer2/farcrymasters/6.0/core/packages/farcry/stats.cfc:60):60 at
To fix it, I basically removed the part of the installation code that
creates the stats tables. Updating the deploy method to be:
<cffunction name="deploy" access="public" output="false"
returntype="struct" hint="Deploy table structure for stats
subsystem.">
<!--- arguments --->
<cfargument name="bDropTable" default="false" type="boolean"
required="No">
<cfargument name="dsn" required="Yes" >
<cfargument name="dbtype" required="Yes">
<cfargument name="dbowner" required="Yes">
<!--- cfinclude template="_stats/deploy.cfm" --->
<cfset stStatus = StructNew() />
<cfset stStatus.message = "stats created.">
<cfset stStatus.detail = "stats created.">
<cfset stStatus.bSuccess = "true">
<cfset stStatus.status = "true">
<cfreturn stStatus>
</cffunction>
Which I know isn't good, but I'm only installing for testing, etc. Do
I need to raise a bug?
I'm running Tomcat 6 and Railo 3.1.2.001 final and MySQL.
cheers,
Scott.
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry