Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-3083

Fault injection targets no longer work after SQOOP-2983

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      None

      Description

      Fault injection target fails due to:

      compile-fault-inject:
      [echo] Start weaving aspects in place
      [iajc] OraOopTestCase.java:157 [error] Syntax error on token "(", { expected
      [iajc] try (Statement stmt = conn.createStatement()) {
      [iajc]
      [iajc] OraOopTestCase.java:157 [error] Syntax error on token ")", ; expected
      [iajc] try (Statement stmt = conn.createStatement())

      { [iajc] [iajc] OraOopTestCase.java:161 [error] Syntax error, insert "}

      " to complete Block
      [iajc] }
      [iajc]
      [iajc] OraOopTestCase.java:161 [error] Syntax error, insert "Finally" to complete TryStatement
      [iajc] }
      [iajc]
      [iajc] OraOopTypesTest.java:56 [error] Syntax error on token "(", { expected
      [iajc] try (Statement stmt = conn.createStatement()) {
      [iajc]
      [iajc] OraOopTypesTest.java:56 [error] Syntax error on token ")", ; expected
      [iajc] try (Statement stmt = conn.createStatement()) {
      [iajc]
      [iajc] OraOopTypesTest.java:78 [error] Syntax error on token "(", { expected
      [iajc] try (Statement stmt = conn.createStatement()) {
      [iajc]
      [iajc] OraOopTypesTest.java:78 [error] Duplicate local variable stmt
      [iajc] try (Statement stmt = conn.createStatement()) {
      [iajc]
      [iajc] OraOopTypesTest.java:78 [error] Syntax error on token ")", ; expected
      [iajc] try (Statement stmt = conn.createStatement())

      { [iajc] [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "}

      " to complete Block
      [iajc] }
      [iajc]
      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "Finally" to complete TryStatement
      [iajc] }
      [iajc]
      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "}" to complete Block
      [iajc] }
      [iajc]
      [iajc] OraOopTypesTest.java:157 [error] Syntax error, insert "Finally" to complete BlockStatements
      [iajc] }
      [iajc]
      [iajc] OracleData.java:240 [error] Syntax error on token "(", { expected
      [iajc] try (Statement stmt = conn.createStatement()) {
      [iajc]
      [iajc] OracleData.java:240 [error] Syntax error on token ")", ; expected
      [iajc] try (Statement stmt = conn.createStatement())

      { [iajc] [iajc] OracleData.java:243 [error] Syntax error, insert "}

      " to complete Block
      [iajc] }
      [iajc]
      [iajc] OracleData.java:243 [error] Syntax error, insert "Finally" to complete BlockStatements
      [iajc] }
      [iajc]
      [iajc]
      [iajc] 17 errors

        Attachments

        1. SQOOP-3083.patch
          1 kB
          Anna Szonyi
        2. SQOOP-3083-2.patch
          1 kB
          Anna Szonyi

          Issue Links

            Activity

              People

              • Assignee:
                szonyi Anna Szonyi
                Reporter:
                szonyi Anna Szonyi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: