Status/Resolution/Reason: Closed/Withdrawn/UserError
Reporter/Name(from Bugbase): Stephen Paulson / Stephen Paulson (Stephen Paulson)
Created: 01/27/2015
Components: Language
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
We upgraded our java to 1.7.0_75 and while testing came across an error. We narrowed it down to a specific reReplace() call. Error is caused by amount of text being replaced. This call worked fine before the Java version change.
Run the following to reproduce. If you take away 1 character from the variable it will work.
<cfsavecontent variable="output">/*
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678
*/</cfsavecontent>
<cfset output = reReplace( output, "/\*(.|[\r\n])*?\*/", "", "all" )>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3928688
External Customer Info:
External Company:
External Customer Name: Stephen
External Customer Email:
External Test Config: My Hardware and Environment details:
System Information
Server Details
Server Product ColdFusion
Version 10,0,15,292620
Tomcat Version 7.0.54.0
Edition Standard
Serial Number XXXXXXXXXXXXXXXX
Operating System Windows Server 2008 R2
OS Version 6.1
Update Level /C:/ColdFusion10/cfusion/lib/updates/chf10000015.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.7.0_75
Java Vendor Oracle Corporation
Java Vendor URL http://java.oracle.com/
Java Home C:\Program Files\Java\jdk1.7.0_75\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name nova
User Home C:\Users\nova
User Dir C:\ColdFusion10\cfusion\bin
Java VM Specification Version 1.7
Java VM Specification Vendor Oracle Corporation
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 24.75-b04
Java VM Vendor Oracle Corporation
Java VM Name Java HotSpot(TM) 64-Bit Server VM
Java Specification Version 1.7
Java Specification Vendor Oracle Corporation
Java Specification Name Java Platform API Specification
Java Class Version 51.0
JVM Arguments
-server -XX:NewRatio=4 -XX:SurvivorRatio=8 -XX:+UseCompressedOops -Xss256k -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:CMSInitiatingOccupancyFraction=68 -XX:MaxPermSize=300m -XX:PermSize=300m -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random
Attachments:
Comments: