Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 03/09/2016
Components: CLI
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Win All
Vote Count: 1
Repro:
<cfset thisPath = expandPath(".")>
Error:
Jul 14, 2015 22:44:34 PM Error [main] - String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1954)
at coldfusion.util.Utils.expandPath(Utils.java:495)
at coldfusion.runtime.CFPage.ExpandPath(CFPage.java:4057)
at cfexpandPath2ecfm570097109.runPage(expandPath.cfm:2)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:250)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:73
6)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)
at coldfusion.tools.CLI.compileAndRun(CLI.java:310)
at coldfusion.tools.CLI.main(CLI.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at coldfusion.tools.CLIInvoker.main(CLIInvoker.java:142)
C:\src\CF12\cli>cf expandPath.cfm
Jul 14, 2015 22:44:52 PM Error [main] - String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1954)
at coldfusion.util.Utils.expandPath(Utils.java:495)
at coldfusion.runtime.CFPage.ExpandPath(CFPage.java:4057)
at cfexpandPath2ecfm570097109.runPage(expandPath.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:250)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:73
6)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)
at coldfusion.tools.CLI.compileAndRun(CLI.java:310)
at coldfusion.tools.CLI.main(CLI.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at coldfusion.tools.CLIInvoker.main(CLIInvoker.java:142)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126713
External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:
Attachments:
Comments: