tracker issue : CF-3530539

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

ColdFusion 10 for Windows 8 / Server 2012

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

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

Created: 03/26/2013

Components: Language, Java Integration

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Win All

Vote Count: 0

Problem Description:

The following code works when it is on ColdFusion 8, 9 and ColdFusion 10 if it is running on anything but Windows 8 and Windows 2012.

Error message is No group with name <5>

This seems to be only when installing fresh onto Windows 8 and Windows Serve 2012, if the server is another server that is updated to Update 8 the below code will work. I have tried many variations of installation on Windows 8/2012 and nothing seems to work.

This is a critical issue for some and maybe a lot of users.

		var regex = "(?si)(<pre>[\t\r\n\s]*?\[code(\sbrush(\s)*?=(\s)*?""(.*?)"")*?(\s)*?\])(.*?)(\[/code\][\t\r\n\s]*?</pre>)";
		var pattern = createObject("java", "java.util.regex.Pattern");
		var matcher = pattern.compile(regex).matcher(builder.toString());
		var newContent = '';

		while(matcher.find()) {
			var matchedString = matcher.group();
			var brush = matcher.group(5);

			if(isNull(brush)) { brush = "js"; }

			savecontent variable="newContent" {
				writeOutput('<pre class="brush: #brush#">#matcher.group(7)#</pre>');
			}

			var rLocation 	= builder.indexOf( matchedString );
			var rLen 		= len( matchedString );
			builder.replace( rLocation, rLocation+rLen, newContent);
		}


Steps to Reproduce:

Actual Result:

Expected Result:

Any Workarounds:

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

Watson Bug ID:	3530539

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

Attachments:

Comments:

Seriously why is there no option to select the Windows 8 or Windows 2012 from the list of servers? Adobe really needs to pick up their game some here....
Comment by External U.
15901 | March 26, 2013 08:01:10 PM GMT
Please close this bug. The fix is to javacast on the matcher.group() this is not a ColdFusion problem.
Comment by External U.
15902 | March 27, 2013 12:07:15 AM GMT