tracker issue : CF-3118680

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

Java error when trying to instantiate an object

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)

Created: 02/21/2012

Components: Language, Java Integration

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Windows 7

Vote Count: 0

Problem Description: When trying to instantiate WURFL there is an error thrown

Steps to Reproduce:

<cfset wurflObj = createObject("java","").init("./myJava/") />
<cfset wurflHolder = createObject("java","net.sourceforge.wurfl.core.CustomWURFLHolder").init(wurflObj) />

Actual Result:

Expected Result:

Any Workarounds:

The error message is

Object instantiation exception.

An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. Error: ''.

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

Watson Bug ID:	3118680

External Customer Info:
External Company:  
External Customer Name: ascott67
External Customer Email:  
External Test Config: My Hardware and Environment details:



Can we close this bug please... The problem is that the full path has to be passed into the first init and not the short hand version. In other words when I placed an ExpandPath around the pathname it works fine.
Comment by External U.
20719 | February 25, 2012 08:08:59 PM GMT