× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2012-10-15T18:09:01Z  · last modified 2012-10-16T17:56:30Z

Unexpected error onToggle Statement Comment


Priority Low
Complexity Unknown
Component Editor
Version 12.0

Version: 12.0.0-rc-23-6
Build #: 29739
Build Date: 2012-Oct-15 09:42:17 AM

1. Open a Query Window to any db connection

2. Paste the following characters /*/*

3. Position the cursor at the end and.

4. Starting from the last character select all 4 characters

4. Go to Automate --> Toggle Statement Comment and you get below exception

Note:

1.) This occurs for older versions for ADS v11.0 till v8. Does not occur in v7

1.) If you do Ctrl+A to select all the characters, no error occurs

2.) If you start from the first character and select all 4 characters no error occurs

3.) Only when you start from the last character and select till the first does the Unexpected error occurs
 

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1937)
    at \\...\\ .\\हिñçêČάй語简�?한\\.Mꍇꊝꑿᢉ.bT(Unknown Source)
    at \\...\\ .\\हिñçêČάй語简�?한\\.Mꍇꊝꑿᢉ.bS(Unknown Source)
    at com.aquafold.datastudio.queryanalyzer.fꀌ⢘⢷ᚢ.eB(Unknown Source)
    at \\...\\ .\\हिñçêČάй語简�?한\\.fᢢ⡔ꌙꁿ.a(Unknown Source)
    at \\...\\ .\\हिñçêČάй語简�?한\\.E⡴ꇋ⠿⣺ enum.a(Unknown Source)
    at com.aquafold.datastudio.mainframe.ActionHandler.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

1 attachment

Issue #7795

Closed
Fixed
Resolved 2012-10-15T23:43:26Z
 
 
Completion
No due date
Fixed Build 12.0.0-rc-23-7
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017