tracker issue : CF-3039173

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 78588:When using Mach-II 1

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Joel Cox / Joel Cox (jlcox)

Created: 07/07/2009

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: intermediate 6/29 / 241238

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Win All

Vote Count: 17

Problem:

When using Mach-II 1.8 framework, application bombs on this statement (in framework code):

<cfreturn CreateObject("java","java.math.BigInteger").init(arguments.value) />

where arguments.value is of type "any"

This works properly in Beta 2, does not in the June 29 intermediate build. Not sure about the JDK listed above, I reverted to Beta 2, but it was using whatever JDK is installed by default with the build.

I tried JavaCast-ing the argument to a variety of types (string, long, etc) without success.
Method:

<cffunction name="createBigInteger" access="private" returntype="any" output="false" > 
                <cfargument name="value" type="any" required="true" /> 
                <cfreturn CreateObject("java", "java.math.BigInteger").init(arguments.value) /> 
</cffunction>

<Cfdump var="#createBigInteger(gettickcount())#">
Result:

Unable to find a constructor for class java.math.BigInteger that accepts parameters of type ( java.lang.Double )

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3039173

External Customer Info:
External Company:  
External Customer Name: Joel Cox
External Customer Email: 17A0291744608F7A9920157F
External Test Config: 07/07/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23536 | November 10, 2011 06:56:45 PM GMT
Please ensure this bug is addressed by the CF9 stable release
Vote by External U.
23537 | November 10, 2011 06:56:46 PM GMT
This bug has been voted..
Vote by External U.
23538 | November 10, 2011 06:56:47 PM GMT
This bug has been voted..
Vote by External U.
23539 | November 10, 2011 06:56:48 PM GMT
This bug has been voted..
Vote by External U.
23540 | November 10, 2011 06:56:49 PM GMT
This bug has been voted..
Vote by External U.
23541 | November 10, 2011 06:56:50 PM GMT
This bug has been voted..
Vote by External U.
23542 | November 10, 2011 06:56:51 PM GMT
This bug has been voted..
Vote by External U.
23543 | November 10, 2011 06:56:52 PM GMT
This bug has been voted..
Vote by External U.
23544 | November 10, 2011 06:56:53 PM GMT
Not sure if it matters but this effects versions of Mach II back to 1.6.
Vote by External U.
23545 | November 10, 2011 06:56:54 PM GMT
This bug has been voted..
Vote by External U.
23546 | November 10, 2011 06:56:55 PM GMT
This bug has been voted..
Vote by External U.
23547 | November 10, 2011 06:56:56 PM GMT
Important for Mach-II compat; please consider fixing.
Vote by External U.
23548 | November 10, 2011 06:56:57 PM GMT
This bug has been voted..
Vote by External U.
23549 | November 10, 2011 06:56:57 PM GMT
This bug has been voted..
Vote by External U.
23550 | November 10, 2011 06:56:58 PM GMT
This bug has been voted..
Vote by External U.
23551 | November 10, 2011 06:56:59 PM GMT
This bug has been voted..
Vote by External U.
23552 | November 10, 2011 06:57:00 PM GMT